Thread: Checking Menu Items

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Apr 2005
    Posts
    39

    Checking Menu Items

    Not sure if this should go here or in the C++ forum, so ill try here.

    I want to make a simple program, which creates a window (I got that part done). When the window opens, it displays a number (a variable). Then, there is a menu, which has multiple numbers on it, such as the numbers 1-10 under a popup called "1-10" etc. Ive got that part done too. I know how to make individual menu items with a check mark next to them, but how do you make only 1 have a check mark?

    For example, when you start the program, variable a=0. No menu items have check marks next to them. Then you select the number 2 on the menu. Now variable a=2, and the "2" menuitem has a check next to it. Then you select "1", and the variable a=1, and the "1" menuitem has a checkk next to it, and "2" does not.

    How would I go along doing this? It's probably simple...but I'm still new at this.

    EDIT: I just realized, I'm not sure how to display variables in windows. How would I do that?
    Last edited by Olidivera; 06-11-2005 at 03:01 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Another syntax error
    By caldeira in forum C Programming
    Replies: 31
    Last Post: 09-05-2008, 01:01 AM
  2. HELP!!!!emergency Problem~expert please help
    By unknowppl in forum C++ Programming
    Replies: 9
    Last Post: 08-21-2008, 06:41 PM
  3. HELP!!!!emergency ~expert please help
    By unknowppl in forum C Programming
    Replies: 1
    Last Post: 08-19-2008, 07:35 AM
  4. Profiler Valgrind
    By afflictedd2 in forum C++ Programming
    Replies: 4
    Last Post: 07-18-2008, 09:38 AM
  5. Problems about gcc installation
    By kevin_cat in forum Linux Programming
    Replies: 4
    Last Post: 08-09-2005, 09:05 AM