Click here to Skip to main content
15,886,840 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Allowing a control to receive mouse clicks while a modal dialog is up. Pin
CPallini8-Sep-09 22:52
mveCPallini8-Sep-09 22:52 
AnswerRe: Allowing a control to receive mouse clicks while a modal dialog is up. Pin
Code-o-mat8-Sep-09 22:58
Code-o-mat8-Sep-09 22:58 
GeneralRe: Allowing a control to receive mouse clicks while a modal dialog is up. Pin
CPallini8-Sep-09 23:07
mveCPallini8-Sep-09 23:07 
AnswerRe: Allowing a control to receive mouse clicks while a modal dialog is up. Pin
Richard MacCutchan8-Sep-09 23:30
mveRichard MacCutchan8-Sep-09 23:30 
GeneralRe: Allowing a control to receive mouse clicks while a modal dialog is up. Pin
Code-o-mat9-Sep-09 0:37
Code-o-mat9-Sep-09 0:37 
GeneralRe: Allowing a control to receive mouse clicks while a modal dialog is up. Pin
Richard MacCutchan9-Sep-09 2:44
mveRichard MacCutchan9-Sep-09 2:44 
GeneralRe: Allowing a control to receive mouse clicks while a modal dialog is up. Pin
Ragha Venkat11-Sep-09 0:44
Ragha Venkat11-Sep-09 0:44 
GeneralRe: Allowing a control to receive mouse clicks while a modal dialog is up. Pin
Richard MacCutchan11-Sep-09 1:07
mveRichard MacCutchan11-Sep-09 1:07 
Ragha Venkat wrote:
when you click outside a modal dialog the message it is posting will be 0x118.. with wParam 0xfff8

I don't think this is quite true, the messages posted on a mouse click are dependent on where the mouse is positioned: a menu item, button, task bar etc.

This will not provide consistent or reliable results. If this click happens to be on another open window, then that window will be given the focus and receive the message. This is a very unsafe way to handle messages; if you bypass the rules prescribed by Microsoft, then you must be prepared to accept that it may not work as you wish.
Questionhow to write a programme in V C++ the display on the screen like this??? Pin
mr bard28-Sep-09 21:41
mr bard28-Sep-09 21:41 
AnswerRe: how to write a programme in V C++ the display on the screen like this??? Pin
Richard MacCutchan8-Sep-09 23:17
mveRichard MacCutchan8-Sep-09 23:17 
AnswerRe: how to write a programme in V C++ the display on the screen like this??? Pin
Adam Roderick J8-Sep-09 23:28
Adam Roderick J8-Sep-09 23:28 
Questionrequestion create an instance of Command [modified] Pin
MsmVc8-Sep-09 21:30
MsmVc8-Sep-09 21:30 
AnswerRe: requestion create an instance of Command Pin
CPallini8-Sep-09 21:38
mveCPallini8-Sep-09 21:38 
QuestionRe: requestion create an instance of Command Pin
David Crow9-Sep-09 3:23
David Crow9-Sep-09 3:23 
AnswerRe: requestion create an instance of Command Pin
Stuart Dootson9-Sep-09 3:31
professionalStuart Dootson9-Sep-09 3:31 
GeneralRe: requestion create an instance of Command Pin
MsmVc10-Sep-09 18:49
MsmVc10-Sep-09 18:49 
QuestionKill Process using DebugActiveProcess. Pin
gothic_coder8-Sep-09 20:55
gothic_coder8-Sep-09 20:55 
AnswerRe: Kill Process using DebugActiveProcess. Pin
gothic_coder9-Sep-09 3:08
gothic_coder9-Sep-09 3:08 
Questionlibraries, headers (.h) in C language [modified] Pin
programmer2028-Sep-09 20:45
programmer2028-Sep-09 20:45 
AnswerRe: libraries, headers (.h) in C language Pin
ThatsAlok8-Sep-09 20:56
ThatsAlok8-Sep-09 20:56 
AnswerRe: libraries, headers (.h) in C language Pin
CPallini8-Sep-09 20:57
mveCPallini8-Sep-09 20:57 
AnswerRe: libraries, headers (.h) in C language Pin
Hamid_RT8-Sep-09 21:00
Hamid_RT8-Sep-09 21:00 
GeneralRe: libraries, headers (.h) in C language Pin
ThatsAlok8-Sep-09 21:05
ThatsAlok8-Sep-09 21:05 
AnswerRe: libraries, headers (.h) in C language Pin
Richard MacCutchan8-Sep-09 23:13
mveRichard MacCutchan8-Sep-09 23:13 
AnswerRe: libraries, headers (.h) in C language Pin
Selvam R9-Sep-09 2:15
professionalSelvam R9-Sep-09 2: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.