Click here to Skip to main content
15,881,172 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: activex Pin
khan++24-Feb-06 2:26
khan++24-Feb-06 2:26 
QuestionRe: activex Pin
ramyasangeet24-Feb-06 17:30
ramyasangeet24-Feb-06 17:30 
AnswerRe: activex Pin
khan++25-Feb-06 2:03
khan++25-Feb-06 2:03 
QuestionExclusive window Pin
Nishad S24-Feb-06 0:41
Nishad S24-Feb-06 0:41 
AnswerRe: Exclusive window Pin
Nibu babu thomas24-Feb-06 0:51
Nibu babu thomas24-Feb-06 0:51 
AnswerRe: Exclusive window Pin
khan++24-Feb-06 2:38
khan++24-Feb-06 2:38 
GeneralRe: Exclusive window Pin
ThatsAlok26-Feb-06 21:05
ThatsAlok26-Feb-06 21:05 
GeneralRe: Exclusive window Pin
khan++26-Feb-06 21:24
khan++26-Feb-06 21:24 
Hi Alok.
About the CPU consumption, I don't think it will make much difference. There may be like 20 children on the dialog, so it will check GetFocus() 20 times, which does not make much difference, but you can always make the timer longer, like 250ms etc.
And this technique will work for modeless dialogs only. Quite opposite to what it sounds, the modeless dialog will not get a KillFocus message if there is even one child (non-static based) on the dialog. The child always likes to keep the focus, and the parent will never receive the KillFocus message. Hence, I use this technique. Smile | :)


this is this.
GeneralRe: Exclusive window Pin
ThatsAlok26-Feb-06 22:08
ThatsAlok26-Feb-06 22:08 
AnswerRe: Exclusive window Pin
ThatsAlok26-Feb-06 21:00
ThatsAlok26-Feb-06 21:00 
GeneralRe: Exclusive window Pin
Nishad S26-Feb-06 21:18
Nishad S26-Feb-06 21:18 
QuestionAccess Denied on GetDC and CreateDC Pin
donnelly_mark24-Feb-06 0:27
donnelly_mark24-Feb-06 0:27 
AnswerRe: Access Denied on GetDC and CreateDC Pin
James Brown24-Feb-06 6:34
James Brown24-Feb-06 6:34 
GeneralRe: Access Denied on GetDC and CreateDC Pin
donnelly_mark24-Feb-06 6:40
donnelly_mark24-Feb-06 6:40 
QuestionEditBoxes, ListBoxes and ComboBoxes painting Pin
ilgale24-Feb-06 0:06
ilgale24-Feb-06 0:06 
AnswerRe: EditBoxes, ListBoxes and ComboBoxes painting Pin
Nibu babu thomas24-Feb-06 0:25
Nibu babu thomas24-Feb-06 0:25 
QuestionRe: EditBoxes, ListBoxes and ComboBoxes painting Pin
Naveen24-Feb-06 0:52
Naveen24-Feb-06 0:52 
AnswerRe: EditBoxes, ListBoxes and ComboBoxes painting Pin
Nibu babu thomas24-Feb-06 0:58
Nibu babu thomas24-Feb-06 0:58 
QuestionComparing text size Pin
llp00na24-Feb-06 0:03
llp00na24-Feb-06 0:03 
QuestionIE HTTP headers Pin
acroitor23-Feb-06 21:13
acroitor23-Feb-06 21:13 
AnswerRe: IE HTTP headers Pin
llp00na23-Feb-06 23:53
llp00na23-Feb-06 23:53 
QuestionRe: IE HTTP headers Pin
acroitor24-Feb-06 1:35
acroitor24-Feb-06 1:35 
AnswerRe: IE HTTP headers Pin
llp00na24-Feb-06 3:50
llp00na24-Feb-06 3:50 
QuestionRe: IE HTTP headers Pin
acroitor24-Feb-06 4:23
acroitor24-Feb-06 4:23 
AnswerRe: IE HTTP headers Pin
llp00na24-Feb-06 4:45
llp00na24-Feb-06 4:45 

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.