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

ControlParam & AddStyle (DWORD style)
 
ControlParam & ComboBox_DropDown ()
 
ControlParam & ComboBox_DropDownList ()
 
ControlParam & ExStyle (DWORD exStyle)
 
DWORD GetExStyleOrDefault (DWORD defStyle) const
 
DWORD GetIdOrDefault () const
 
DWORD GetStyleOrDefault (DWORD defStyle) const
 
NEO_WINDOW_MODE GetWindowModeOrDefault () const
 
ControlParam & Id (int id)
 
ControlParam & ListCtrl_Icon ()
 
ControlParam & ListCtrl_List ()
 
ControlParam & ListCtrl_Report ()
 
ControlParam & ListCtrl_SmallIcon ()
 
ControlParam & ScrollBar_Horizontal ()
 
ControlParam & ScrollBar_Vertical ()
 
ControlParam & StaticCtrl_HCenter ()
 
ControlParam & StaticCtrl_Left ()
 
ControlParam & StaticCtrl_Right ()
 
ControlParam & StaticCtrl_VCenter ()
 
ControlParam & Style (DWORD style)
 
ControlParam & TextBox_MultiLine ()
 
ControlParam & WindowMode (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: