Setting the cursor in Ribbon Gallery |
Post Reply |
Author | |
Bart6
Groupie Joined: 22 March 2009 Location: Belgium Status: Offline Points: 20 |
Post Options
Thanks(0)
Posted: 09 June 2009 at 11:24am |
Hi all,
I have modified the Ribbon sample application to change the cursor to IDC_CROSS when the user picks a shape in the ShapeGallery. (Similar behaviour as in PowerPoint).
The cursor indeed changes to IDC_CROSS, but goes back to the normal arrow if a move the mouse.
Question: how to i prevent the cursor from changing after a have set it in the OnGalleryShapes?
Thanks
Bart
|
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
Make sure you set the cursor inside OnSetCursor().
|
|
PokerMemento - http://www.pokermemento.com/
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |