template <class wnd_t, class vp_t>
BOOL SECEditCtrlWrapper_T<wnd_t, vp_t>::Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext)
Creates the window and viewport.
Defined in: SECEditScrollBarWrapper_T.h
Return Value
Nonzero if successful; otherwise 0.
Parameters
lpszClassName
Points to a null-terminated character string that names the Windows class (a WNDCLASS structure). The class name can be any name registered with the global AfxRegisterWndClass function or any of the predefined control-class names. If NULL, uses the default CWnd attributes.
lpszWindowName
Points to a null-terminated character string that contains the window name.
dwStyle
Specifies the window style attributes. WS_POPUP cannot be used.
rect
The size and position of the window, in client coordinates of pParentWnd.
pParentWnd
The parent window.
nID
The ID of the child window.
pContext
The create context of the window.
See Also
wnd_t
A CWnd-derived class.
vp_t
A SECEditViewport-derived class.