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

This is a discussion on how we could trap the message generated,when the start menu button is pressed??? within the Windows Programming forums, part of the Platform Specific Boards category; actually we r finding it difficult to understand that what r the messages generated by the window and how we ...

  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
    UNBANNED OneStiffRod's Avatar
    Join Date
    Jan 2002
    Posts
    669
    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-06-2010, 12:42 AM
  2. Next Question...
    By Azmeos in forum C++ Programming
    Replies: 3
    Last Post: 06-06-2003, 03:40 PM
  3. opengl program as win API menu item
    By SAMSAM in forum Game Programming
    Replies: 1
    Last Post: 03-03-2003, 07:48 PM
  4. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 10: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, 07:44 PM

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