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 » bad content of Window menu Collapse All
Subject Author Date
Pierre MEDART Jan 14, 2008 - 2:49 AM

We are using a tabbedmdi with the 2.70 version.

The behaviour is :

Open file 1
Open file 2

Close file 2
Open file 3

the content of the drop-down on the tabbedmdi is file 1 , file 3

the content of the window menu is file 1, file 2.

Any clue?

Pierre MEDART Jan 16, 2008 - 2:54 AM

There is certainly something wrong on our side.

Is there a way to get the list that the tabmdi keeps so that I can update the Window menu with it by treating the CExtPopupMenuWnd::g_nMsgPrepareMenu ?

Technical Support Jan 14, 2008 - 11:52 AM

We tried to reproduce this problem with the DRAWCLI sample but failed. We created three different drawing documents on the disk. We opened/closed them as you suggested, through File | Open menu but both menus in the menu bar and MDI tab control finally displayed the correct document list with first and third file names. We also opened documents by using MRU menu items in the File menu and got the same correct result. We guess this problem is specific for your project only. Please compare the MDI document menu implementation in your project with the same in the DRAWCLI sample.