Click here to Skip to main content
15,912,504 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDisk space lists: any examples? Pin
Dean Edmonds5-Dec-99 13:58
sussDean Edmonds5-Dec-99 13:58 
GeneralDevStudio: AddToolSettings not recognized Pin
Dean Edmonds5-Dec-99 13:38
sussDean Edmonds5-Dec-99 13:38 
QuestionCVS addin? Pin
George5-Dec-99 5:18
George5-Dec-99 5:18 
AnswerRE: CVS addin? Pin
Member 48657-Dec-99 10:55
Member 48657-Dec-99 10:55 
AnswerRE: CVS addin? Pin
Neville Franks8-Dec-99 9:51
Neville Franks8-Dec-99 9:51 
QuestionHow to change mouse cursor when move mouse pass the button? Pin
Comp-devz4-Dec-99 21:02
sussComp-devz4-Dec-99 21:02 
AnswerRE: How to change mouse cursor when move mouse pass the button? Pin
Jeremy Davis6-Dec-99 2:43
Jeremy Davis6-Dec-99 2:43 
AnswerRE: How to change mouse cursor when move mouse pass the button? Pin
Gary Menzel8-Dec-99 12:42
Gary Menzel8-Dec-99 12:42 
There are two possible ways of implementing this (that I know of). Both of them include trapping either one or both of the MOUSEMOVE or SETCURSOR messages.

You can either trap them at level of the main FrameWnd or in the Button (I would personally prefer to subclass the Button and trap it in there so I could reuse that new button in other parts of my code). In the case of trapping it in the FrameWnd (probably trapping MOUSEMOVE after you know the cursor is in the FrameWnd - using SETCURSOR to set some flag) you then need to work out if the mouse is over the button to change to the IBEAM cursor - as well as not over the button to change it back!!).

There are probably other pitfalls to worry about that my simple explanation doesn't cover but they would be the two basic approaches to consider.

Regards,
Gary Menzel


==================
The original message was:

How to change mouse cursor to "IDC_IBEAM" when move mouse pass the button?

<cut>
GeneralQuestion about dll Pin
Roy Xu3-Dec-99 17:13
Roy Xu3-Dec-99 17:13 
GeneralRE: Question about dll Pin
Alex Gorev6-Dec-99 7:10
Alex Gorev6-Dec-99 7:10 
QuestionHow to make StatusBar tooltips? Pin
Stefan3-Dec-99 8:21
Stefan3-Dec-99 8:21 
AnswerRE: How to make StatusBar tooltips? Pin
Member 3646-Dec-99 6:47
Member 3646-Dec-99 6:47 
AnswerRE: How to make StatusBar tooltips? Pin
ac2718-Dec-99 4:07
sussac2718-Dec-99 4:07 
Generalwildcard matching with strings Pin
Thomas2-Dec-99 6:34
Thomas2-Dec-99 6:34 
GeneralRE: wildcard matching with strings Pin
Alex Gorev2-Dec-99 8:35
Alex Gorev2-Dec-99 8:35 
GeneralRE: RE: wildcard matching with strings Pin
Thomas3-Dec-99 0:19
Thomas3-Dec-99 0:19 
GeneralRE: RE: RE: wildcard matching with strings Pin
Alex Gorev3-Dec-99 3:31
Alex Gorev3-Dec-99 3:31 
GeneralRE: RE: RE: wildcard matching with strings Pin
Serguei Velikevitch3-Dec-99 4:07
sussSerguei Velikevitch3-Dec-99 4:07 
GeneralRE: wildcard matching with strings Pin
Member 4043-Dec-99 4:48
Member 4043-Dec-99 4:48 
GeneralRE: wildcard matching with strings Pin
Thomas3-Dec-99 12:32
Thomas3-Dec-99 12:32 
Generalmoving caret in CEditView Pin
hhuynh011-Dec-99 10:27
hhuynh011-Dec-99 10:27 
GeneralRE: moving caret in CEditView Pin
rkm1-Dec-99 14:31
rkm1-Dec-99 14:31 
GeneralRE: moving caret in CEditView Pin
Dean Edmonds8-Dec-99 13:53
sussDean Edmonds8-Dec-99 13:53 
QuestionMemory Leak ??? Pin
Anonymous1-Dec-99 5:42
suss Anonymous1-Dec-99 5:42 
AnswerRE: Memory Leak ??? Pin
John M. Drescher5-Dec-99 4:51
John M. Drescher5-Dec-99 4:51 

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.