ALP Helper properties - Set/reset window styles
ALPFrame supplies a few helpful properties for managing window styles. These properties allow you to modify the styles without using bit field logical operations in the script.

Syntax and description

external.setWndStyleFlags - write only, long integer. Sets/adds the flags passed to the window style of the ALPFrame window. Example:
external.setWndStyleFlags = WS_CAPTION;
sets the WS_CAPTION flag without deleting the other style flags of the window.

external.resetWndStyleFlags - write only. long integer. Removes/resets the passed flags from the window style of the ALPFrame window. Example:
external.setWndStyleFlags = WS_CAPTION;
Hodes the window caption without changing the other styles.

external.setWndStyleExFlags - write only, long integer. Sets/adds the flags passed to the extended window style of the ALPFrame window

external.resetWndStyleExFlags - write only. long integer. Removes/resets the passed flags from the extended window style of the ALPFrame window.

It is recommended to use these properties for window style control. Using the wndStyle or wndStyleEx properties you will need to read the style first and do logical operations in the script before setting the new style.

See wndStyle and wndStyleEx properties description for the list of available style flags.

Applies to: external

newObjects Copyright 2001-2006 newObjects [ ]