Solved

combobox problem

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Expand LInux Boot partition remotly 3 90
Get filename and folder into excel 7 75
Expand to include initial dialog with two choices. 9 78
modThree challenge 4 90
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 Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
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.

773 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