Solved

Class Wizrad Woes

Posted on 1998-10-29
4
170 Views
Last Modified: 2013-11-20
I've created a Dialog Based win32 app using the App Wiz.
App Wiz generated the following three classes for me
(1) CTestApp (2) CTestDlg (3) CAboutDlg
Then i went to the dialog resource generated and started adding controls. lets say i created the following
controls
(a) a Push Button : ID = jPushButton_SomeButton
(b) an Edit Box : ID = jEditBox_SomeBox
Then i went to the class wizard to attach some events to these controls, but i do not see these controls listed for the class CTestDlg.
Though i see them listed for the class CTestApp, when i select any of the controls the messages list for that control is blank.
I am sure i've not made any settings changes.
What's Wrong & Why and What do i need to do.
regards
IUnknown

0
Comment
Question by:IUnknown
  • 2
4 Comments
 
LVL 2

Accepted Solution

by:
prasanth earned 50 total points
Comment Utility
Try deleting <projectname>.clw
That is the ClassWizard info file that may have been corrupted. After you delete it, the next time you start ClassWizad it will be regenerated.
0
 
LVL 1

Expert Comment

by:TimB
Comment Utility
I don't know which version of VC you're using, but I hear theres a bug that if your computers regonal language settings are not set to American English - the class wiazard doesn't always work.

Try opening your control panel & change reigonal settings to English (American)

Hope it works....

Tim
0
 
LVL 1

Expert Comment

by:TimB
Comment Utility
Ooops, forgot to mention that the bug only exists in VC 4 as far as I know, so if you're using a different version please disregard my last comment.

tim
0
 

Author Comment

by:IUnknown
Comment Utility
Thanks Prashant, That really solved my problem.
Wonder why it happens anyway.
hey listen, Do I know you ?????
get back with your details (where you're from & where you work etc) to peppito@hotmail.com
Thanks
IUnknown
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

771 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now