neoWidgets
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Pages
Public Member Functions | List of all members
neo::ControlParam Class Reference

Holds optional control parameters. More...

#include <Control.h>

Public Member Functions

ControlParamAddStyle (DWORD style)
 
ControlParamComboBox_DropDown ()
 
ControlParamComboBox_DropDownList ()
 
ControlParamExStyle (DWORD exStyle)
 
DWORD GetExStyleOrDefault (DWORD defStyle) const
 
DWORD GetIdOrDefault () const
 
DWORD GetStyleOrDefault (DWORD defStyle) const
 
NEO_WINDOW_MODE GetWindowModeOrDefault () const
 
ControlParamId (int id)
 
ControlParamListCtrl_Icon ()
 
ControlParamListCtrl_List ()
 
ControlParamListCtrl_Report ()
 
ControlParamListCtrl_SmallIcon ()
 
ControlParamScrollBar_Horizontal ()
 
ControlParamScrollBar_Vertical ()
 
ControlParamStaticCtrl_HCenter ()
 
ControlParamStaticCtrl_Left ()
 
ControlParamStaticCtrl_Right ()
 
ControlParamStaticCtrl_VCenter ()
 
ControlParamStyle (DWORD style)
 
ControlParamTextBox_MultiLine ()
 
ControlParamWindowMode (NEO_WINDOW_MODE mode)
 

Detailed Description

Holds optional control parameters.

Member Function Documentation

ControlParam & neo::ControlParam::ExStyle ( DWORD  exStyle)
inline
Note
Most controls do not support any extended style.
ControlParam & neo::ControlParam::Id ( int  id)
inline

Sets the control id. Since we can bind message handlers directly to control, this is seldomly used.

ControlParam & neo::ControlParam::Style ( DWORD  style)
inline

Set the style for the control.

Note
Controls created from this parameter instance will always have WS_CHILD and WS_VISIBLE, so there is no need to specify those.

The documentation for this class was generated from the following files: