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. Onclick

Onclick

Scheduled Pinned Locked Moved C / C++ / MFC
c++question
7 Posts 5 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.
  • E Offline
    E Offline
    Ever1234
    wrote on last edited by
    #1

    is there such a function in Microsoft visual C++? OnClick "To wonder is to begin to understand"

    L N PJ ArendsP 4 Replies Last reply
    0
    • E Ever1234

      is there such a function in Microsoft visual C++? OnClick "To wonder is to begin to understand"

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      You might want to take this to the appropriate discussion forum instead of here in the lounge. Most of the "regulars" here get pretty touchy about this stuff. P.S. - Look in the class wizard for a BN_CLICKED message. Mike Mullikin "It might look like I'm doing nothing, but at the cellular level I'm really quite busy."

      N 1 Reply Last reply
      0
      • L Lost User

        You might want to take this to the appropriate discussion forum instead of here in the lounge. Most of the "regulars" here get pretty touchy about this stuff. P.S. - Look in the class wizard for a BN_CLICKED message. Mike Mullikin "It might look like I'm doing nothing, but at the cellular level I'm really quite busy."

        N Offline
        N Offline
        Nish Nishant
        wrote on last edited by
        #3

        :confused: :confused: :confused: Where's the original post? Nish Sonork ID 100.9786 voidmain

        T 1 Reply Last reply
        0
        • E Ever1234

          is there such a function in Microsoft visual C++? OnClick "To wonder is to begin to understand"

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Go into ClassWizard, select the ID of your button. Double-click BN_CLICKED, if you did this for the IDOK Button it will create a function called myClass::OnOk(). It is in here that you enter all code you want processed when the button is clicked. Michael Martin Pegasystems Pty Ltd Australia martm@pegasystems.com +61 413-004-018 "Don't belong. Never join. Think for yourself. Peace" - Victor Stone

          1 Reply Last reply
          0
          • E Ever1234

            is there such a function in Microsoft visual C++? OnClick "To wonder is to begin to understand"

            N Offline
            N Offline
            Nish Nishant
            wrote on last edited by
            #5

            Not sure if this is what you want. But take a look at CWnd::OnLButtonDown or WM_LBUTTONDOWN Nish Sonork ID 100.9786 voidmain

            1 Reply Last reply
            0
            • E Ever1234

              is there such a function in Microsoft visual C++? OnClick "To wonder is to begin to understand"

              PJ ArendsP Offline
              PJ ArendsP Offline
              PJ Arends
              wrote on last edited by
              #6

              Not sure what you're trying to do, but this might help http://www.codeproject.com/buttonctrl/button_tute.asp --- It may be that your sole purpose in life is simply to serve as a warning to others.

              Within you lies the power for good; Use it!

              1 Reply Last reply
              0
              • N Nish Nishant

                :confused: :confused: :confused: Where's the original post? Nish Sonork ID 100.9786 voidmain

                T Offline
                T Offline
                Thomas Freudenberg
                wrote on last edited by
                #7

                I think he deleted it once he recogniced that this is the wrong forum. At last one user convinced :-D Regards Thomas


                Disclaimer:
                Because of heavy processing requirements, we are currently using some of your unused brain capacity for backup processing. Please ignore any hallucinations, voices or unusual dreams you may experience. Please avoid concentration-intensive tasks until further notice. Thank you.

                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