|
|
|
|
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 |
|
Neville Franks
|
Aug 20, 2003 - 11:30 PM
|
Using CExtPopupMenuWnd::TrackPopupMenu( , &nResultCmdID ) in a DEBUG Build with dwTrackFlags = TPMX_DO_MESSAGE_LOOP | TPMX_NO_WM_COMMAND | TPMX_NO_CMD_UI; returns 0xcccccccc on nResultCmdID when you click away from the menu to close it. If you press Escape it returns 0. I assume nResultCmdID is not being initialized, nor set in the click to close scenario.
|
|
Technical Support
|
Aug 21, 2003 - 7:11 AM
|
Dear Neville,
We confirm this bug. It can be easily fixed by adding two lines of code below at the beginning of CExtPopupMenuWnd::TrackPopupMenu() :
if( lpnResultCmdID != NULL )
*lpnResultCmdID = 0;
|
|
Neville Franks
|
Oct 19, 2003 - 6:38 PM
|
I just checked V2.23 and this bug still exists. Of course I can work around it in my code, but it should be added to the library.
Thanks, Neville
|
|
Neville Franks
|
Oct 19, 2003 - 6:42 PM
|
Sorry my mistake. I was looking in the V2.22 source, not 2.23. I can’t see how to delete a forum post?
|
|
Technical Support
|
Oct 19, 2003 - 7:28 PM
|
It’s ok, but ... forum messages currently can not be deleted.
|
|