Click here to Skip to main content
15,917,632 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to detect that checkbox in listCtrl just got checked? Pin
Ravi Bhavnani25-Sep-03 3:23
professionalRavi Bhavnani25-Sep-03 3:23 
Generalyou got it! Pin
ns25-Sep-03 3:41
ns25-Sep-03 3:41 
GeneralRe: you got it! Pin
Ravi Bhavnani25-Sep-03 5:42
professionalRavi Bhavnani25-Sep-03 5:42 
Questionhow to email a page??? Pin
xxhimanshu25-Sep-03 2:28
xxhimanshu25-Sep-03 2:28 
AnswerRe: how to email a page??? Pin
David Crow25-Sep-03 5:06
David Crow25-Sep-03 5:06 
QuestionWhy do I receive WM_SETFOCUS only once? Pin
linjie25-Sep-03 2:09
linjie25-Sep-03 2:09 
AnswerRe: Why do I receive WM_SETFOCUS only once? Pin
David Crow25-Sep-03 2:20
David Crow25-Sep-03 2:20 
AnswerRe: Why do I receive WM_SETFOCUS only once? Pin
vcplusplus25-Sep-03 3:44
vcplusplus25-Sep-03 3:44 
Because CView has the focus of the OS.

From MSDN Library
-----------------
The WM_SETFOCUS message is sent to a window after it has gained the keyboard focus.

The SetFocus function sends a WM_KILLFOCUS message to the window that loses the keyboard focus and a WM_SETFOCUS message to the window that receives the keyboard focus. It also activates either the window that receives the focus or the parent of the window that receives the focus.

If a window is active but does not have the focus, any key pressed will produce the WM_SYSCHAR, WM_SYSKEYDOWN, or WM_SYSKEYUP message. If the VK_MENU key is also pressed, the lParam parameter of the message will have bit 30 set. Otherwise, the messages produced do not have this bit set.

By using the AttachThreadInput function, a thread can attach its input processing to another thread. This allows a thread to call SetFocus to set the keyboard focus to a window associated with another thread's message queue.


QuestionICopyHook any help ? Pin
CEx25-Sep-03 1:47
CEx25-Sep-03 1:47 
AnswerRe: ICopyHook any help ? Pin
Michael Dunn25-Sep-03 4:49
sitebuilderMichael Dunn25-Sep-03 4:49 
GeneralRe: ICopyHook any help ? Pin
CEx26-Sep-03 23:56
CEx26-Sep-03 23:56 
GeneralUsing crystal reports with VC++ Pin
Mr Bose Dayala25-Sep-03 1:39
Mr Bose Dayala25-Sep-03 1:39 
GeneralVS6 Workspaces and Projects Pin
HeiniBlad25-Sep-03 0:55
HeiniBlad25-Sep-03 0:55 
GeneralRecord Number of Windows Pin
vancouver77725-Sep-03 0:13
vancouver77725-Sep-03 0:13 
GeneralRe: Record Number of Windows Pin
yfmain25-Sep-03 0:31
yfmain25-Sep-03 0:31 
GeneralBOOL and bool Pin
Saurabh_Delhi25-Sep-03 0:12
Saurabh_Delhi25-Sep-03 0:12 
GeneralRe: BOOL and bool Pin
RChin25-Sep-03 0:47
RChin25-Sep-03 0:47 
GeneralRe: BOOL and bool Pin
Dangleberry25-Sep-03 1:12
sussDangleberry25-Sep-03 1:12 
GeneralRe: BOOL and bool Pin
Michael Dunn25-Sep-03 4:52
sitebuilderMichael Dunn25-Sep-03 4:52 
GeneralRe: BOOL and bool Pin
vcplusplus25-Sep-03 5:02
vcplusplus25-Sep-03 5:02 
Generalfingerprints recognition Pin
jimmy_me24-Sep-03 23:35
jimmy_me24-Sep-03 23:35 
QuestionSelectObject? Pin
Zizilamoroso24-Sep-03 23:33
Zizilamoroso24-Sep-03 23:33 
AnswerRe: SelectObject? Pin
Anonymous24-Sep-03 23:46
Anonymous24-Sep-03 23:46 
AnswerRe: SelectObject? Pin
Steve S25-Sep-03 1:00
Steve S25-Sep-03 1:00 
GeneralRe: SelectObject? Pin
Zizilamoroso25-Sep-03 1:37
Zizilamoroso25-Sep-03 1:37 

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.