<< Return to Main Index

< Return to Class Index

CGXGridHandleWnd::CreateGrid

BOOL CreateGrid(DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID);

dwStyle

Specifies the window style attributes.

rect

The size and position of the window, in client coordinates of pParentWnd.

pParentWnd

The parent window.

nID

The ID of the child window.

Return Value

Nonzero if successful; otherwise 0.

Remarks

Creates a Windows child window and attaches it to the CGXGridWnd object.

Note: You need to call Initialize to properly initialize the grid.

See Also

CGXGridHandleWnd::CGXGridHandleWnd CGXGridHandleWnd::Initialize

CGXGridHandleWnd

Class Overview | Class Members