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 Tech Support » Moving CExtTreeGridWnd into CExtSplitterWnd problems Collapse All
Subject Author Date
Alastair Watts Jul 2, 2010 - 7:27 AM

I had a CExtResizableDialog with a CExtTreeGridWnd derived control in it and all was well.


I then added a CFrameWnd & CExtSplitterWnd to the dialog and made CMyTreeGridWnd a child of it.


The splitters work great, but the CMyTreeGridWnd mouse click & drag selection no longer works and all the items is its context menu are now greyed out.


 


Any ideas?


 


 


 

Technical Support Jul 2, 2010 - 1:21 PM

The tree view common control handles mouse messages equally in any situation. This does not depend on the type of its parent window. If the mouse messages are not delivered, the tree control or its parent window is disabled. We need more information or some test project.
Prof-UIS menus are based on the MFC’s command updating mechanism. We think you should route the OnCmdMsg() virtual method invocations to all the classes containing menu command handling and updating methods.

Alastair Watts Jul 12, 2010 - 4:33 AM

I’ve a new CExtSplitterWnd problem where clicking outside of the dialog then on the dialog a few times crashes said dialog.  Replacing CExtSplitterWnd with CSplitterWnd fixes the problem.


 


Where do you want me to mail the project?


 

Technical Support Jul 12, 2010 - 6:21 AM

Please send your test project to the support mail box at prof-uis.com

Alastair Watts Jul 2, 2010 - 7:48 AM

I’ve sorted the context menus :)