Foget my last post..Read this..

This is a discussion on Foget my last post..Read this.. within the Windows Programming forums, part of the Platform Specific Boards category; How would I detect a button press?...

  1. #1
    BubbleMan
    Guest

    Question Foget my last post..Read this..

    How would I detect a button press?

  2. #2
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,230
    Code:
    case WM_COMMAND :
        switch(LOWORD(wParam))
        {
             case ID_BUTTON:
             /*do stuff*/
             return 0;
         }
         return 0;
    I think that's right...it's been a while since I've done buttons.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to read a file stream entirely into a vector?
    By jiapei100 in forum C++ Programming
    Replies: 4
    Last Post: 01-06-2008, 03:22 PM
  2. read only folder on Windows
    By George2 in forum Windows Programming
    Replies: 2
    Last Post: 11-05-2007, 09:18 AM
  3. Replies: 1
    Last Post: 07-24-2002, 07:33 AM
  4. Help! Can't read decimal number
    By Unregistered in forum C Programming
    Replies: 2
    Last Post: 09-07-2001, 03:09 AM
  5. To all who read last post formatted output
    By spliff in forum C Programming
    Replies: 8
    Last Post: 08-21-2001, 04:37 AM

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