|
-
Mar 28th, 2025, 05:35 AM
#11
Re: CommonControls (Replacement of the MS common controls)
 Originally Posted by Chris_G33
Problem with mouse pointer hand with labelw:
When the user has increased the cursor size in the windows settings e.g. set to 3, and I set the mouse pointer for a labelw to 4 - Hand, then the mouse pointer is pixeld:
Attachment 194463
(Irfan View could not capture the correct cursor (arrows instead), so I took a picture)
With other controls the hand is shown correcty.
What's the problem here? how can I fix that?
Thank you
The LabelW is a windowless control and is dependent on the MousePointer VB6 basis. There is no hand cursor, that's why it uses LoadCursor and MouseIcon when set to 4 - Hand.
Unfortunately this get's scaled blurry. I don't know how to fix. Probably overkill solution would be to intercept WM_SETCURSOR on IOleInPlaceObjectWindowless::OnWindowMessage.
As a workaround you could use the WindowedLabel control where WM_SETCURSOR is handled properly and 4 - Hand will show as expected.
Last edited by Krool; Mar 28th, 2025 at 07:12 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|