Solved

combobox problem

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
iSeries DB2 Query 2 84
java ^ examples 8 57
Detect file exist or not 3 78
SQUD PROXY SERVER, UNIX, SLL/HTTPS 5 47
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…
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
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.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

706 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