Solved

combobox problem

Posted on 1998-08-06
4
194 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

730 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