Click here to Skip to main content
15,919,423 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionBitmap --> Icon?? Pin
16-Feb-01 12:16
suss16-Feb-01 12:16 
AnswerRe: Bitmap --> Icon?? Pin
Christian Graus16-Feb-01 20:12
protectorChristian Graus16-Feb-01 20:12 
GeneralQuestions on build and link Pin
Eddie Ng16-Feb-01 8:40
Eddie Ng16-Feb-01 8:40 
GeneralRe: Questions on build and link Pin
Chris Meech16-Feb-01 8:47
Chris Meech16-Feb-01 8:47 
GeneralSending keyboard focus Pin
16-Feb-01 7:51
suss16-Feb-01 7:51 
GeneralNT SNMP Extention Agent and 16 bit APP Pin
MoZ16-Feb-01 5:15
MoZ16-Feb-01 5:15 
GeneralRe: NT SNMP Extention Agent and 16 bit APP Pin
Tim Deveaux16-Feb-01 7:29
Tim Deveaux16-Feb-01 7:29 
GeneralLaunching a CMiniFrame/CDocument/CView from CDialog Pin
Mustafa16-Feb-01 1:47
Mustafa16-Feb-01 1:47 
Hi All,
Been stuck with this problem for quite sometime now, tried some other discussion group - no help, hope someone here can help me....
I would like to launch a CMiniFrameWnd/CDocument/CView derived objects from a Dialog based program (Doc/View was not selected during AppWizard).This window is a floating window above MyDialog and contains all the built-in Doc/View architecture when launched. This is what I have done up to now:-

BOOL CTestApp::InitInstance()
{
Other stuffs.....

CSingleDoctemplate* pDocTemplate;
pDocTemplate=new CSingleDocTemplate(
IDR_MINIFRAME, // I also have a problem understanding the string
// resource needed for this value here, no menu,
// no icon
RUNTIME_CLASS(CMyDoc),
RUNTIME_CLASS(CMyMiniFrame),
RUNTIME_CLASS(CMyView));
AddDocTemplate(pDocTemplate);

CMyDlg dlg;
int nResponse=dlg.DoModal();
etc etc

}

void CMyDlg::OnButton1()
{
// Here is where I would like to launch my floating Doc/View Frame
// I have no idea how to do it......

}

Thanks For any help Smile | :)

Mustafa
GeneralRe: Launching a CMiniFrame/CDocument/CView from CDialog Pin
l a u r e n17-Feb-01 6:05
l a u r e n17-Feb-01 6:05 
GeneralCall stack window in VC++6.0 always empty while debugging Pin
Roland Schaufler15-Feb-01 22:51
Roland Schaufler15-Feb-01 22:51 
GeneralRe: Call stack window in VC++6.0 always empty while debugging Pin
Tim Deveaux16-Feb-01 7:34
Tim Deveaux16-Feb-01 7:34 
GeneralRe: Call stack window in VC++6.0 always empty while debugging Pin
Roland Schaufler18-Feb-01 22:17
Roland Schaufler18-Feb-01 22:17 
GeneralRe: Call stack window in VC++6.0 always empty while debugging Pin
Neville Franks18-Feb-01 23:19
Neville Franks18-Feb-01 23:19 
GeneralRe: Call stack window in VC++6.0 always empty while debugging Pin
Roland Schaufler19-Feb-01 0:23
Roland Schaufler19-Feb-01 0:23 
GeneralRe: Call stack window in VC++6.0 always empty while debugging Pin
Roland Schaufler19-Feb-01 0:24
Roland Schaufler19-Feb-01 0:24 
GeneralRe: Call stack window in VC++6.0 always empty while debugging Pin
Neville Franks19-Feb-01 0:37
Neville Franks19-Feb-01 0:37 
GeneralRe: Call stack window in VC++6.0 always empty while debugging Pin
Roland Schaufler19-Feb-01 0:48
Roland Schaufler19-Feb-01 0:48 
GeneralRe: Call stack window in VC++6.0 always empty while debugging Pin
Roland Schaufler20-Feb-01 4:23
Roland Schaufler20-Feb-01 4:23 
GeneralCan't see combobox's strings at Run time in ATL project Pin
Stephane Koomson15-Feb-01 11:29
Stephane Koomson15-Feb-01 11:29 
Generalsetting up Internet Connection Sharing programmatically Pin
15-Feb-01 8:55
suss15-Feb-01 8:55 
QuestionHow to prevent Windows from erasing my control prior to DrawItem()? Pin
15-Feb-01 8:52
suss15-Feb-01 8:52 
AnswerRe: How to prevent Windows from erasing my control prior to DrawItem()? Pin
Tim Deveaux16-Feb-01 4:04
Tim Deveaux16-Feb-01 4:04 
GeneralEnumerating dll exports Pin
15-Feb-01 8:11
suss15-Feb-01 8:11 
GeneralEnding processes notification Pin
confalonieri15-Feb-01 6:11
confalonieri15-Feb-01 6:11 
GeneralRe: Ending processes notification Pin
l a u r e n15-Feb-01 6:52
l a u r e n15-Feb-01 6:52 

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.