Thread: how we could trap the message generated,when the start menu button is pressed???

  1. #1
    Registered User
    Join Date
    Jan 2002
    Posts
    1

    how we could trap the message generated,when the start menu button is pressed???

    actually we r finding it difficult to understand that what r the messages generated by the window and how we could get those messages.

  2. #2
    Go to www.msdn.microsoft.com and look up these. These are the prefixes of windows messages, All messages have prefixes according to what class they fall in.


    WM_ //Windows Messages

    VK_ //Keyboard

    BM_ //Button Mouse

    BN_ //Button (Mouse)

    ...There may be more...

    EXAMPLE: BN_CLICKED is a Windows Message occuring when you click on a button (with your mouse), the EVENT occurs for clickable buttons like SUBMIT on this form.

    Certain functions take Msgs as args.
    My Avatar says: "Stay in School"

    Rocco is the Boy!
    "SHUT YOUR LIPS..."

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. BN_CLICKED, change button style
    By bennyandthejets in forum Windows Programming
    Replies: 13
    Last Post: 07-05-2010, 11:42 PM
  2. Next Question...
    By Azmeos in forum C++ Programming
    Replies: 3
    Last Post: 06-06-2003, 02:40 PM
  3. opengl program as win API menu item
    By SAMSAM in forum Game Programming
    Replies: 1
    Last Post: 03-03-2003, 06:48 PM
  4. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM
  5. How can I capture the WM_MOUSEMOVE message for a button?
    By pinkcheese in forum Windows Programming
    Replies: 8
    Last Post: 05-21-2002, 06:44 PM