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 » Problems with CursorImage/Popups/Frames on X11
Problems with CursorImage/Popups/Frames on X11 [message #12963] Fri, 30 November 2007 17:09 Go to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
To cut a long story short, because of some missing windowing events in X11 (notable the equivalent of WM_EXITSIZEMOVE) I've ended up in a position where the only solution to a problem is to imitate a window using a popup. How they expect you to be able to implement anything clever in X11 with such an inadequate messaging system I have no idea Mad

This means I have to implement moving/resizing of the popup, which works fine. What doesn't work is setting the cursor icons. The SizeVert/SizeHorz icons appear when you mouse over the frames at first, but after you move/resize the window the popup seems to stop recieving MOUSEMOVE events to FrameMouseEvent. Additionally, while the popup has mouse capture my CursorImage overload is returning the correct image, but the cursor remains as an arrow.

I've also tried to use OverrideCursor with no effect.

Everything works correctly when the Ctrl is not a popup, so it must be something to do with this.

I've attached my test project and I'd really appreciate it if you'd have a look as I've completely run out of ideas. Sorry to give such a complex test case.

Edit: Click 'OK' on the first window to open the popup.

Cheers,
James

[Updated on: Fri, 30 November 2007 17:18]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Painting below your window, not bleeding into your window...
Next Topic: Toolbox inside a TopWindow
Goto Forum:
  


Current Time: Wed Jun 04 15:16:41 CEST 2025

Total time taken to generate the page: 1.21993 seconds