Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Skin Framework
  New Posts New Posts RSS Feed - How to change mouse pointer's icon and skin ?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to change mouse pointer's icon and skin ?

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

Joined: 07 March 2008
Location: Vietnam
Status: Offline
Points: 36
Post Options Post Options   Thanks (0) Thanks(0)   Quote compvis Quote  Post ReplyReply Direct Link To This Post Topic: How to change mouse pointer's icon and skin ?
    Posted: 10 May 2008 at 10:19pm
Hello everyone !
 
I use Visual C++ 2005 and Xtreme Toolkit Wizard to create project (dialog based). Now i want to change  mouse pointer's icon and skin. I use LoadCursor and SetCursor but nothing changed.
 
Pls help me !
 
Thanks
I love ToolkitPro, Suite Pro ! Thanks Codejock !
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 11 May 2008 at 1:44am
Hi,
Catch WM_SETCURSOR and call SetCuror in this handler.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
compvis View Drop Down
Groupie
Groupie
Avatar

Joined: 07 March 2008
Location: Vietnam
Status: Offline
Points: 36
Post Options Post Options   Thanks (0) Thanks(0)   Quote compvis Quote  Post ReplyReply Direct Link To This Post Posted: 11 May 2008 at 10:13pm
Thanks, Oleg
 
I have done but only cursor on caption was changed.
 
Cursor on CommandBars, Docking panes, Status Bar wasn't changed.
 
Pls help me !
 
Thanks
I love ToolkitPro, Suite Pro ! Thanks Codejock !
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 12 May 2008 at 1:03am
Hi,
 
try to override PreTranslateMessage and change cursor here.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.141 seconds.