Solved

Class Wizrad Woes

Posted on 1998-10-29
4
171 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
ID: 1324001
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
ID: 1324002
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
ID: 1324003
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
ID: 1324004
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Folder Comparison 12 53
while loop over for loop 7 93
conditional code and condition difference 9 77
Thin secure Windows 10 5 76
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…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

863 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

20 Experts available now in Live!

Get 1:1 Help Now