Silverfrost Logo About Us | Contact Us

%ca - Caption


To provide a caption for the window or property sheet.




Grave accent (`) - when used, the minimum width of the window is not limited by the width of the caption and part of the caption may be hidden.


caption is a standard character string (can be replaced by @).

In order to change the caption dynamically use the @ symbol and follow a change in the string variable by a call to window_update@. Alternatively use the API function SetWindowText together with %hw - Handle.

When used with %sh - Property Sheet in a property sheet, the caption can include an ampersand (&) to mark an accelerator key.

%mi can be used to set the associated icon.


winio@('%ca[Edit Window]')

See also

%sh - Property Sheet, %mi - Minimised Icon




Copyright © 1999-2019 Silverfrost Limited