Print Page | Close Window

Setting the cursor in Ribbon Gallery

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=14483
Printed Date: 02 July 2024 at 9:30pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Setting the cursor in Ribbon Gallery
Posted By: Bart6
Subject: Setting the cursor in Ribbon Gallery
Date 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



Replies:
Posted By: znakeeye
Date Posted: 11 June 2009 at 9:43am
Make sure you set the cursor inside OnSetCursor().

-------------
PokerMemento - http://www.pokermemento.com/



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net