LibUIDK Documentation
ContentsIndexHome
PreviousUpNext
CSliderCtrlEx::Create Method
C++
virtual BOOL Create(DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID);

创建一个扩展Slider控件, 并把它attache到CSliderCtrlExl对象上.

Parameters 
Description 
DWORD dwStyle 
指定扩展Slider控件风格.可以指定为TBS_VERT和TBS_HORZ之一. 
const RECT& rect 
指定扩展Slider控件的位置和大小. 
CWnd* pParentWnd 
指定扩展Slider控件的父窗口, 不能为NULL. 
UINT nID 
指定扩展Slider控件的ID. 

如果创建成功, 返回非0值, 否则返回0.