Click here to Skip to main content
15,918,108 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralTurn off Bitmap/Color Pin
john john mackey5-Mar-03 5:44
john john mackey5-Mar-03 5:44 
GeneralRe: Turn off Bitmap/Color Pin
User 98855-Mar-03 6:59
User 98855-Mar-03 6:59 
GeneralRe: Turn off Bitmap/Color Pin
Anonymous5-Mar-03 7:03
Anonymous5-Mar-03 7:03 
GeneralRe: Turn off Bitmap/Color Pin
john john mackey5-Mar-03 8:21
john john mackey5-Mar-03 8:21 
GeneralRe: Turn off Bitmap/Color Pin
Scott H. Settlemier5-Mar-03 8:30
Scott H. Settlemier5-Mar-03 8:30 
GeneralRe: Turn off Bitmap/Color Pin
User 98855-Mar-03 8:34
User 98855-Mar-03 8:34 
GeneralDetect event again ;( Pin
jeremysay5-Mar-03 5:06
jeremysay5-Mar-03 5:06 
GeneralRe: Detect event again ;( Pin
User 98855-Mar-03 6:51
User 98855-Mar-03 6:51 
afx_msg void OnMouseMove( UINT nFlags, CPoint point );

is the prototype of the MouseMove handler in CWnd (MFC)


In this:

nFlags
Indicates whether various virtual keys are down. This parameter can be any combination of the following values:
MK_CONTROL Set if the CTRL key is down.
MK_LBUTTON Set if the left mouse button is down.
MK_MBUTTON Set if the middle mouse button is down.
MK_RBUTTON Set if the right mouse button is down.
MK_SHIFT Set if the SHIFT key is down.


if (nFlags & MK_LBUTTON)
{
// Left mouse button is down
}

if (nFlags & MK_MBUTTON)
{
// Middle mouse button is down
}


My article on a reference-counted smart pointer that supports polymorphic objects and raw pointers


modified 29-Aug-18 21:01pm.

GeneralRe: Detect event again ;( Pin
jeremysay5-Mar-03 7:51
jeremysay5-Mar-03 7:51 
GeneralRe: Detect event again ;( Pin
Joel Lucsy5-Mar-03 7:14
Joel Lucsy5-Mar-03 7:14 
GeneralRe: Detect event again ;( Pin
jeremysay5-Mar-03 7:51
jeremysay5-Mar-03 7:51 
GeneralRe: Detect event again ;( Pin
jeremysay5-Mar-03 8:47
jeremysay5-Mar-03 8:47 
GeneralDDEML Pin
Anthony98875-Mar-03 4:58
Anthony98875-Mar-03 4:58 
QuestionPop up text upon a static control? Pin
mickelthepickle5-Mar-03 4:54
mickelthepickle5-Mar-03 4:54 
AnswerRe: Pop up text upon a static control? Pin
Roger Allen5-Mar-03 5:10
Roger Allen5-Mar-03 5:10 
GeneralRe: Pop up text upon a static control? Pin
mickelthepickle5-Mar-03 5:21
mickelthepickle5-Mar-03 5:21 
GeneralRe: Pop up text upon a static control? Pin
Roger Allen5-Mar-03 6:17
Roger Allen5-Mar-03 6:17 
GeneralNeed reliable start of line CharIndex Pin
brianwelsch5-Mar-03 4:44
brianwelsch5-Mar-03 4:44 
GeneralRe: Need reliable start of line CharIndex - DONE Pin
brianwelsch10-Mar-03 7:27
brianwelsch10-Mar-03 7:27 
GeneralStop message processing of a process Pin
Dominik Reichl5-Mar-03 4:29
Dominik Reichl5-Mar-03 4:29 
GeneralRe: Stop message processing of a process Pin
jmkhael5-Mar-03 7:18
jmkhael5-Mar-03 7:18 
GeneralRe: Stop message processing of a process Pin
Joel Lucsy5-Mar-03 7:18
Joel Lucsy5-Mar-03 7:18 
GeneralActiveX control Pin
Dennis L5-Mar-03 4:15
Dennis L5-Mar-03 4:15 
GeneralRe: ActiveX control Pin
Cedric Moonen5-Mar-03 21:33
Cedric Moonen5-Mar-03 21:33 
QuestionWhat is VC++ 6 equivalent of VB's DoEvents Pin
Mahesh Perumal4-Mar-03 17:53
Mahesh Perumal4-Mar-03 17:53 

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.