= OWNERDRAW =
== Syntax == :ctl[n]: OWNERDRAW(Class Specific Properties), Other Properties == Description == :This user control is a simple rectangle you can colorize. Since it is actionable, you can use it as a simple pushbutton. One possible usage is the definition of an image map consisting of a dialog background image and several OWNERDRAW user controls. == Other Properties == :Color ::Defines the background color of the user control. (default = transparent) == Example == <code> ctl[0]: OWNERDRAW, Color=Red, Size=(50,50) ctl[1]: OWNERDRAW, Action=APPLY ctl[2]: OWNERDRAW, Disabled, Val=5 </code> == Notes == :If you wish to use an owner-drawn user control as a settings control (where you can change the user control's value), you have to disable it. == Comments == :See the Control drawing functions for a list of all functions you can use to draw to an OWNERDRAW control. |