PackageDescription: Epigent Application Window Styles


Epigent Application Window Styles

Last published: January 26, 2007 by 'runar'

Defines 0 Classes
Extends 3 Classes


Adds support for setting special application windows styles. This includes for example the window's transparency, its icons and allowed operations. By default, VisualWorks supports only basic setting for controlling the look and feel of the application's windows.

The new window operations are found in Smalltalk.Graphics.Window. The actual implementation for changing the style is OS specific and is therefore delegated to subclasses of Smalltalk.OS.OSSystemSupport. See this class for the methods that needs be overridden to support the operations on various platforms.

Currently, only Windows is supported. Unsupported platforms will simply ignore the requests to change the style.

View comments on methods extended on Smalltalk.Graphics.Window for examples of use.

To change the style, the "SetWindowLong Function" is used on Windows platform: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/windowclasses/windowclassreference/windowclassfunctions/setwindowlong.asp

Parts of this package are based on the work in the TransparentWindows package found in the Cincom Public Store Database.

Note that this package cannot be loaded together with package TransparentWindows.



Released under the curl license:

COPYRIGHT AND PERMISSION NOTICE

Copyright (c) 2005, Runar Jordahl http://www.epigent.com/

All rights reserved.

Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Except as contained in this notice, the name of a copyright holder shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization of the copyright holder.