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

C / C++ / MFC

 
GeneralRe: checking outlook's inbox Pin
David Crow29-Apr-04 10:25
David Crow29-Apr-04 10:25 
GeneralRe: checking outlook's inbox Pin
BlackDice29-Apr-04 10:49
BlackDice29-Apr-04 10:49 
GeneralRe: checking outlook's inbox Pin
David Crow29-Apr-04 11:02
David Crow29-Apr-04 11:02 
GeneralRe: checking outlook's inbox Pin
BlackDice29-Apr-04 10:55
BlackDice29-Apr-04 10:55 
QuestionCheck if mouse button is pressed? Pin
Maarten Kools29-Apr-04 9:43
professionalMaarten Kools29-Apr-04 9:43 
AnswerRe: Check if mouse button is pressed? Pin
David Crow29-Apr-04 9:46
David Crow29-Apr-04 9:46 
GeneralRe: Check if mouse button is pressed? Pin
Maarten Kools29-Apr-04 9:50
professionalMaarten Kools29-Apr-04 9:50 
GeneralRe: Check if mouse button is pressed? Pin
Ravi Bhavnani29-Apr-04 9:57
professionalRavi Bhavnani29-Apr-04 9:57 
Capture the mouse on the first WM_LBUTTONDOWN, then handle WM_MOUSEMOVE, checking the wParam. Be sure to release capture on WM_LBUTTONUP or when your app loses focus!

WM_MOUSEMOVE
fwKeys = wParam; // key flags
xPos = LOWORD(lParam); // horizontal position of cursor
yPos = HIWORD(lParam); // vertical position of cursor

Parameters
fwKeys
Value of wParam. 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.

/ravi

My new year's resolution: 2048 x 1536
Home | Articles | Freeware | Music
ravib@ravib.com

GeneralRe: Check if mouse button is pressed? Pin
Maarten Kools29-Apr-04 10:01
professionalMaarten Kools29-Apr-04 10:01 
GeneralRe: Check if mouse button is pressed? Pin
Ravi Bhavnani29-Apr-04 10:04
professionalRavi Bhavnani29-Apr-04 10:04 
GeneralRe: Check if mouse button is pressed? Pin
Joe Woodbury29-Apr-04 11:09
professionalJoe Woodbury29-Apr-04 11:09 
GeneralRe: Check if mouse button is pressed? Pin
Maarten Kools29-Apr-04 11:31
professionalMaarten Kools29-Apr-04 11:31 
GeneralRe: Check if mouse button is pressed? Pin
Joe Woodbury29-Apr-04 15:10
professionalJoe Woodbury29-Apr-04 15:10 
GeneralActiveX Pin
Demian Panello29-Apr-04 8:43
Demian Panello29-Apr-04 8:43 
GeneralRe: ActiveX Pin
David Crow29-Apr-04 9:47
David Crow29-Apr-04 9:47 
GeneralPulling Integers from a Binary file.... Pin
mike-o29-Apr-04 8:12
mike-o29-Apr-04 8:12 
GeneralRe: Pulling Integers from a Binary file.... Pin
PJ Arends29-Apr-04 9:05
professionalPJ Arends29-Apr-04 9:05 
GeneralRe: Pulling Integers from a Binary file.... Pin
David Crow29-Apr-04 9:44
David Crow29-Apr-04 9:44 
GeneralWin32 Consol Apps Pin
Anonymous29-Apr-04 7:43
Anonymous29-Apr-04 7:43 
GeneralPassing username/pwd in WebBrowser request Pin
Ravi Bhavnani29-Apr-04 7:07
professionalRavi Bhavnani29-Apr-04 7:07 
GeneralRe: Passing username/pwd in WebBrowser request Pin
l a u r e n29-Apr-04 8:28
l a u r e n29-Apr-04 8:28 
GeneralRe: Passing username/pwd in WebBrowser request Pin
Ravi Bhavnani29-Apr-04 8:38
professionalRavi Bhavnani29-Apr-04 8:38 
GeneralRe: Passing username/pwd in WebBrowser request Pin
l a u r e n29-Apr-04 8:39
l a u r e n29-Apr-04 8:39 
GeneralRe: Passing username/pwd in WebBrowser request Pin
David Crow29-Apr-04 9:27
David Crow29-Apr-04 9:27 
QuestionWhen is MSVCP60.DLL required? Pin
Phenonymous29-Apr-04 5:59
sussPhenonymous29-Apr-04 5:59 

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.