Click here to Skip to main content
15,925,661 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to find the Network speed (without PDH)? Pin
adara1-Jan-03 3:48
adara1-Jan-03 3:48 
AnswerRe: How to find the Network speed (without PDH)? Pin
Mike Nordell1-Jan-03 19:01
Mike Nordell1-Jan-03 19:01 
Generalexecute program from memory Pin
ncm1-Jan-03 3:25
ncm1-Jan-03 3:25 
GeneralRe: execute program from memory Pin
Mike Nordell1-Jan-03 19:03
Mike Nordell1-Jan-03 19:03 
GeneralRe: execute program from memory Pin
ncm2-Jan-03 1:06
ncm2-Jan-03 1:06 
GeneralProblem with resource id's... [Visual C++.NET] Pin
rkpk1-Jan-03 2:11
rkpk1-Jan-03 2:11 
GeneralCHtmlView Pin
alex.barylski1-Jan-03 1:07
alex.barylski1-Jan-03 1:07 
GeneralKilling a modeless Dialog when it loses focus Pin
Florin Ochiana31-Dec-02 23:43
Florin Ochiana31-Dec-02 23:43 
Hi,

Another problem.. Smile | :)
I want to have a modeless dialog that will close if it loses focus. This dialog is open from another dialog. So in a dialog a have a button that does this OnClick:

CAnotherDialog *newDlg;
newDlg = new CAnotherDialog(this);
if (newDlg != NULL) {
BOOL ret = newDlg->Create(IDD_SOMEDIALOG,this);
newDlg->ShowWindow(SW_SHOW);
}

In CAnotherDialog a have a overrided the method OnKillFocus and declared ON_WM_KILLFOCUS() in the message map but this method gets executed when I close the dialog, not when it loses focus.

Thanks!

-----
We are what we repeatedly do. Excellence, then, is not an act, but a habit.

GeneralRe: Killing a modeless Dialog when it loses focus Pin
Gary R. Wheeler1-Jan-03 3:51
Gary R. Wheeler1-Jan-03 3:51 
GeneralRe: Killing a modeless Dialog when it loses focus Pin
Florin Ochiana1-Jan-03 10:57
Florin Ochiana1-Jan-03 10:57 
Generalhappy new year! Pin
includeh1031-Dec-02 21:41
includeh1031-Dec-02 21:41 
GeneralRe: happy new year! Pin
Florin Ochiana31-Dec-02 23:46
Florin Ochiana31-Dec-02 23:46 
GeneralXML and Visual C++ Pin
Anonymous31-Dec-02 18:59
Anonymous31-Dec-02 18:59 
GeneralRe: XML and Visual C++ Pin
nay31-Dec-02 19:41
nay31-Dec-02 19:41 
GeneralRe: XML and Visual C++ Pin
Stephane Rodriguez.31-Dec-02 19:43
Stephane Rodriguez.31-Dec-02 19:43 
GeneralRe: XML and Visual C++ Pin
(Steven Hicks)n+131-Dec-02 20:41
(Steven Hicks)n+131-Dec-02 20:41 
GeneralRe: XML and Visual C++ Pin
Rickard Andersson201-Jan-03 2:12
Rickard Andersson201-Jan-03 2:12 
Generaltabbed dialogs Pin
xxhimanshu31-Dec-02 18:40
xxhimanshu31-Dec-02 18:40 
GeneralRe: tabbed dialogs Pin
Dominik Reichl1-Jan-03 5:02
Dominik Reichl1-Jan-03 5:02 
Generalvisual c++ and mysql (CRecordset) Pin
Florin Ochiana31-Dec-02 18:02
Florin Ochiana31-Dec-02 18:02 
QuestionHow do I get a right click message (WM_RBUTTONUP) from a CStatic control? Pin
AaronStibich31-Dec-02 15:16
AaronStibich31-Dec-02 15:16 
AnswerRe: How do I get a right click message (WM_RBUTTONUP) from a CStatic control? Pin
Ted Ferenc1-Jan-03 2:45
Ted Ferenc1-Jan-03 2:45 
GeneralViewing and modifing MFC Samples Pin
RaulGonzalez31-Dec-02 14:45
RaulGonzalez31-Dec-02 14:45 
GeneralRe: Viewing and modifing MFC Samples Pin
Selevercin31-Dec-02 16:00
Selevercin31-Dec-02 16:00 
GeneralCan't find: winresrc.h Pin
Selevercin31-Dec-02 14:20
Selevercin31-Dec-02 14:20 

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.