Description |
Parent class: XFrameWindow
XScrollWindow |
XResource * theResourceID | a XResource contains two informations, an ID and a pointer to a XResourceLibrary. If you want to create a window out of a resourcefile you must specify the ID (otherwise it can be zero) and the XResourceLibrary which contains the window-resource. The window which is created always belongs to the process who owns the resource library, so if you work with multiple processes every process must have its own resource library. | ||||||||||||||||||||||||||||||||||||||||||
char * theTitle | The title of the window which is displayed in the titlebar | ||||||||||||||||||||||||||||||||||||||||||
ULONG theStyleofWindow | You can specify the style of the window with the following defines,
which can be or-ed:
there are three static member-variables for default styles
Default is defaultStyle. | ||||||||||||||||||||||||||||||||||||||||||
XRect * theRectangle | On default a window is created with length and hight of zero. Windows
which are created with an resource template get the size of the template.
Default is NULL. If theRectangle is specified, the window gets the size of it. | ||||||||||||||||||||||||||||||||||||||||||
XFrameWindow * parent | If parent is specified the window is a client of the parent. The
behavior depends on the styles you have set. Default is NULL. | ||||||||||||||||||||||||||||||||||||||||||
BOOL buildFromResource | If this variable is set OOL try to build the window with a resource
template which is identified by theResourceID. If the template is
not found, an error ocurses. Default is FALSE. | ||||||||||||||||||||||||||||||||||||||||||
BOOL animate | Enable/disable animation on window creation. Default is FALSE |
Constructs a frame-window which does scrolling automaticaly. Note that destructors of windows are called automaticaly when a window is closed! (see ~XFrameWindow)
HScroll |
LONG s how much pixels to scroll
This function is called when the window-contents must be scrolled horizontal. On default scrolling is done automaticaly
SetVirtualX |
LONG x virtual x-size
Set the virtual x-size of the window
SetVirtualY |
LONG y virtual y-size
Set the virtual y-size of the window
VScroll |
LONG s how much pixels to scroll
This function is called when the window-contents must be scrolled vertcal. On default scrolling is done automaticaly
AddHorzScroller |
Display a horizontal scroller
AddVertScroller |
Display a vertical scroller
DeleteHorzScroller |
Removes the horizontal scroller
DeleteVertScroller |
Removes the vertical scroller