OWLNext 6.32
Classes | Typedefs | Enumerations
Window management classes

Classes

struct  owl::TWindowAttr
class  owl::TWindow
class  owl::TXWindow
struct  TWindowsAttr

Typedefs

typedef void(* owl::TActionFunc )(TWindow *win, void *param)
typedef bool(* owl::TCondFunc )(TWindow *win, void *param)
typedef void(TWindow::* owl::TActionMemFunc )(TWindow *win, void *param)
typedef bool(TWindow::* owl::TCondMemFunc )(TWindow *win, void *param)

Enumerations

enum  owl::TWindowFlag {
  owl::wfAlias = 0x0001, owl::wfAutoCreate = 0x0002, owl::wfFromResource = 0x0004, owl::wfShrinkToClient = 0x0008, owl::wfMainWindow = 0x0010, owl::wfFullyCreated = 0x0020, owl::wfStreamTop = 0x0040, owl::wfPredefinedClass = 0x0080, owl::wfTransfer = 0x0100, owl::wfUnHidden = 0x0200,
  owl::wfUnDisabled = 0x0400, owl::wfDeleteOnClose = 0x0800, owl::wfPropagateIdle = 0x1000, owl::wfModalWindow = 0x2000, owl::wfDetached = 0x4000, owl::wfInsertAtEdge = 0x8000
}
enum  owl::TTransferDirection { owl::tdGetData, owl::tdSetData, owl::tdSizeData }
enum  owl::TEventStatus { owl::esPartial, owl::esComplete }

Special background color flags for EvEraseBkgnd processing

#define NoColor   TColor::None
#define NoErase   TColor::Transparent

Detailed Description

Derived from TEventHandler and TStreamableBase, TWindow is the parent class for all window classes. It represents the functionality common to all windows, whether they are dialog boxes, controls, multiple document interface (MDI) windows, or layout windows. One of the fundamental ObjectWindows classes that implements OLE functionality, TOleWindow, provides support for embedding objects in a compound document application.


Define Documentation

#define NoColor   TColor::None

let DefWindowProc erase

#define NoErase   TColor::Transparent

don't erase, wait for Paint


Typedef Documentation

typedef void(* owl::TActionFunc)(TWindow *win, void *param)

Defines the signature of the callback function passed to the ForEach method of TWindow.

typedef void(TWindow::* owl::TActionMemFunc)(TWindow *win, void *param)

Defines the signature of the callback function passed to the ForEach method of TWindow.

typedef bool(* owl::TCondFunc)(TWindow *win, void *param)

Defines the signature of the callback function used by the FirstThat function of TWindow.

typedef bool(TWindow::* owl::TCondMemFunc)(TWindow *win, void *param)

Defines the signature of the member function used by the FirstThat function of TWindow.


Enumeration Type Documentation

Mixin window event implementation return status.

Event status constants indicate the status of a mix-in window event implementation, for example, a keyboard event. The TEventStatus constants indicate whether or not additional handlers are needed.

Enumerator:
esPartial 

Additional handlers may be invoked.

esComplete 

No additional handlers are needed.

The TTransferDirection enum describes the constants that the transfer function uses to determine how to transfer data to and from the transfer buffer

Enumerator:
tdGetData 

Get data from the window into the buffer.

tdSetData 

Set data from the buffer into the window.

tdSizeData 

Return the size of data transferred by the class.

Define bit masks for the internally used flag attributes of TWindow.

Enumerator:
wfAlias 

TWindow is an alias to a preexisting HWND.

wfAutoCreate 

Create the HWND when our parent is created.

wfFromResource 

Handle comes from HWND created from resource.

wfShrinkToClient 

Shrink a frame window to its client's size.

wfMainWindow 

This frame window is the main window.

wfFullyCreated 

Window is fully created & not being destroyed.

wfStreamTop 

This window is the topmost one to stream.

wfPredefinedClass 

Window class used belongs to a predefined Windows class and was not defined by OWL.

wfTransfer 

Participates in the Transfer mechanism.

wfUnHidden 

Used temporarily when destroying MDI child.

wfUnDisabled 

Used temporarily when destroying MDI child.

wfDeleteOnClose 

Window is condemned on EvClose. Indicates that a modeless dialog's pointer is to be deleted when it receives a WM_CLOSE message, causing its class's destructor to be called immediately. Default behavior is to leave the dialog pointer alone. Setting this flag has no effect on modal dialogs. To set this flag for a modeless dialog object, add the following statement to the constructor of your TDialog-derived class:

<       SetFlag(wfDeleteOnClose);  
<
wfPropagateIdle 

Pass down IdleAction.

wfModalWindow 

Was created via TWindow::Execute.

wfDetached 

Window handle has been detached.

wfInsertAtEdge 

(Decoration) Window to be inserted against frame's edge