Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » TopWindow&PopUp, TrayIcon » Wrong LeftUp Message send
Wrong LeftUp Message send [message #15958] Mon, 19 May 2008 22:23 Go to next message
loki is currently offline  loki
Messages: 36
Registered: October 2007
Member
Hello,

when doubleclicking the titlebar to maximize the topwindow, the click message is send into the maximized window.

System: 2008.1 beta Win32 XP SP2

greetings
loki

[Updated on: Mon, 19 May 2008 22:26]

Report message to a moderator

Re: Wrong LeftUp Message send [message #16181 is a reply to message #15958] Fri, 30 May 2008 22:57 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Damned windows, they simply send that mouse-up message....

Well, this seems to fix the problem:

CtrlCore/Win32Proc.cpp 206:
	case WM_NCLBUTTONDOWN:
	case WM_NCRBUTTONDOWN:
	case WM_NCMBUTTONDOWN:
		ClickActivateWnd();
		IgnoreMouseUp(); // <<< this is new
		break;


(the question is what problems it can cause Smile

Mirek
Re: Wrong LeftUp Message send [message #16194 is a reply to message #16181] Sun, 01 June 2008 17:12 Go to previous messageGo to next message
loki is currently offline  loki
Messages: 36
Registered: October 2007
Member
Thanks.

Quote:

(the question is what problems it can cause Smile

Working with a not finished program results in losing data because I had not implemented some "Want you save first" prompt to the command which was executed by the LEFTUP message. Rolling Eyes .
Re: Wrong LeftUp Message send [message #16217 is a reply to message #16194] Mon, 02 June 2008 22:24 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
I meant what other problems the FIX can cause Smile

I really do agree that the problem is real and must be fixed...

Mirek
Previous Topic: Cannot get modal owned window
Next Topic: How to do something when window is shown
Goto Forum:
  


Current Time: Mon Apr 22 08:06:19 CEST 2024

Total time taken to generate the page: 0.84619 seconds