Thread: Foget my last post..Read this..

  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,227
    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, 06:33 AM
  4. Help! Can't read decimal number
    By Unregistered in forum C Programming
    Replies: 2
    Last Post: 09-07-2001, 02:09 AM
  5. To all who read last post formatted output
    By spliff in forum C Programming
    Replies: 8
    Last Post: 08-21-2001, 03:37 AM