9#if !defined(OWL_MDICHILD_H)
13#if defined(BI_HAS_PRAGMA_ONCE)
47 bool shrinkToClient =
false,
53 bool shrinkToClient =
false,
65 void Destroy(
int retVal = 0)
override;
TFrameWindow(TWindow *parent, LPCTSTR title=nullptr, TWindow *clientWnd=nullptr, bool shrinkToClient=false, TModule *module=nullptr)
Constructs a window object with the parent window supplied in parent, which is zero if this is the ma...
TMDIChild defines the basic behavior of all MDI child windows.
virtual TResult DefWindowProc(TMsgId, TParam1, TParam2)
Overrides TWindow::DefWindowProc to provide default processing for any incoming message the MDI child...
void Destroy(int retVal=0) override
Destroys the interface element associated with the TMDIChild.
auto ShowWindow(int cmdShow) -> bool override
Overrides TWindow's virtual function.
auto EnableWindow(bool enable) -> bool override
Overrides TWindow's virtual function.
TMDIChild(TMDIClient &parent, LPCTSTR title=0, TWindow *clientWnd=0, bool shrinkToClient=false, TModule *module=0)
Constructor for a TMDIChild.
auto PerformCreate() -> THandle override
Creates the interface element associated with the MDI child window.
void EvEnterIdle(uint source, HWND hWndDlg)
void EvMenuSelect(uint menuItemId, uint flags, HMENU hMenu)
bool EvNCActivate(bool active)
Responds to a request to change a title bar or icon.
auto PreProcessMsg(MSG &) -> bool override
Performs preprocessing of window messages for the MDI child window.
void EvMDIActivate(HWND hWndActivated, HWND hWndDeactivated)
Instructs a client window to activate or deactivate an MDI child window and then sends a message to t...
Multiple Document Interface (MDI) client windows (represented by a TMDIClient object) manage the MDI ...
ObjectWindows dynamic-link libraries (DLLs) construct an instance of TModule, which acts as an object...
TWindow, derived from TEventHandler and TStreamableBase, provides window-specific behavior and encaps...
HWND THandle
TWindow encapsulates an HWND.
Definition of class TFrameWindow.
#define DECLARE_STREAMABLE_OWL(cls, ver)
#define DECLARE_STREAMABLE_INLINES(cls)
Object Windows Library (OWLNext Core).
UINT TMsgId
Message ID type.
LPARAM TParam2
Second parameter type.
WPARAM TParam1
First parameter type.
LRESULT TResult
Result type.