Professional UI Solutions
Site Map   /  Register
 
 

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.

Forums » Prof-UIS General Discussion » Simple MDI Grid Collapse All
Subject Author Date
Yusuf Abdulkadir Jul 17, 2006 - 8:06 AM

Hello,
Thank you for your outstanding and timely support.

I want to create an MDI application with no doc/view that supports tabbed view windows. So, I looked into the SimpleGrids sample as guidance. I fired visual studio wizard and created an MDI application with no doc/view architecture. I left the default code intact and created a second view and child frame. My child frame is just simple and straight-forward where as my child view is the same child view used in the SimpleGrids sample code.

On my new child view create() methods, it assets in

CExtTabPageContainerWnd::WindowProc...
...
if( m_pWndTab == NULL )
m_pWndTab = OnTabWndGetTabImpl();
ASSERT_VALID(m_pWndTab);

Upon close examination, it seems the tab window have non-valid pointer even though was never created. Did I forget to initialize or set something before using the child view window in a child frame?

Thank you again for your support.

Technical Support Jul 17, 2006 - 11:46 AM

Unfortunately there is not enough information in your message to understand why the pointer to the tab control inside tab page container window is not valid. At least we need to take a look at the content of the Call Stack window. Of course, if you send a project that shows the problem, that would allow us to help you more efficiently.