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

C / C++ / MFC

 
GeneralRe: Sending a CFormView app in the status bar with the X button (Close Button of the window) Pin
led mike7-Sep-07 5:50
led mike7-Sep-07 5:50 
GeneralRe: Sending a CFormView app in the status bar with the X button (Close Button of the window) Pin
HiEverybody7-Sep-07 8:07
HiEverybody7-Sep-07 8:07 
QuestionCreateProcess + STARTUP_INFO Pin
baerten7-Sep-07 3:14
baerten7-Sep-07 3:14 
AnswerRe: CreateProcess + STARTUP_INFO Pin
Naveen7-Sep-07 4:35
Naveen7-Sep-07 4:35 
QuestionRe: CreateProcess - Console-Frame has no size Pin
baerten7-Sep-07 5:03
baerten7-Sep-07 5:03 
AnswerRe: CreateProcess - Console-Frame has no size Pin
Naveen7-Sep-07 5:31
Naveen7-Sep-07 5:31 
QuestionHow to get position of the cursor Pin
Anurag Gandhi7-Sep-07 3:09
professionalAnurag Gandhi7-Sep-07 3:09 
AnswerRe: How to get position of the cursor Pin
baerten7-Sep-07 3:28
baerten7-Sep-07 3:28 
Hi,

handle the ON_MOUSEMOVE Message. Then you get the coordination of the mouse by
creating a COORD and assign it to the LPARAM ( if not the WPARAM )

CPoint point(LOWORD(lParam),HIWORD(lParam));

There are seriously syntax error in my example ( i'm not on a developer maschine )
but it works Smile | :)
GeneralRe: How to get position of the cursor Pin
Anurag Gandhi7-Sep-07 3:41
professionalAnurag Gandhi7-Sep-07 3:41 
GeneralRe: How to get position of the cursor Pin
jhwurmbach7-Sep-07 3:59
jhwurmbach7-Sep-07 3:59 
GeneralRe: How to get position of the cursor Pin
Anurag Gandhi7-Sep-07 4:07
professionalAnurag Gandhi7-Sep-07 4:07 
AnswerRe: How to get position of the cursor Pin
David Crow7-Sep-07 4:03
David Crow7-Sep-07 4:03 
GeneralRe: How to get position of the cursor Pin
Anurag Gandhi7-Sep-07 4:12
professionalAnurag Gandhi7-Sep-07 4:12 
QuestionRe: How to get position of the cursor Pin
David Crow7-Sep-07 4:24
David Crow7-Sep-07 4:24 
AnswerRe: How to get position of the cursor Pin
Anurag Gandhi7-Sep-07 5:31
professionalAnurag Gandhi7-Sep-07 5:31 
GeneralRe: How to get position of the cursor Pin
David Crow7-Sep-07 5:34
David Crow7-Sep-07 5:34 
GeneralRe: How to get position of the cursor Pin
Naveen7-Sep-07 4:28
Naveen7-Sep-07 4:28 
AnswerRe: How to get position of the cursor Pin
Md. Ali Naser Khan7-Sep-07 4:55
Md. Ali Naser Khan7-Sep-07 4:55 
GeneralRe: How to get position of the cursor Pin
David Crow7-Sep-07 5:13
David Crow7-Sep-07 5:13 
AnswerRe: How to get position of the cursor [modified] Pin
Mark Salsbery7-Sep-07 5:37
Mark Salsbery7-Sep-07 5:37 
QuestionSOLVED: MFC: changing control size [modified] Pin
progDes7-Sep-07 2:56
progDes7-Sep-07 2:56 
AnswerRe: MFC: changing control size Pin
progDes7-Sep-07 3:07
progDes7-Sep-07 3:07 
Question'const unsigned short *' to 'const char *' Pin
revanth19857-Sep-07 2:08
revanth19857-Sep-07 2:08 
AnswerRe: 'const unsigned short ' to 'const char ' Pin
Cedric Moonen7-Sep-07 2:13
Cedric Moonen7-Sep-07 2:13 
GeneralRe: 'const unsigned short ' to 'const char ' Pin
revanth19857-Sep-07 2:43
revanth19857-Sep-07 2:43 

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.