Click here to Skip to main content
15,908,581 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionTerminateProcess() and windows messages. Pin
Souldrift29-Oct-09 4:23
Souldrift29-Oct-09 4:23 
AnswerRe: TerminateProcess() and windows messages. Pin
David Crow29-Oct-09 4:29
David Crow29-Oct-09 4:29 
AnswerRe: TerminateProcess() and windows messages. Pin
CPallini29-Oct-09 7:49
mveCPallini29-Oct-09 7:49 
AnswerRe: TerminateProcess() and windows messages. Pin
«_Superman_»29-Oct-09 7:59
professional«_Superman_»29-Oct-09 7:59 
QuestionGet window handle on which mouse button was clicked Pin
staticv29-Oct-09 3:53
staticv29-Oct-09 3:53 
QuestionRe: Get window handle on which mouse button was clicked Pin
David Crow29-Oct-09 4:25
David Crow29-Oct-09 4:25 
AnswerRe: Get window handle on which mouse button was clicked Pin
staticv29-Oct-09 5:12
staticv29-Oct-09 5:12 
AnswerRe: Get window handle on which mouse button was clicked Pin
David Crow29-Oct-09 5:19
David Crow29-Oct-09 5:19 
Ahmed Manzoor wrote:
Well, I was using WH_MOUSE_LL earlier.


In the LowLevelMouseProc() function, the lParam is a MSLLHOOKSTRUCT structure.

Ahmed Manzoor wrote:
I changed my code to WH_MOUSE.


In the MouseProc() function, lParam is a MOUSEHOOKSTRUCT structure.

Both of these structures have a pt member.

"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons


GeneralRe: Get window handle on which mouse button was clicked Pin
staticv29-Oct-09 5:34
staticv29-Oct-09 5:34 
GeneralRe: Get window handle on which mouse button was clicked Pin
transoft29-Oct-09 7:37
transoft29-Oct-09 7:37 
GeneralRe: Get window handle on which mouse button was clicked Pin
staticv29-Oct-09 7:58
staticv29-Oct-09 7:58 
GeneralRe: Get window handle on which mouse button was clicked Pin
David Crow29-Oct-09 8:05
David Crow29-Oct-09 8:05 
QuestionHandle general messages in dialog procedure Pin
Lianqing29-Oct-09 3:49
Lianqing29-Oct-09 3:49 
AnswerRe: Handle general messages in dialog procedure Pin
transoft29-Oct-09 7:22
transoft29-Oct-09 7:22 
Questioncreate window groups [closed - solved: feature not in Windows] Pin
shaosean29-Oct-09 2:42
shaosean29-Oct-09 2:42 
AnswerRe: create window groups Pin
David Crow29-Oct-09 3:04
David Crow29-Oct-09 3:04 
GeneralRe: create window groups Pin
shaosean29-Oct-09 3:09
shaosean29-Oct-09 3:09 
GeneralRe: create window groups Pin
David Crow29-Oct-09 3:13
David Crow29-Oct-09 3:13 
GeneralRe: create window groups Pin
shaosean29-Oct-09 3:25
shaosean29-Oct-09 3:25 
GeneralRe: create window groups Pin
David Crow29-Oct-09 3:33
David Crow29-Oct-09 3:33 
GeneralRe: create window groups Pin
shaosean29-Oct-09 8:42
shaosean29-Oct-09 8:42 
GeneralRe: create window groups Pin
David Crow29-Oct-09 8:48
David Crow29-Oct-09 8:48 
GeneralRe: create window groups Pin
shaosean29-Oct-09 9:25
shaosean29-Oct-09 9:25 
GeneralRe: create window groups Pin
CPallini29-Oct-09 3:24
mveCPallini29-Oct-09 3:24 
GeneralRe: create window groups Pin
Maximilien29-Oct-09 4:23
Maximilien29-Oct-09 4:23 

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.