Click here to Skip to main content
16,005,178 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Newbie Programmer Pin
Ian Darling22-Mar-04 9:18
Ian Darling22-Mar-04 9:18 
QuestionHow to change it? Pin
Simon Poon22-Mar-04 3:08
Simon Poon22-Mar-04 3:08 
AnswerRe: How to change it? Pin
Antony M Kancidrowski22-Mar-04 6:10
Antony M Kancidrowski22-Mar-04 6:10 
GeneralVisual C++ Message::Box Pin
deniz79s22-Mar-04 2:08
deniz79s22-Mar-04 2:08 
GeneralRe: Visual C++ Message::Box Pin
Tom Wright22-Mar-04 5:12
Tom Wright22-Mar-04 5:12 
Generalsetting the cusor in button object Pin
mymauve2122-Mar-04 1:37
mymauve2122-Mar-04 1:37 
GeneralRe: setting the cusor in button object Pin
Branislav22-Mar-04 3:08
Branislav22-Mar-04 3:08 
GeneralRe: setting the cusor in button object Pin
John R. Shaw22-Mar-04 21:02
John R. Shaw22-Mar-04 21:02 
What you are saying does not seem to make since. A button is just anouther window and as such the message WM_SETCURSOR is all you need to change the cursor as it passes over the button. The statment that "this message is used to set the cursor image of the button if the button style is BS_ICON" does not make since. The cursor image is independent of the window that it's over and it's up to the programmer to change it or accept the default for it.

If you are changing the button image it's because that's what you are telling your program to do. From your description, I would conclude that the reason you only see a change when the BS_ICON style is set, is that you are sending a message to the button instead of setting the cursor.

INTP
Generalrounding up Pin
si_6922-Mar-04 1:19
si_6922-Mar-04 1:19 
GeneralRe: rounding up Pin
Steve S22-Mar-04 1:22
Steve S22-Mar-04 1:22 
GeneralRe: rounding up Pin
David Crow22-Mar-04 7:35
David Crow22-Mar-04 7:35 
GeneralImage File Formats Pin
Vini Deep22-Mar-04 1:13
Vini Deep22-Mar-04 1:13 
GeneralRe: Image File Formats Pin
Steve S22-Mar-04 1:21
Steve S22-Mar-04 1:21 
GeneralRe: Image File Formats Pin
John R. Shaw22-Mar-04 21:17
John R. Shaw22-Mar-04 21:17 
GeneralImplicit linking of DLL's Pin
Anonymous22-Mar-04 0:36
Anonymous22-Mar-04 0:36 
GeneralRe: Implicit linking of DLL's Pin
Alexander M.,22-Mar-04 3:14
Alexander M.,22-Mar-04 3:14 
GeneralRe: Implicit linking of DLL's Pin
Nik0n22-Mar-04 4:07
Nik0n22-Mar-04 4:07 
GeneralExit a program using a button Pin
dreamerzz22-Mar-04 0:20
dreamerzz22-Mar-04 0:20 
GeneralRe: Exit a program using a button Pin
Prakash Nadar22-Mar-04 1:09
Prakash Nadar22-Mar-04 1:09 
GeneralRe: Exit a program using a button Pin
deniz79s22-Mar-04 2:15
deniz79s22-Mar-04 2:15 
GeneralRe: Exit a program using a button Pin
dreamerzz22-Mar-04 19:40
dreamerzz22-Mar-04 19:40 
GeneralRe: Exit a program using a button Pin
dreamerzz15-Apr-04 6:00
dreamerzz15-Apr-04 6:00 
GeneralReading a bitmap file Pin
poorni22-Mar-04 0:10
poorni22-Mar-04 0:10 
GeneralRe: Reading a bitmap file Pin
Branislav22-Mar-04 2:48
Branislav22-Mar-04 2:48 
GeneralRe: Reading a bitmap file Pin
poorni22-Mar-04 3:09
poorni22-Mar-04 3:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.