Click here to Skip to main content
15,921,028 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
I am writing a C++ application using Win32 API (i.e. no MFC, no .NET). I want to process some major messages such as WM_PAINT, WM_MOUSEMOVE, and WM_CHAR in the dialog procedure (let's call it DialogProc). The dialog is created using DialogBox or DialogBoxIndirect in some cases, and DialogProc is passed as the fourth argument to DialogBox. My problem is these aforementioned messages (WM_PAINT etc.) are not passed to DialogProc. Is there any way to catch and handle these messages in a dialog box procedure? or do I have to create a dialog box using RegisterClass and CreateWindow? I appreciate your help.
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 
GeneralRe: create window groups Pin
shaosean29-Oct-09 8:39
shaosean29-Oct-09 8:39 
AnswerRe: create window groups Pin
Maximilien29-Oct-09 4:32
Maximilien29-Oct-09 4:32 
QuestionProblem in SetFont of GroupBox Caption in PropertyPages? Pin
Le@rner29-Oct-09 2:40
Le@rner29-Oct-09 2:40 
AnswerRe: Problem in SetFont of GroupBox Caption in PropertyPages? Pin
David Crow29-Oct-09 3:08
David Crow29-Oct-09 3:08 
QuestionStatic Control in Combo Pin
kumar sanghvi29-Oct-09 1:42
kumar sanghvi29-Oct-09 1:42 

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.