Defining location of child window menusΒΆ

!compat childmenu

Define location of child window menus


SYNTAX

!compat childmenu = 4

In a program compiled with version 5.5 or later of the program compiler scc, a menu defined in a child window with the style flag WS_OWNED appears in the child window. Previously it appeared in the parent. If an existing program relies on the old behaviour, it is recommended that the menu be moved to the parent window before the program is compiled. If this is inconvenient, the declaration !compat childmenu = 4 is available to force the old behaviour.

If required, the line should be uncommented or added to the local include file $SCULPTOR/include/local.h.


RELATED TOPICS

Menus

Hierarchy of windows

Window style