MDI_SetExtendedStyles

<< Click to Display Table of Contents >>

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

MDI_SetExtendedStyles

 

Description

 

Change the extended window style adding the following options: %WS_EX_MDICHILD | %WS_EX_CONTROLPARENT

 

Syntax

 

PrevEWS = MDI_SetExtendedStyle(hwnd)

 

Returns

 

Number: the previous window extended style

 

Parameters

 

Name

Type

Optional

Meaning

hwnd

Number

No

Handle of the MDI child window

 

Remarks

 

This function can be used in case an MDI client dialog has been created without the appropriate extended styles needed for MDI client windows.

This function is not necessary if MDI child window has already been created with the following EX styles:

 

%WS_EX_MDICHILD

Creates a multiple-document interface (MDI) child window.

 

%WS_EX_CONTROLPARENT

The window itself contains child windows that should take part in dialog box navigation. If this style is specified, the dialog manager recurses into children of this window when performing navigation operations such as handling the TAB key, an arrow key, or a keyboard mnemonic.

 

Restrictions

 

See also

 

Examples