HWND WinHandle
Definition Common.h:16
Component()
Constructs a new Component instance.
BOOL getCreateWindowOptions(wstring &title, UINT &widownStyles, wstring &wndClassName, BOOL &isCustomWndProc)
Retrieves window creation options such as title, styles, and class name.
BOOL setVisible(Component *parent)
Shows the dialog and attaches it to a parent window.
Dialog()
Constructs a new Dialog instance.
virtual BOOL okToClose()
Called to determine if the dialog can close.
void getSize(long &width, long &height)
Retrieves the current size of the dialog window.
GridPanel * getContentPane()
Gets a pointer to the content pane GridPanel.
long getExitCode()
Gets the current exit code of the dialog.
void setTitle(const wstring &title)
Sets the dialog's window title.
wstring getTitle()
Gets the current dialog title.
void onWindowMoved()
Called when the dialog window has been moved.
void setSize(long width, long height)
Sets the size of the dialog window.
virtual void windowClosed()
Called after the dialog has closed.
void setDialogNativeHandle(const wstring &source, WinHandle hDlg)
Sets the native handle of the dialog window.
virtual BOOL windowOpened()
Called after the dialog window has opened.
void setExitCode(long exitCode)
Sets the dialog's exit code without closing.
WinHandle getContentPaneNativeHandle()
Gets the native window handle of the content pane.
virtual BOOL windowOpening()
Called before the dialog window opens.
void windowCreated()
Called after the native window has been created.
void close(long exitCode)
Closes the dialog with a specific exit code.
virtual ~Dialog()
Destructor.
A panel that arranges child components in a grid layout.
Definition GridPanel.h:39