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 » OnLButtonUp() sent to app when Menu selection made Collapse All
Subject Author Date
Neville Franks Dec 11, 2006 - 1:55 AM

When I select a menu item and then release the left mouse button I’m getting an OnLButtonUp() sent to the window which is under the mouse cursor. It happens on the main menu as well as popup context menus. This is causing me problems as the underlying window is a tree control and the selection is changing.

I’ve checked a previous build of my app which used Prof-UIS 2.50 and this problem didn’t exist. I’m now using Prof-UIS V2.62

Here is a stack trace:

CSGTreeCtrl::OnLButtonUp(unsigned int 0x00000000, CPoint {x=0x000000ad y=0x000000a6}) line 2491
CWnd::OnWndMsg(unsigned int 0x00000202, unsigned int 0x00000000, long 0x00a600ad, long * 0x00ddf5d0) line 1964
CWnd::WindowProc(unsigned int 0x00000202, unsigned int 0x00000000, long 0x00a600ad) line 1585 + 30 bytes
AfxCallWndProc(CWnd * 0x07cfcb8c {CSGTreeCtrl hWnd=???}, HWND__ * 0x001407dc, unsigned int 0x00000202, unsigned int 0x00000000, long 0x00a600ad) line 215 + 26 bytes
AfxWndProc(HWND__ * 0x001407dc, unsigned int 0x00000202, unsigned int 0x00000000, long 0x00a600ad) line 368
AfxWndProcBase(HWND__ * 0x001407dc, unsigned int 0x00000202, unsigned int 0x00000000, long 0x00a600ad) line 220 + 21 bytes
USER32! 77d48734()
USER32! 77d48816()
USER32! 77d489cd()
USER32! 77d48a10()
USER32! 77d5e097()
USER32! 77d6c6ab()
CWnd::IsDialogMessageA(tagMSG * 0x0080fb38 {msg=0x00000202 wp=0x00000000 lp=0x00a600ad}) line 182
CWnd::PreTranslateInput(tagMSG * 0x0080fb38 {msg=0x00000202 wp=0x00000000 lp=0x00a600ad}) line 3424
CDialog::PreTranslateMessage(tagMSG * 0x0080fb38 {msg=0x00000202 wp=0x00000000 lp=0x00a600ad}) line 92
CExtWS<CExtResDlg,301>::PreTranslateMessage(tagMSG * 0x0080fb38 {msg=0x00000202 wp=0x00000000 lp=0x00a600ad}) line 712
CExtResizableDialog::PreTranslateMessage(tagMSG * 0x0080fb38 {msg=0x00000202 wp=0x00000000 lp=0x00a600ad}) line 191
CWnd::WalkPreTranslateTree(HWND__ * 0x00200568, tagMSG * 0x0080fb38 {msg=0x00000202 wp=0x00000000 lp=0x00a600ad}) line 2667 + 18 bytes
CWinThread::PreTranslateMessage(tagMSG * 0x0080fb38 {msg=0x00000202 wp=0x00000000 lp=0x00a600ad}) line 672 + 18 bytes
CFMNApp::PreTranslateMessage(tagMSG * 0x0080fb38 {msg=0x00000202 wp=0x00000000 lp=0x00a600ad}) line 1231 + 12 bytes
CWinThread::PumpMessage() line 848 + 30 bytes
CExtPopupMenuWnd::PassMsgLoop(unsigned char 0x00) line 9047 + 21 bytes
CExtPopupMenuSite::_Done() line 892 + 11 bytes
CExtPopupMenuSite::DoneInstance() line 838
CExtPopupMenuWnd::_EndSequence(unsigned int 0x000000ee, HWND__ * 0x00200568) line 13032
CExtPopupMenuWnd::_EndSequenceEx(CExtPopupMenuWnd::MENUITEMDATA & {...}) line 12889 + 34 bytes
CExtPopupMenuWnd::_OnMouseClick(unsigned int 0x00000202, CPoint {x=0x00000032 y=0x00000121}, unsigned char & 0x00) line 12801
CExtPopupMenuSite::_HookMouseProc(int 0x00000000, unsigned int 0x00000202, long 0x00ddfdfc) line 1099 + 32 bytes
USER32! 77d618f4()
USER32! 77d4ea9e()
USER32! 77d61699()
NTDLL! 7c90eae3()
CWinThread::PumpMessage() line 821 + 19 bytes
CWinThread::Run() line 487 + 11 bytes
CWinApp::Run() line 400
AfxWinMain(HINSTANCE__ * 0x00400000, HINSTANCE__ * 0x00000000, char * 0x00061f00, int 0x00000001) line 72 + 13 bytes
WinMain(HINSTANCE__ * 0x00400000, HINSTANCE__ * 0x00000000, char * 0x00061f00, int 0x00000001) line 30
WinMainCRTStartup() line 330 + 54 bytes
KERNEL32! 7c8

-------

How can I stop these OnLButtonUp() calls?

Neville, http://www.surfulater.com

Neville Franks Dec 11, 2006 - 1:23 PM

Thanks, that fixed it.

Suhai Gyorgy Dec 11, 2006 - 3:46 AM

Read the similar thread from Krzysztof Janik dated Dec 8, 2006 - 4:19 AM (just little below this thread). Support’s answer will resolve the problem.