Silverfrost Logo About Us | Contact Us
 

%nw - Change Window Properties

Purpose

To change certain properties of an existing window.

Syntax

winio@('%nw', handle)
integer handle (input)

Description

handle is the %hw output from a window that has already been created. If the handle is set to zero then %nw uses the currently active window.

%nw allows you to change the properties of an existing window. In particular you can use %nw to define or redefine %mn and %pm menus on the fly. This includes %em enhanced menus but not old enhanced menus (%`mn and %`pm).

Alternatively handle could be the handle of a particular control (%lc) in an existing window (by using winio@ in a %sc callback for example). %nw%pm will then provide a popup menu for the associated control.

See also

New enhanced menus.

 

 

 

Copyright © 1999-2017 Silverfrost Limited