Partager via


Generic Control Statements (Compact 2013)

3/28/2014

The generic control resource-definition statements create a generic control that is specified by a class parameter.

CONTROL controlText, id, className, style

Parameters

  • controlText
    Specifies the window text for the control.
  • id
    Specifies the control identifier.
  • className
    Specifies the name of the class. This may be either a string enclosed in double quotation marks (") or one of the following predefined system classes: BUTTON, STATIC, EDIT, LISTBOX, SCROLLBAR, or COMBOBOX.
  • style
    Specifies the window styles. Explicit WS_*, BS_*, SS_*, ES_*, LBS_*, SBS_*, and CBS_* style values defined in Winuser.h can be used by adding an include to the .rc file, as follows.

    #include "Winuser.h"
    

See Also

Reference

Resource-Definition Statements