Silverfrost Logo About Us | Contact Us

User window - %uw[class_name]

%uw enables existing Windows code to be interfaced with ClearWin+. Given a registered Windows class (that will have its own Windows procedure), a window can be embedded in a format window by using %uw. %uw is followed by a standard character string giving the name of the class. It also takes the following arguments:

1) the INTEGER width of the child in pixels,

2) the INTEGER height of the child in pixels,

3) the Window style (This will be OR-ed with WS_CHILD. In general, no border or caption will be specified, as these will normally be applied to the main window e.g. using %ca.)

4) the extended window style (often zero),

5) an INTEGER to receive the handle for the resultant child window.



Copyright © 1999-2017 Silverfrost Limited