Thread: Check box questions

  1. #1
    Registered User
    Join Date
    Jul 2007
    Posts
    6

    Check box questions

    Im trying to create a menu that has a check box in it, like Notepads Word Wrap option. Does anyone know a way I can do this?
    I found a tutorial on how to create checkboxes in your code, but I would like to do it in my resource document if possible, since thats where I make my menu.
    I also found a tutorial using MFC to do this, but Im not using MFC. I use Dev-C++. Thanks.

  2. #2
    Registered User
    Join Date
    Jul 2007
    Posts
    6
    MSDN says:
    1) The AUTOCHECKBOX statement can only be used in the body of a DIALOG or DIALOGEX statement.

    2) The CHECKBOX statement, which can only be used in a DIALOGEX statement...

    Does anyone know a way around it or are they right?

  3. #3
    Registered User Joelito's Avatar
    Join Date
    Mar 2005
    Location
    Tijuana, BC, México
    Posts
    310
    See CheckMenuItem
    * PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with xfce4.
    * Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with xfce4.

  4. #4
    Registered User
    Join Date
    Jul 2007
    Posts
    6
    Sweet thanks

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. trouble understanding collision detection code
    By silk.odyssey in forum Game Programming
    Replies: 5
    Last Post: 06-16-2004, 02:27 PM
  2. New Theme
    By XSquared in forum A Brief History of Cprogramming.com
    Replies: 160
    Last Post: 04-01-2004, 08:00 PM
  3. writing/reading from file produces double results.
    By stumon in forum C Programming
    Replies: 4
    Last Post: 03-20-2003, 04:01 PM
  4. Dialog Box & Property Sheet :: MFC
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 08-01-2002, 01:33 PM
  5. Limiting Characters in Edit Box :: MFC
    By kuphryn in forum Windows Programming
    Replies: 5
    Last Post: 06-02-2002, 10:21 AM