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 » Popup menu bug Collapse All
Subject Author Date
Catalin Hatmanu Aug 15, 2002 - 2:47 PM

In the SDIDOCView sample that came with 2.15 version, I added a new toolbar with a class derived from CListCtrl. In the right click handler of this function I created an CExtPopupMenuWnd popup menu.When the parent toolbar is docked the application crashed. In undocked state the menu is displayed correctly.
I use VS6.0 SP5 on XP Pro.

Thank you!
Catalin

P.S. Let me know if I can help you to reproduce the bug!

Sergiy Lavrynenko Aug 16, 2002 - 10:59 AM

Hi Catalin Hatmanu
If I understood your problem properly - you have inserted the CListCtrl window into the CExtToolControlBar window. It is very interesting to take a look at your project. I have never tried to do the same. Please drop me a mail with your project so that I can help you.

Merlin Aug 16, 2002 - 11:39 AM

Ironically I have this same problem, except I put a child dialog in the control bar. I think the problem occurs because right clicking in a docked state is supposed to bring up the docking menu. Since we are trying to display our own menu, it causes some sort of conflict? Maybe I’m off base, let me know if this bug ever gets fixed, I need those menues ˆ_ˆ

Sergiy Lavrynenko Aug 16, 2002 - 11:48 AM

Hi Melin,

Thank you for your comment.
Anyway it makes me check to how the code for the popup menu works again.

Best regards, Sergiy Lavrynenko.