CFanatic

Go Back   CFanatic > Programming > MFC Programming

Join CFanatic Forum Now

Creating Multiple Dialog Frames in a single MFC Application topic posted under MFC Programming which is a part of Programming category in CFanatic Forum
Reply
 
Thread Tools Display Modes
  #1  
Old 02-07-2008, 04:04 AM
Junior Member
 
Join Date: Feb 2008
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
manmfc is on a distinguished road
| More
Creating Multiple Dialog Frames in a single MFC Application

Hi,
I am a new bee to MFC. I tried to create more than one Frame Dialogs in a single MFC application. But unfortunately I couldn't solve it.

I have a dialog frame with only one button that is "OK". Whenever if I click on OK, this dialog frame should disappear and a new dialog frame should come with lots of Check boxes, Radio buttons. Please help me how to do this.

And in one dialog frame I have 8 Labels. I want to do the text format for each format individually. I have checked in the label properties, I didn't get that. Is there any possibility that I can do that through coding.

Please help me out to come out of these problems.

Thanks in Advance.
Reply With Quote
  #2  
Old 02-26-2008, 02:23 AM
Junior Member
 
Join Date: Feb 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
maddymoves is on a distinguished road
| More
Thumbs up Re: Creating Multiple Dialog Frames in a single MFC Application

Quote:
Originally Posted by manmfc View Post
Hi,
I am a new bee to MFC. I tried to create more than one Frame Dialogs in a single MFC application. But unfortunately I couldn't solve it.

I have a dialog frame with only one button that is "OK". Whenever if I click on OK, this dialog frame should disappear and a new dialog frame should come with lots of Check boxes, Radio buttons. Please help me how to do this.

And in one dialog frame I have 8 Labels. I want to do the text format for each format individually. I have checked in the label properties, I didn't get that. Is there any possibility that I can do that through coding.

Please help me out to come out of these problems.

Thanks in Advance.

Hi dude,
There's nothing difficult. in the ok button of the dialog box, create a instance of the next dialog box u r going to open. and just use the foll code:

OnOK(); //to close the current dialog
dlg2.DoModal(); to open te next dialog

i donnt know whether there are any text formats for labels. but u can go to resorce view and insert the bitmap formats and use it for different buttons.

Try it and reply...
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
convert dialog application rachel196 MFC Programming 1 06-26-2008 10:31 AM
Problem while creating a class for new dialog dathatreya MFC Programming 1 04-02-2008 01:00 AM
msdos character mode console programming- multiple windows HowardL Driver Development 0 08-05-2007 11:35 AM
Tutorial for creating dialog controls dynamically? ajcrm125 Win32 Programming 0 09-30-2006 06:46 PM

 

Advertisement

CFanatic Search
Custom Search

Advertisement

All times are GMT -5. The time now is 03:15 PM.



Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO ©2010, Crawlability, Inc.
Cfanatic.com is a premier member of the IDG TechNetwork. For advertising opportunities contact here
Get Paid for Working on Projects Matching Your Expertise at Go4Expert's Jobs Board