Thread: Simple combo box

  1. #1
    Registered User
    Join Date
    Jul 2003

    Simple combo box

    I'm using MVS .net 2003. I'm making a Windows Form App in C++ using the Designer.
    One question that I can't seem to find the answer to.
    I have 8 combo boxes, for 2 of the combo boxes, code has been generated with a new event when the index has been changed, and a empty function has been created also. I've looked at the propertes of all the combo boxes and they are all the same, but only two of them have this event handler.

    1) How do I add a event Handler for the other 6 combo boxes. Whenever I try to add the code manually, it gets erased when I change the form.


  2. #2
    Registered User
    Join Date
    Nov 2001
    First make sure each control has a unique ID. Use the resource editor to add new message handlers. If that does not work, do it manually. Use the working examples as references.


Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Combo Box Problem
    By osal in forum Windows Programming
    Replies: 1
    Last Post: 06-06-2004, 04:45 PM
  2. Best way to load lines of text from a file to a combo box
    By ganonl in forum Windows Programming
    Replies: 6
    Last Post: 04-15-2004, 11:07 AM
  3. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM
  4. Combo Box / DAO / PropertyPage troubles
    By Robert602 in forum Windows Programming
    Replies: 7
    Last Post: 03-05-2002, 11:29 AM
  5. Prob. with Combo Box in VC++
    By noname01 in forum C++ Programming
    Replies: 1
    Last Post: 01-21-2002, 03:21 PM
Website Security Test