How to set a cursor in a dialog?
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2014-04-24
12:28 AM
- last edited on
‎2023-08-01
03:59 PM
by
Doreena Deng
‎2014-04-24
12:28 AM
Hi
The documentation indicates that a custom form cursor can be set in the DG_MSG_MOUSEMOVE message. What is the mechanism to set a custom form cursor pls?
Thanks
Paul
The documentation indicates that a custom form cursor can be set in the DG_MSG_MOUSEMOVE message. What is the mechanism to set a custom form cursor pls?
Thanks
Paul
Labels:
- Labels:
-
Add-On (C++)
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2014-05-12 10:10 AM
‎2014-05-12
10:10 AM
Hi Paul,
Here is an example to show you how to set your custom cursor:
As far as I know this works not only in DG_MSG_MOUSEMOVE message.
Best Regards,
Tibor
Here is an example to show you how to set your custom cursor:
/* To your Fix.grc resource: */ 'GCSR' 32680 "Open hand cursor" { "HandBig" /* your picture name, so HandBig.bmp should be placed into the Images folder next to this Fix grc */ 9 10 /* the cursor position in the picture */ 0 128 128 } /* To your source code: */ UISetCursor (ACAPI_GetOwnResModule (), 32680); // DG.h should be included
As far as I know this works not only in DG_MSG_MOUSEMOVE message.
Best Regards,
Tibor
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2014-11-04 05:06 AM
‎2014-11-04
05:06 AM
Thanks Tibor - this works well. (Took me a long to to get around to implementing it).
Paul
Paul