Click here to Skip to main content
16,010,523 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: alternative to fscanf Pin
Ravi Bhavnani20-Dec-01 7:31
professionalRavi Bhavnani20-Dec-01 7:31 
GeneralRe: alternative to fscanf Pin
Carlos Antollini20-Dec-01 7:53
Carlos Antollini20-Dec-01 7:53 
Generalnon-closable dialog Pin
Jon Newman20-Dec-01 6:58
Jon Newman20-Dec-01 6:58 
GeneralRe: non-closable dialog Pin
Kuniva20-Dec-01 7:12
Kuniva20-Dec-01 7:12 
GeneralRe: non-closable dialog Pin
Ravi Bhavnani20-Dec-01 7:12
professionalRavi Bhavnani20-Dec-01 7:12 
GeneralRe: non-closable dialog Pin
Kuniva20-Dec-01 7:14
Kuniva20-Dec-01 7:14 
GeneralRe: non-closable dialog Pin
Jon Newman20-Dec-01 8:07
Jon Newman20-Dec-01 8:07 
GeneralRe: non-closable dialog Pin
20-Dec-01 9:39
suss20-Dec-01 9:39 
Maybe this is what you are looking for:
Assuming your dialog is myDlg:
Remove OnOK and OnCancel handlers from the dialog class.
Remove OK and Cancel buttons
Include in CMainFrame::OnCreate(), the lines (or variations of it):

myDlg.Create(IDD_MYDIALOG);
myDlg.SetWindowPos(&wndTopMost,0,0,0,0, SWP_NOMOVE | SWP_NOSIZE);

Include in CMainFrame::OnActivateApp(), the line

myDlg.ShowWindow(SW_SHOW);

You can show or hide the dialog by using SW_SHOW or SW_HIDE
as and when you need.

GeneralEnumerating Catalogs using OLE DB Pin
PaulJ20-Dec-01 6:39
PaulJ20-Dec-01 6:39 
GeneralRe: Enumerating Catalogs using OLE DB Pin
Rashid Thadha20-Dec-01 6:48
Rashid Thadha20-Dec-01 6:48 
GeneralRe: Enumerating Catalogs using OLE DB Pin
PaulJ20-Dec-01 7:07
PaulJ20-Dec-01 7:07 
Questionhow to use LoadResource() Pin
Kuniva20-Dec-01 3:34
Kuniva20-Dec-01 3:34 
AnswerRe: how to use LoadResource() Pin
Pierre Heler-Caruel20-Dec-01 4:28
Pierre Heler-Caruel20-Dec-01 4:28 
Generali tried Pin
Kuniva20-Dec-01 8:00
Kuniva20-Dec-01 8:00 
GeneralRe: i tried Pin
Pierre Heler-Caruel20-Dec-01 20:51
Pierre Heler-Caruel20-Dec-01 20:51 
GeneralRe: i tried Pin
Kuniva21-Dec-01 2:53
Kuniva21-Dec-01 2:53 
GeneralRe: i tried Pin
Pierre Heler-Caruel21-Dec-01 4:18
Pierre Heler-Caruel21-Dec-01 4:18 
GeneralRe: i tried Pin
Kuniva21-Dec-01 6:16
Kuniva21-Dec-01 6:16 
AnswerRe: how to use LoadResource() Pin
Joaquín M López Muñoz20-Dec-01 4:28
Joaquín M López Muñoz20-Dec-01 4:28 
Answeri tried Pin
Kuniva20-Dec-01 6:20
Kuniva20-Dec-01 6:20 
AnswerRe: how to use LoadResource() Pin
Derek Waters20-Dec-01 11:02
Derek Waters20-Dec-01 11:02 
GeneralRe: how to use LoadResource() Pin
Kuniva21-Dec-01 2:53
Kuniva21-Dec-01 2:53 
GeneralRe: how to use LoadResource() Pin
Derek Waters1-Jan-02 10:48
Derek Waters1-Jan-02 10:48 
GeneralRe: how to use LoadResource() Pin
Kuniva2-Jan-02 5:04
Kuniva2-Jan-02 5:04 
Question"With" statement in MFC? Pin
User 665820-Dec-01 3:29
User 665820-Dec-01 3:29 

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.