|
|
|
|
Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Luis Alberto Pereira
|
Jun 19, 2006 - 9:08 PM
|
Hi,
I’m using CExtTabPageContainerFlatWnd class:
In .h file:
CExtTabPageContainerFlatWnd pc; CExtGridWnd grd1, grd2;
In .cpp file:
if ( (! this->grd1.Create(this, CRect(0,0,0,0), UINT(444+0))) || (! this->grd2.Create(this, CRect(0,0,0,0), UINT(444+0))) || (! this->pc.PageInsert(this->grd1.m_hWnd, _T("Grid 1"), NULL, true, -1, true )) ) || (! this->pc.PageInsert(this->grd2.m_hWnd, _T("Grid 2"), NULL, true, -1, true )) ) { ASSERT( FALSE ); return -1; }
My question is:
After initialization, how can I get the pointer of grd variable menber of the selected page ?
Thanks,
Luis
|
|
Technical Support
|
Jun 20, 2006 - 8:01 AM
|
First, we would like to suggest you create your grids as children of CExtTabPageContainerFlatWnd . The grid variables are grd1, grd2 and we do not see any problems with accessing these variables from any part of the application because they are declared in the header class.
|
|