|
-
Mar 24th, 2003, 05:14 PM
#1
Thread Starter
PowerPoster
VC++ IDE Question {RESOLVED}
Purchased VC++ 6.0 and have gone through all the books.
Understand MFC are wrappers around API calls. All well and good.
Per VC++ documentation, if a dialog box (form) is implemented in Resources (*.RC) then a dialog editor pops up and allows you to add/delete/modify controls on the dialog just like Visual Basic.
However, no mention is made on how you add/delete/modify a dialog box like VB or with the C++ dialog editor if it is generated in code (*.cpp).
Is there a way to bring up the dialog box and associated controls placed on it when created using MFC in code, and if so how?
OR
have I misunderstood the VC++ IDC.
Thanks
David
Last edited by dw85745; Mar 25th, 2003 at 10:25 PM.
-
Mar 25th, 2003, 07:48 AM
#2
Frenzied Member
Re: VC++ IDE Question
Originally posted by dw85745
(..)
However, no mention is made on how you add/delete/modify a dialog box like VB or with the C++ dialog editor if it is generated in code (*.cpp).
As far as I know, no... I think the resource editor can only edit resource files. But if anyone can prove that I am wrong, please do!
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Mar 25th, 2003, 12:06 PM
#3
No, you're correct Jop. VC++ can only edit dialog resources visually. Code that generates controls cannot be interpreted.
dw: Why did you BUY VC++ 6 when 7 is long out and 8 is already in beta?
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Mar 25th, 2003, 10:24 PM
#4
Thread Starter
PowerPoster
Thanks for the responses. Greatly appreciated. dw:
Why did you BUY VC++ 6 when 7 is long out and 8 is already in beta?
Two reasons:
1. Needed something fast to deal with a company who provided a lib and sample code to link to their server. Sample code was written in MFC which I don't know. Making good progress though -- just wish Microsoft had a master list of all the MFC classes similiar to API Guide for VB.
2. Got a great deal.
Last edited by dw85745; Mar 25th, 2003 at 10:28 PM.
-
Mar 27th, 2003, 02:12 PM
#5
You can click the "quote" button next to a post if you want to address the points seperatly. Makes it easier to read.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|