Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. WM_COMMAND

WM_COMMAND

Scheduled Pinned Locked Moved C / C++ / MFC
c++tutorial
10 Posts 7 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ashish dogra
    wrote on last edited by
    #1

    hi tell me about WM_COMMAND function in mfc with example or code to clear my concept Ashish Dogra MCA Noida

    A _ H S 4 Replies Last reply
    0
    • A ashish dogra

      hi tell me about WM_COMMAND function in mfc with example or code to clear my concept Ashish Dogra MCA Noida

      A Offline
      A Offline
      A_Fa
      wrote on last edited by
      #2

      The WM_COMMAND message is sent when the user selects a command item from a menu, when a control sends a notification message to its parent window, or when an accelerator keystroke is translated.

      1 Reply Last reply
      0
      • A ashish dogra

        hi tell me about WM_COMMAND function in mfc with example or code to clear my concept Ashish Dogra MCA Noida

        _ Offline
        _ Offline
        _AnsHUMAN_
        wrote on last edited by
        #3

        And here's an extension to the above post From DOCS wParam The high-order word specifies the notification code if the message is from a control. If the message is from an accelerator, this value is 1. If the message is from a menu, this value is zero. The low-order word specifies the identifier of the menu item, control, or accelerator. lParam Handle to the control sending the message if the message is from a control. Otherwise, this parameter is NULL. Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_ -- modified at 5:54 Thursday 13th July, 2006

        1 Reply Last reply
        0
        • A ashish dogra

          hi tell me about WM_COMMAND function in mfc with example or code to clear my concept Ashish Dogra MCA Noida

          H Offline
          H Offline
          Hamid Taebi
          wrote on last edited by
          #4

          Did you saw MSDN. From the MSDN "This message is sent when the user selects a command item from a menu, when a control sends a message to its parent window, or when an accelerator keystroke is translated."_**


          **_

          whitesky


          T 1 Reply Last reply
          0
          • A ashish dogra

            hi tell me about WM_COMMAND function in mfc with example or code to clear my concept Ashish Dogra MCA Noida

            S Offline
            S Offline
            Sarath C
            wrote on last edited by
            #5

            CP is not MSDN. There topics need some explanation. The first resource to get informatio is MSDN. if it's not clear (rare chance) or something not included, that can be asked here. Most of the MSDN entries regarding Win32 and MFC contains sample snippet. WM_COMMAND from MSDN[^] About Messages[^] SaRath.
            _"Where I am from, there is no plan B. So, take advantage of today becuase tomorrow is not promised. - 50 Cent"


            My Blog | Understanding State Patte_

            1 Reply Last reply
            0
            • H Hamid Taebi

              Did you saw MSDN. From the MSDN "This message is sent when the user selects a command item from a menu, when a control sends a message to its parent window, or when an accelerator keystroke is translated."_**


              **_

              whitesky


              T Offline
              T Offline
              toxcct
              wrote on last edited by
              #6

              Mr Dogra starts to really annoy by his dumb questions... :doh:


              TOXCCT >>> GEII power

              [VisualCalc 3.0  updated ][Flags Beginner's Guide  new! ]

              H 1 Reply Last reply
              0
              • T toxcct

                Mr Dogra starts to really annoy by his dumb questions... :doh:


                TOXCCT >>> GEII power

                [VisualCalc 3.0  updated ][Flags Beginner's Guide  new! ]

                H Offline
                H Offline
                Hamid Taebi
                wrote on last edited by
                #7

                Hi toxcct, its not problem do you konw why?i think he is lucky because he and you and programers are here and he find his answer when he has a question he write his question here whatever this question is clear or not clear but when i start to learn VC i dont have any resource (teacher or website or anything) except MSDN "Viens,laissons l'Avenir; laissons nos chagrins fous Jouissons du present fugitif et si doux!"(Khayyam)_**


                **_

                whitesky


                T 1 Reply Last reply
                0
                • H Hamid Taebi

                  Hi toxcct, its not problem do you konw why?i think he is lucky because he and you and programers are here and he find his answer when he has a question he write his question here whatever this question is clear or not clear but when i start to learn VC i dont have any resource (teacher or website or anything) except MSDN "Viens,laissons l'Avenir; laissons nos chagrins fous Jouissons du present fugitif et si doux!"(Khayyam)_**


                  **_

                  whitesky


                  T Offline
                  T Offline
                  toxcct
                  wrote on last edited by
                  #8

                  actually, it's always easy to ask valuable people who know the answer to your question. but hey, the minimum he can do he search a bit by itself, googling, searching the msdn... and only then, ask the forum. people sometimes seems so lazy :(


                  TOXCCT >>> GEII power

                  [VisualCalc 3.0  updated ][Flags Beginner's Guide  new! ]

                  H 1 Reply Last reply
                  0
                  • T toxcct

                    actually, it's always easy to ask valuable people who know the answer to your question. but hey, the minimum he can do he search a bit by itself, googling, searching the msdn... and only then, ask the forum. people sometimes seems so lazy :(


                    TOXCCT >>> GEII power

                    [VisualCalc 3.0  updated ][Flags Beginner's Guide  new! ]

                    H Offline
                    H Offline
                    Hamid Taebi
                    wrote on last edited by
                    #9

                    of course you right before ask a question he can search then he asks I agree with you_**


                    **_

                    whitesky


                    E 1 Reply Last reply
                    0
                    • H Hamid Taebi

                      of course you right before ask a question he can search then he asks I agree with you_**


                      **_

                      whitesky


                      E Offline
                      E Offline
                      earl
                      wrote on last edited by
                      #10

                      Except he obviously was too lazy because simply typing WM_COMMAND (no need even for site:msdn.microsoft.com) into google brings up the relevant information. earl

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups