MDI_SubClassDialog

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > UI (User Interface) > DIALOGS > MDI Dialogs >

MDI_SubClassDialog

 

Description

 

Substitute standard window callback with an internal MDI version.

Standard window callback will continue to work as expected but it will be wrapped by a thinBasic internal one specifically designed to handle MDI windows

 

Syntax

 

MDI_SubclassDialog(hwnd)

 

Returns

 

Parameters

 

Name

Type

Optional

Meaning

hwnd

Number

No

Handle of the MDI window (client or main)

 

Remarks

 

Call this function for every MDI window present in your script.

Better to call this function in response to %WM_INITDIALOG window message.

 

Restrictions

 

See also

 

Examples