virtual BOOL Create( CWnd* pParentWnd, LPCTSTR lpszTemplateName, UINT nStyle, UINT nID ); virtual BOOL Create( CWnd* pParentWnd, UINT nIDTemplate, UINT nStyle, UINT nID );nStyle The alignment style of the dialog bar. The following styles are supported:CBRS_TOP Control bar is at the top of the frame window. 放上CBRS_BOTTOM Control bar is at the bottom of the frame window.放下CBRS_NOALIGN Control bar is not repositioned when the parent is resized.CBRS_LEFT Control bar is at the left of the frame window.左CBRS_RIGHT Control bar is at the right of the frame window.右
CWnd* pParentWnd,
LPCTSTR lpszTemplateName,
UINT nStyle,
UINT nID
);
virtual BOOL Create(
CWnd* pParentWnd,
UINT nIDTemplate,
UINT nStyle,
UINT nID
);nStyle
The alignment style of the dialog bar. The following styles are supported:CBRS_TOP Control bar is at the top of the frame window. 放上CBRS_BOTTOM Control bar is at the bottom of the frame window.放下CBRS_NOALIGN Control bar is not repositioned when the parent is resized.CBRS_LEFT Control bar is at the left of the frame window.左CBRS_RIGHT Control bar is at the right of the frame window.右