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 » U++ Widgets - General questions or Mixed problems » FIX - SizeGrip executes first MenuEntry of MenuBar
Re: FIX - SizeGrip executes first MenuEntry of MenuBar [message #13751 is a reply to message #13750] Fri, 25 January 2008 22:51 Go to previous message
mirek is currently offline  mirek
Messages: 14261
Registered: November 2005
Ultimate Member
loki wrote on Fri, 25 January 2008 15:42

This should fix it under Windows. Can't test it under Linux.
p = q->GetMouseViewPos();



Thanks, indeed, good testcase, good hint at the problem!

Anyway, what if the TopWindow has some frame?

I have fixed it with:

	p = GetMousePos() - q->GetRect().TopLeft();


Mirek
 
Read Message icon3.gif
Read Message
Previous Topic: Look of MenuBar dependent on position of calls
Next Topic: How do I text overlay an image in a Upp::Button ?
Goto Forum:
  


Current Time: Sun Jun 08 03:57:21 CEST 2025

Total time taken to generate the page: 0.05154 seconds