|
From: SpiderMan <Spi...@pr...> - 2000-12-30 02:48:11
|
Hi, thanks for the response! I figured out that the code was right, =
just put in the wrong place. I found that I can load all the stock =
cursors by responding to WM_MOUSEMOVE. Thanks for the help : )
----- Original Message -----=20
From: Elias Pschernig=20
To: dev...@li...=20
Sent: Friday, December 29, 2000 10:52 AM
Subject: Re: [Dev-C++] Change the cursor...
Hi, I would like to know how to change the cursor in a simple =
dialog box based program. I know that I must use SetCursor( ) and =
LoadCursor( ) and ShowCursor, but I can't seem to get it working. I put =
this in the dialog box's initinstance:
SetCursor( LoadCursor(NULL, IDC_WAIT) );
ShowCursor(TRUE);
But it doesn't work, the wait curor doesn't show up. Can any one =
help me? Thank you in advance.=20
I'm not using C++, but in C i have a message WM_SETCURSOR sent to my =
dialog procedure, maybe this is what you need ? Just put your code as =
response to that message and the cursor changes...
-------------------------------------------------------------------------=
-----
Link is external to the Privacyx.com System
|