From: David Lowndes <davidl@mvps.org>
Subject: Re: passing an Hwnd from a C lang prog to a MFC dll
Date: 1999/12/14
Date: 1999-12-14T00:00:00+00:00 [thread overview]
Message-ID: <quvb5ssmdbp14rhucjra7ahht1irg3v9i4@4ax.com> (raw)
In-Reply-To: 385561c4.0@munix01.marshall.edu
>I want to be able to associate the passed Hwnd with a Cwnd so that I can
>create the instance of the CDialog. Cwnd::Attach(new Hwnd) doesn't work..
Bill,
It should work. I've used it like this:
CWnd Parent;
Parent.Attach( hwnd );
CMyDlg dlg( &Parent );
Dave
--
My address is altered to discourage junk mail.
Please post responses to the newsgroup thread,
there's no need for follow-up email copies.
next prev parent reply other threads:[~1999-12-14 0:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-12-13 0:00 passing an Hwnd from a C lang prog to a MFC dll bill rawlinson
1999-12-14 0:00 ` David Lowndes [this message]
1999-12-14 0:00 ` Mark McIntyre
1999-12-17 0:00 ` David Botton
1999-12-15 0:00 ` Bill Rawlinson
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox