[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Creating Dialog Classes in VC++.net

Posted on 2007-07-31
1
Medium Priority
?
294 Views
Last Modified: 2013-11-26
in VC 6.0, we had the class wizard, which was a snap to use for associating dialog resources to a class.  The class template was created for you, and you could associate the dialog's various controls with variables very quickly.

In VC++.net (2005), is there some equivalent, or do I need to create (type) out each dialog class completely from scratch, and then create the control variables from scratch, etc.??

I've heard about using C# to create the dialogs and controls, and then porting to C++, but I don't want to do this.

Thanks, ahead of time.
0
Comment
Question by:clintonJ
1 Comment
 
LVL 22

Accepted Solution

by:
mahesh1402 earned 2000 total points
ID: 19600424
There is No class wizard as such in VC2005 as you have seen in VC6...Functionality is scattered...

Have a look at detailed explanation :
http://msdn2.microsoft.com/en-us/library/6761383e(VS.80).aspx

For control events: Right click on the control in the dialog editor, pick Add Event Handler.

For all possible events: Select the class in class view.  Right click and pick Properties.  Now review all the buttons at the top of the Properties window.  It lists messages, controls, virtual functions, etc. Click the one you want to add.

e.g you want to add handler for WM_CTLCOLOR OnCtlColor
Properties->Messages->WM_CTLCOLOR select at right OnCtlColor

-MAHESH
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
Suggested Courses

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question