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. COM
  4. Get Control ID from ActiveX button

Get Control ID from ActiveX button

Scheduled Pinned Locked Moved COM
c++comquestion
3 Posts 2 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.
  • M Offline
    M Offline
    MailtoGops
    wrote on last edited by
    #1

    Hi, We have a MFC/VC++ application. We are using a active x button control in our application. I want to get control ID/Window ID(not handle) from the activeX control. How it is possible?. Thanks & Regards, Gopalakrishnan " Action without vision is only passing time, Vision without action is merely day dreaming, But vision with action can change the world " - Words from Nelson Mandela Thanks & Regards, Gopalakrishnan

    V 1 Reply Last reply
    0
    • M MailtoGops

      Hi, We have a MFC/VC++ application. We are using a active x button control in our application. I want to get control ID/Window ID(not handle) from the activeX control. How it is possible?. Thanks & Regards, Gopalakrishnan " Action without vision is only passing time, Vision without action is merely day dreaming, But vision with action can change the world " - Words from Nelson Mandela Thanks & Regards, Gopalakrishnan

      V Offline
      V Offline
      Veera Raghavendra
      wrote on last edited by
      #2

      with GetDlgCtrlId() we can get the button id. e.veera raghavendra

      M 1 Reply Last reply
      0
      • V Veera Raghavendra

        with GetDlgCtrlId() we can get the button id. e.veera raghavendra

        M Offline
        M Offline
        MailtoGops
        wrote on last edited by
        #3

        But you cannot get a control id from a active x button control " Action without vision is only passing time, Vision without action is merely day dreaming, But vision with action can change the world " - Words from Nelson Mandela Thanks & Regards, Gopalakrishnan

        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