|
-
Sep 17th, 2000, 03:06 PM
#1
Thread Starter
Addicted Member
Hello!
It's me again! Who else could be than me... 
And I have another question.
As I told you in previous post I'm developing a MFC app.
The problem I have now is that I don't know how to show dialog I created in my resources. I've tried a few shots, but I allways got an error. I wrote CCDAboutDlg: oModal(); and I got an error. Compiler "told" me that CCDAboutDlg is NOT class. How can't it be?
Zvonko Bostjancic
Ilirska Bistrica, Slovenia
[email protected]
Using VS6 Professional with SP3
Programming mostly in VB and I've started to learn VC++ & MFC
-
Sep 17th, 2000, 03:24 PM
#2
Monday Morning Lunatic
You have to create an instance of your class:
Code:
CCDAboutDlg aboutDlg;
aboutDlg.DoModal();
IM me if any other problems.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
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
|