Solved

combobox problem

Posted on 1998-08-06
4
187 Views
Last Modified: 2013-11-19
environment : NT 4.0, VC++ 5.0
We are trying to improve a half-working software.
We wanted to add a new combo box to an existing dialog box, and connected it to the dialog's class.
But every time we do this - we cannot see the ID of our new combo box in the class wizard of the whole dialog box - so that we cannot create a function that will
be called after the user has selected an item from the dialog box.

The whole idea is that when you choose something from the combo box, it will put text inside a list box that is currenty below it.

Can you please help me? what exactly should I do and why does this happen (the fact that I cannot see the id of the combo box in the list of the items of the class)
How will I see the new combo box's id in this list?
0
Comment
Question by:hilit
  • 2
4 Comments
 
LVL 2

Accepted Solution

by:
Paullkha earned 50 total points
ID: 1320300
Possible solution.
I have had problems with ClassWizard as well not recognizing certain objects. I solved this by deleting .clw. Using VC++ 5.0 help, do a search on clw. Follow the instructions on "Rebuilding Class-Wizard File". Hope this is all that you need.
0
 
LVL 1

Author Comment

by:hilit
ID: 1320301
thanks, that worked... Another annoying and undocumented bug.
0
 
LVL 1

Author Comment

by:hilit
ID: 1320302
Hi again,

Now I have a similar problem (I added an entry to a menu) but now even deleting the .clw file doesn't help. I just can't add a new function.
What do I do this time?
0
 

Expert Comment

by:san_jha
ID: 1320303
Don't use the class Wizard, add the function manually.
For finding out what function to add create another temporary project and add a similar control or menu there and find out what changes class wizard makes to the code.

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
repeatEnd java challenge 42 84
repeateFront java challenge 31 92
Generic progress indicator 6 113
substring method in java 1 96
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

929 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

11 Experts available now in Live!

Get 1:1 Help Now