Check box questions

This is a discussion on Check box questions within the Windows Programming forums, part of the Platform Specific Boards category; Im trying to create a menu that has a check box in it, like Notepads Word Wrap option. Does anyone ...

  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
    305
    See CheckMenuItem

    * Debian 6.0.1 on Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM.
    * lighttpd, php5, perl, eruby, python.
    * geany, XHTML & CSS & JavaScript, C, C++.
    * GTK+ C & perl-gtk2

  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, 07:00 PM
  3. writing/reading from file produces double results.
    By stumon in forum C Programming
    Replies: 4
    Last Post: 03-20-2003, 03: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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21