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. Reusable User Interface elements in Visual Studio

Reusable User Interface elements in Visual Studio

Scheduled Pinned Locked Moved C / C++ / MFC
c++visual-studiocsharpcomdesign
3 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.
  • R Offline
    R Offline
    RefuseResist13
    wrote on last edited by
    #1

    Hi. I am trying to make some reusable GUI components for several desktop application projects. These projects are all Windows (Win7), Visual Studio, C++ based. What do you think would be the best way to approach this problem? Right now i was thinking about one of these 2 ideas: - MFC ActiveX Control. - MFC extension Dll. So far ActiveX has the benefit of being able to be integrated directly in the VS resource editor and this would make the integration easier. On the other hand, ActiveX would allow only 1 GUI component per .OCX (am i wrong here? is it possible to incorporate more that 1 control in an .OCX file?) and this would mean that i would have to distribute a lot of .OCX files and it would just not look right. Can you tell me if ActiveX is still considered a "modern" way of doing things? I wouldn't want to use something that is about to be deprecated. Thanks.

    J D 2 Replies Last reply
    0
    • R RefuseResist13

      Hi. I am trying to make some reusable GUI components for several desktop application projects. These projects are all Windows (Win7), Visual Studio, C++ based. What do you think would be the best way to approach this problem? Right now i was thinking about one of these 2 ideas: - MFC ActiveX Control. - MFC extension Dll. So far ActiveX has the benefit of being able to be integrated directly in the VS resource editor and this would make the integration easier. On the other hand, ActiveX would allow only 1 GUI component per .OCX (am i wrong here? is it possible to incorporate more that 1 control in an .OCX file?) and this would mean that i would have to distribute a lot of .OCX files and it would just not look right. Can you tell me if ActiveX is still considered a "modern" way of doing things? I wouldn't want to use something that is about to be deprecated. Thanks.

      J Offline
      J Offline
      Jochen Arndt
      wrote on last edited by
      #2

      Please don't repost questions. You have already asked this at Reusable User Interface elements in Visual Studio[^] and got a first answer meanwhile. This avoids multiple threads about the same question.

      1 Reply Last reply
      0
      • R RefuseResist13

        Hi. I am trying to make some reusable GUI components for several desktop application projects. These projects are all Windows (Win7), Visual Studio, C++ based. What do you think would be the best way to approach this problem? Right now i was thinking about one of these 2 ideas: - MFC ActiveX Control. - MFC extension Dll. So far ActiveX has the benefit of being able to be integrated directly in the VS resource editor and this would make the integration easier. On the other hand, ActiveX would allow only 1 GUI component per .OCX (am i wrong here? is it possible to incorporate more that 1 control in an .OCX file?) and this would mean that i would have to distribute a lot of .OCX files and it would just not look right. Can you tell me if ActiveX is still considered a "modern" way of doing things? I wouldn't want to use something that is about to be deprecated. Thanks.

        D Offline
        D Offline
        David Crow
        wrote on last edited by
        #3

        RefuseResist13 wrote:

        is it possible to incorporate more that 1 control in an .OCX file?

        Yes.

        "One man's wage rise is another man's price increase." - Harold Wilson

        "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

        "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

        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