Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 11-07-2007, 03:07 PM   #1 (permalink)
complete
Code Monkey
 
complete's Avatar
 
Join Date: Jul 2005
Location: St. Louis
Posts: 71
complete is on a distinguished road
MFC component added to a Dialog Box on the fly.

I am going to be trying to do something a little unusual soon. I want to have an MFC dialog box presented to the user but according to how many nodes exist in a link list (build before the dialog box is created and also while the dialog box is visible), any number of elements can be presented on the dialog box.

This requires some thinking. In MFC, dialog boxes are created by the programmer and its details are stored in a resource file (called .RC file) before the code is created.

On the other hand, WIN32 type programs have the ability to have dialog boxes available to the programmer at a moments whim. and the shape and content of the dialog box can be determined at run time.

I want to merge these two abilities so that I have a "hard coded" dialog box defined in the .rc file and yet at run time, I can add something to this dialog box.
__________________
46 45 52 4D 49 20 57 41 53 20 4A 45 44 49 2E 10
20 53 41 47 41 4E 20 57 41 53 20 53 49 54 48 2E
complete is offline   Reply With Quote
Reply

Bookmarks

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
User Defined Dialog Box in Javascript vaidhiswaran HTML, XML, Javascript, AJAX 3 02-14-2006 12:51 AM
what language is this? sde All Other Coding Languages 10 05-25-2004 03:57 PM
Changing variable type for edit box : mfc - .net sde Standard C, C++ 0 01-31-2003 09:53 AM


All times are GMT -8. The time now is 07:34 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting