- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Running a Qickwin Application: My goal is to have a message displayed in the status bar just in the moment when passing the cursor over a certain dialog box control.
I succeeded in so far as by comparing the windows handle and the dialog box handle in a modeless dialog shows me when I move into the dialog box, but there is no handle for control items itself. The Routine GetunitQQ seams not to work.
I would be very pleased if someone could help me.
I succeeded in so far as by comparing the windows handle and the dialog box handle in a modeless dialog shows me when I move into the dialog box, but there is no handle for control items itself. The Routine GetunitQQ seams not to work.
I would be very pleased if someone could help me.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Btw, how did you manage to get a callback function called when the mouse is over the dialog? IMO it can be achieved only by fully handling the modeless dialog with Win32 and intercepting WM_MOUSEMOVE (i.e. not using DFLOGM) -- I may be wrong, but I think that callback registered with RegisterMouseEvent isn't called when the mouse is over the dialog and the dialog has focus?
Anyway, take a look at Win32 APIs
GetDlgItem (control ID -> handle conversion)
GetDlgCtrlID (control handle -> ID conversion)
ChildWindowFromPoint (returns handle of child window under given coordinates)
Jugoslav
Anyway, take a look at Win32 APIs
GetDlgItem (control ID -> handle conversion)
GetDlgCtrlID (control handle -> ID conversion)
ChildWindowFromPoint (returns handle of child window under given coordinates)
Jugoslav
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page