From: Mark McIntyre <mark@garthorn.demon.co.uk>
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: <1NNWOC7RSh2Rk+gwNwkrvDlnSpqy@4ax.com> (raw)
In-Reply-To: quvb5ssmdbp14rhucjra7ahht1irg3v9i4@4ax.com
On Tue, 14 Dec 1999 19:24:22 +0000, David Lowndes <davidl@mvps.org>
wrote:
>>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
please take this away from Comp.lang.c as it is not c and has nothing
to do with the ANSI C language.
Mark McIntyre
C- FAQ: http://www.eskimo.com/~scs/C-faq/top.html
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
1999-12-14 0:00 ` Mark McIntyre [this message]
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