Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Setting the cursor in Ribbon Gallery
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Setting the cursor in Ribbon Gallery

 Post Reply Post Reply
Author
Message
Bart6 View Drop Down
Groupie
Groupie
Avatar

Joined: 22 March 2009
Location: Belgium
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bart6 Quote  Post ReplyReply Direct Link To This Post Topic: Setting the cursor in Ribbon Gallery
    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
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 11 June 2009 at 9:43am
Make sure you set the cursor inside OnSetCursor().
PokerMemento - http://www.pokermemento.com/
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.