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
Solved

combobox problem

Posted on 1998-08-06
4
193 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Error on moodle after upgrade 3 140
EvenOdd challenge 10 125
mapAB Challlenge 35 155
"Black Box" Testing of Control System Software 2 70
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: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
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 shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

809 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