Click here to Skip to main content
16,016,693 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CListBox Pin
alex.barylski5-May-02 9:12
alex.barylski5-May-02 9:12 
GeneralRe: CListBox Pin
tordyvel5-May-02 9:15
tordyvel5-May-02 9:15 
GeneralRe: CListBox Pin
Nish Nishant5-May-02 9:19
sitebuilderNish Nishant5-May-02 9:19 
GeneralCRC64 / CRC128 / CRC256 ... Pin
Dominik Reichl5-May-02 8:53
Dominik Reichl5-May-02 8:53 
GeneralCButton & Messages Pin
5-May-02 7:31
suss5-May-02 7:31 
GeneralRe: CButton & Messages Pin
Shog95-May-02 7:48
sitebuilderShog95-May-02 7:48 
GeneralRe: CButton & Messages Pin
5-May-02 8:03
suss5-May-02 8:03 
GeneralRe: CButton & Messages Pin
5-May-02 8:18
suss5-May-02 8:18 
Anonymous wrote:
WM_MOUSEMOVE is the message I was hoping to handle.

Oh, well that's sent directly to your button anyway, so you should have no problem handling it in your CButton-derived class. The only thing i can think of that might get tricky with this would be if you wanted to know when the mouse was moved outside of the button, since you'll no longer recieve messages then. Two solutions to this are mouse capture (if the user will be holding a mouse button down) or setting a timer and periodically checking the mouse position (appropriate for "hot tracking", etc.).

--------

People they come together
People they fall apart.
No one can stop us now
'cause we are all made of stars...

-- Moby, We are all made of stars


GeneralRe: CButton & Messages Pin
5-May-02 8:35
suss5-May-02 8:35 
GeneralRe: CButton & Messages Pin
Shog95-May-02 8:58
sitebuilderShog95-May-02 8:58 
GeneralRe: CButton & Messages Pin
5-May-02 9:52
suss5-May-02 9:52 
GeneralRe: CButton & Messages Pin
Michael Dunn5-May-02 7:57
sitebuilderMichael Dunn5-May-02 7:57 
GeneralReleaseDC is not working Pin
MaTrIX2k25-May-02 7:14
MaTrIX2k25-May-02 7:14 
GeneralRe: ReleaseDC is not working Pin
PJ Arends5-May-02 8:01
professionalPJ Arends5-May-02 8:01 
GeneralRe: ReleaseDC is not working Pin
MaTrIX2k25-May-02 9:59
MaTrIX2k25-May-02 9:59 
GeneralRe: ReleaseDC is not working Pin
Paul M Watt5-May-02 19:54
mentorPaul M Watt5-May-02 19:54 
GeneralRe: ReleaseDC is not working Pin
Paul M Watt5-May-02 9:36
mentorPaul M Watt5-May-02 9:36 
GeneralRe: ReleaseDC is not working Pin
MaTrIX2k25-May-02 11:09
MaTrIX2k25-May-02 11:09 
GeneralRe: ReleaseDC is not working Pin
Paul M Watt5-May-02 19:56
mentorPaul M Watt5-May-02 19:56 
QuestionHow do you add items to a combobox? Pin
5-May-02 7:00
suss5-May-02 7:00 
AnswerRe: How do you add items to a combobox? Pin
Tom Archer5-May-02 7:32
Tom Archer5-May-02 7:32 
GeneralRe: How do you add items to a combobox? Pin
5-May-02 7:43
suss5-May-02 7:43 
GeneralRe: How do you add items to a combobox? Pin
Tom Archer5-May-02 8:00
Tom Archer5-May-02 8:00 
GeneralRe: How do you add items to a combobox? Pin
5-May-02 8:07
suss5-May-02 8:07 
GeneralRe: How do you add items to a combobox? Pin
Tom Archer5-May-02 8:15
Tom Archer5-May-02 8:15 

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.