🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.tools.mfc
Article #74

Re: Controls in non-dialog (mfc)

#74
From: andrew oxenburgh
Date: Sun, 07 Apr 1996 09:29
17 lines
957 bytes
sj2393@ansys.com (Steve Jones) writes:
> How in MFC does one go about embedding a control within a
> window that is not a dialog box?  For example, I can
> construct and Create() a CEdit object within a CView derived
> class, but nothing (apparently) happens.  I knew when I
> tried it something wasn't quite right; I wasn't sure what to
> use for the nID.  Is it necessary to use a resource?
> 
> 
> steve
> 
> stevejones@ansys.com
> 


Steve, I'm an OWL programmer, not an MFC Programmer, but I'd say 
you also have to Show(SW_SHOW) to the CEdit.  ???
Technical Details
Message-ID: <4k81um$s8t@pub.news.uk.psi.net>
Path: arc1-ca.pugleaf.net!pub.news.uk.psi.net!usenet

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!pub.news.uk.psi.net!usenet
From: andrew oxenburgh <andrew.oxenburgh@private.nethead.co.uk>
Newsgroups: comp.os.ms-windows.programmer.tools.mfc,comp.lang.c++
Subject: Re: Controls in non-dialog (mfc)
Date: 7 Apr 1996 09:29:58 GMT
Organization: PSINet UK Public Usenet Site
Message-ID: <4k81um$s8t@pub.news.uk.psi.net>
NNTP-Posting-Host: ip17.videotron.usr1.nethead.co.uk