Thread: Menu change state

  1. #1
    Registered User
    Join Date
    Apr 2007

    Menu change state


    I ve tried to look up my problem but unfortunately no result found so far.

    I am aiming for changing the menu button state from checked to unchecked as I click it...

    I tried already

    DWORD CheckMenuItem( HMENU hmenu,
    UINT uIDCheckItem,
    UINT uCheck

    LRESULT SetButtonState(const long &);

    Instead of the red text should be other arguments these are those which MS Visual studio offers me...

    Do you have an idea what else shall I use or in which different way to use these?

    Thank you for patience

  2. #2
    Join Date
    Oct 2007
    Inside my computer
    CheckMenuItem should do the trick I think. uCheck is the argument where to specify if it should be checked or unchecked.
    Been a while since I messed around with menus.

  3. #3
    Registered User
    Join Date
    Apr 2007
    thx works

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. type casting?
    By greatonesv in forum C Programming
    Replies: 12
    Last Post: 10-22-2008, 08:21 PM
  2. help with calculating change from a dollar
    By z.tron in forum C++ Programming
    Replies: 3
    Last Post: 09-13-2002, 03:58 PM
  3. Replies: 2
    Last Post: 09-04-2001, 02:12 PM