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. Toolbar in ActiveX Control

Toolbar in ActiveX Control

Scheduled Pinned Locked Moved C / C++ / MFC
comquestion
5 Posts 3 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
    Anand for every one
    wrote on last edited by
    #1

    Is there is any way to attach a toolbar to an ActiveX control ? :sigh:

    J S 2 Replies Last reply
    0
    • A Anand for every one

      Is there is any way to attach a toolbar to an ActiveX control ? :sigh:

      J Offline
      J Offline
      jahfer
      wrote on last edited by
      #2

      Hello Anand, I think this is not possible. You can do it if your activeX control gives any method to attach a toolbar to this control window. One more thing. I think you can develop your own control using the existing one(writing wrapper on the existing one) so that u can add the toolbar at the time of development. Any way, I am not quite sure. I hope these info will help you, Jahfer

      1 Reply Last reply
      0
      • A Anand for every one

        Is there is any way to attach a toolbar to an ActiveX control ? :sigh:

        S Offline
        S Offline
        Sheng Jiang
        wrote on last edited by
        #3

        SAMPLE: ColorFrm Demonstrates ActiveX Control with Popup Toolbar http://support.microsoft.com/default.aspx?scid=kb;en-us;166193[^] you can also create a dialog inside the control and place anything you want on ot. http://www.codeguru.com/Cpp/COM-Tech/activex/controls/article.php/c2615/[^] http://blog.joycode.com/jiangsheng http://blog.csdn.net/jiangsheng Command what is yours Conquer what is not ---Kane

        A 1 Reply Last reply
        0
        • S Sheng Jiang

          SAMPLE: ColorFrm Demonstrates ActiveX Control with Popup Toolbar http://support.microsoft.com/default.aspx?scid=kb;en-us;166193[^] you can also create a dialog inside the control and place anything you want on ot. http://www.codeguru.com/Cpp/COM-Tech/activex/controls/article.php/c2615/[^] http://blog.joycode.com/jiangsheng http://blog.csdn.net/jiangsheng Command what is yours Conquer what is not ---Kane

          A Offline
          A Offline
          Anand for every one
          wrote on last edited by
          #4

          i added the toolbar . but now i display a dialog box when double clicking on the activex control. it work fine. but when i touch the title bar to move the dialog box it hangs. please help me. :omg::sigh:

          S 1 Reply Last reply
          0
          • A Anand for every one

            i added the toolbar . but now i display a dialog box when double clicking on the activex control. it work fine. but when i touch the title bar to move the dialog box it hangs. please help me. :omg::sigh:

            S Offline
            S Offline
            Sheng Jiang
            wrote on last edited by
            #5

            try a modeless dialog with no title bar (Why you move the dialog in your ActiveX? It is a place holder for other controls.) http://blog.joycode.com/jiangsheng http://blog.csdn.net/jiangsheng Command what is yours Conquer what is not ---Kane

            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