Click here to Skip to main content
15,900,258 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: document view and dialog Pin
DevMentor.org11-Jul-07 18:51
DevMentor.org11-Jul-07 18:51 
GeneralRe: document view and dialog Pin
saisp11-Jul-07 19:07
saisp11-Jul-07 19:07 
GeneralRe: document view and dialog Pin
DevMentor.org11-Jul-07 23:29
DevMentor.org11-Jul-07 23:29 
GeneralRe: document view and dialog Pin
saisp11-Jul-07 23:43
saisp11-Jul-07 23:43 
GeneralRe: document view and dialog Pin
DevMentor.org12-Jul-07 0:55
DevMentor.org12-Jul-07 0:55 
GeneralRe: document view and dialog Pin
DevMentor.org12-Jul-07 1:02
DevMentor.org12-Jul-07 1:02 
GeneralRe: document view and dialog Pin
saisp12-Jul-07 1:15
saisp12-Jul-07 1:15 
GeneralRe: document view and dialog Pin
DevMentor.org12-Jul-07 2:23
DevMentor.org12-Jul-07 2:23 
did you read the article i told you about? did you build a test app like I told you to and look at the generated source!!!

if not do this first

here is an idea,

// header file your window definition 
class MyWindow : public CFrameWnd
{
   CWnd* m_pParent;

public:
   MyWindow( CWnd* pParent ) : m_pParent( pParent )
   {
      Create(  0, _T("Hello Window!!!") );
   }
};


// your dialog source file button click handler
void CPopupDlg::OnBnClickedButton1()
{
   if( m_pMyWindow == 0 ) {
      m_pMyWindow = new MyWindow( this );
   }

   if( m_pMyWindow->GetSafeHwnd() != 0 )
   {
      m_pMyWindow->ShowWindow( SW_SHOW );
      m_pMyWindow->UpdateWindow();
   }
}


GL

Yours Truly, The One and Only!

GeneralRe: document view and dialog Pin
saisp12-Jul-07 2:34
saisp12-Jul-07 2:34 
GeneralRe: document view and dialog Pin
DevMentor.org12-Jul-07 9:32
DevMentor.org12-Jul-07 9:32 
QuestionThe ActiveX Control embeded in Web Pin
eraccn11-Jul-07 16:08
eraccn11-Jul-07 16:08 
AnswerRe: The ActiveX Control embeded in Web Pin
LoveCPlusplus18-Jul-07 0:39
LoveCPlusplus18-Jul-07 0:39 
GeneralRe: The ActiveX Control embeded in Web Pin
eraccn18-Jul-07 3:33
eraccn18-Jul-07 3:33 
QuestionCheckDlgButton() not unchecking sometimes Pin
cfo5ter11-Jul-07 15:31
cfo5ter11-Jul-07 15:31 
AnswerRe: CheckDlgButton() not unchecking sometimes Pin
Mark Salsbery11-Jul-07 16:53
Mark Salsbery11-Jul-07 16:53 
AnswerRe: CheckDlgButton() not unchecking sometimes Pin
krmed12-Jul-07 2:21
krmed12-Jul-07 2:21 
QuestionBind Error with IIS Pin
eraccn11-Jul-07 15:03
eraccn11-Jul-07 15:03 
QuestionC2678: Problem & Solution Pin
John R. Shaw11-Jul-07 13:06
John R. Shaw11-Jul-07 13:06 
AnswerRe: C2678: Problem & Solution Pin
Stephen Hewitt11-Jul-07 13:40
Stephen Hewitt11-Jul-07 13:40 
GeneralRe: C2678: Problem & Solution Pin
John R. Shaw11-Jul-07 14:07
John R. Shaw11-Jul-07 14:07 
GeneralRe: C2678: Problem & Solution Pin
Stephen Hewitt11-Jul-07 14:36
Stephen Hewitt11-Jul-07 14:36 
GeneralRe: C2678: Problem & Solution Pin
John R. Shaw11-Jul-07 15:12
John R. Shaw11-Jul-07 15:12 
GeneralRe: C2678: Problem & Solution Pin
Stephen Hewitt11-Jul-07 15:18
Stephen Hewitt11-Jul-07 15:18 
GeneralRe: C2678: Problem & Solution Pin
John R. Shaw11-Jul-07 16:04
John R. Shaw11-Jul-07 16:04 
QuestionGDI Leak in CTreeCtrl with TVS_CHECKBOXES property Pin
bscaer11-Jul-07 10:25
bscaer11-Jul-07 10:25 

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.