Click here to Skip to main content
16,011,784 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: convert char to double Pin
GDavy18-Nov-03 21:39
GDavy18-Nov-03 21:39 
GeneralRe: convert char to double Pin
David Crow19-Nov-03 3:38
David Crow19-Nov-03 3:38 
GeneralAsk for Help!! Pin
denny7518-Nov-03 20:23
denny7518-Nov-03 20:23 
GeneralRe: Ask for Help!! Pin
Shehzad Salim18-Nov-03 21:15
Shehzad Salim18-Nov-03 21:15 
GeneralRe: Ask for Help!! Pin
Mike Dimmick19-Nov-03 0:38
Mike Dimmick19-Nov-03 0:38 
GeneralSystray Pin
margis18-Nov-03 19:04
margis18-Nov-03 19:04 
GeneralRe: Systray Pin
Ivor S. Sargoytchev18-Nov-03 19:45
Ivor S. Sargoytchev18-Nov-03 19:45 
GeneralRe: Systray Pin
Peak18-Nov-03 19:55
Peak18-Nov-03 19:55 
you need to start your MFC modal dialog program with a hidden
dialog, and the only way I found for this problem
was to call ShowWindow(m_hWnd, SW_HIDE) in one of
WM_NCPAINT or WM_PAINT message handlers.

There is another way for this problem, but needs
a little more modification of your program.
The normal way would be to uncheck WS_VISIBLE
style in resource editor, and start you dialog
using CreateDialog , then make a message loop
there by calling AfxPumpMessage in a loop like
this:

CMyDlg mydlg;
mydlg.Create(IDD_MYDIALOG);// that IDD_MYDIALOG is
// the dialog resource id,
// you can find it in your
// dialog class definition
// (TrayIco.h as you said)
// in a line like this:
// enum { IDD = IDD_MYDIALOG };


// if you wanted to show dialog window
// ShowWindow(m_hWnd, SW_SHOW);

while(AfxPumpMessage()); // loop till the QUIT
// message comes.
QuestionHow to call interrupt function Pin
FlyingDancer18-Nov-03 18:58
FlyingDancer18-Nov-03 18:58 
AnswerRe: How to call interrupt function Pin
Peak18-Nov-03 19:36
Peak18-Nov-03 19:36 
GeneralRe: How to call interrupt function Pin
FlyingDancer19-Nov-03 0:32
FlyingDancer19-Nov-03 0:32 
GeneralRe: How to call interrupt function Pin
Mike Dimmick19-Nov-03 1:44
Mike Dimmick19-Nov-03 1:44 
GeneralRe: How to call interrupt function Pin
Peak19-Nov-03 2:47
Peak19-Nov-03 2:47 
GeneralRe: How to call interrupt function Pin
FlyingDancer19-Nov-03 3:09
FlyingDancer19-Nov-03 3:09 
GeneralDirectshow error w/ SetNotifyWindow Pin
georgiek5018-Nov-03 18:15
georgiek5018-Nov-03 18:15 
GeneralRe: Directshow error w/ SetNotifyWindow Pin
Ivor S. Sargoytchev18-Nov-03 19:28
Ivor S. Sargoytchev18-Nov-03 19:28 
GeneralRe: Directshow error w/ SetNotifyWindow Pin
georgiek5018-Nov-03 19:57
georgiek5018-Nov-03 19:57 
GeneralATL & DHTML Pin
Leesen18-Nov-03 17:40
Leesen18-Nov-03 17:40 
GeneralRe: ATL & DHTML Pin
Peter Molnar19-Nov-03 15:27
Peter Molnar19-Nov-03 15:27 
GeneralRe: ATL & DHTML Pin
Leesen19-Nov-03 19:13
Leesen19-Nov-03 19:13 
GeneralRe: ATL & DHTML Pin
Peter Molnar20-Nov-03 2:33
Peter Molnar20-Nov-03 2:33 
GeneralRe: ATL & DHTML Pin
Leesen20-Nov-03 5:13
Leesen20-Nov-03 5:13 
GeneralRe: ATL & DHTML Pin
Peter Molnar20-Nov-03 5:34
Peter Molnar20-Nov-03 5:34 
Generalargv argc and buffer over-run HACK Pin
BaldwinMartin18-Nov-03 17:12
BaldwinMartin18-Nov-03 17:12 
GeneralRe: argv argc and buffer over-run HACK Pin
Peak18-Nov-03 20:20
Peak18-Nov-03 20: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.