class XGWindowFactory

Declared in <XWindow.h>

Window factory class. This is used for creating a window.


Window Events (internal)

XGWindowFactory::CreateFromData
XGWindowFactory::CreateFromResource
XGWindowFactory::Register


Window Events (internal)

XGWindowFactory::CreateFromData

Usage: XGWindow*XGWindowFactory::CreateFromData(const unsigned char*data,XGDocument*doc,XGForm*form)

Given the data, this scans and creates the window. Note that I use the same header information for the window as the view (the XGSViewHeader record), even though this is a separate collection of routines.

XGWindowFactory::CreateFromResource

Usage: XGWindow*XGWindowFactory::CreateFromResource(short resID,XGDocument*doc,XGForm*form)

This creates the specified view from the resource identifier provided.

XGWindowFactory::Register

Usage: void XGWindowFactory::Register(long id,XGWConstructorProc*proc)

register with me the construction proc