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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Custom Controls in VC++ .NET

Custom Controls in VC++ .NET

Scheduled Pinned Locked Moved C / C++ / MFC
c++questioncsharphelp
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.
  • F Offline
    F Offline
    Freddie Code
    wrote on last edited by
    #1

    I finally go the hang of creating custom controls in VC++6 MFC Wizard. I now need to create some custom controls in Visual C++ .NET (EditBox based). From what I've been reading, the way to do this in .NET is to create the contol in a .dll made with a "Managed C++ Class Library" project. Problem is, I don't want to have to link a .dll. I want the custom contol compiled right into the main program. How can I make a custom control that is compiled right into the project? :wtf: :confused: Thanks.

    C R 2 Replies Last reply
    0
    • F Freddie Code

      I finally go the hang of creating custom controls in VC++6 MFC Wizard. I now need to create some custom controls in Visual C++ .NET (EditBox based). From what I've been reading, the way to do this in .NET is to create the contol in a .dll made with a "Managed C++ Class Library" project. Problem is, I don't want to have to link a .dll. I want the custom contol compiled right into the main program. How can I make a custom control that is compiled right into the project? :wtf: :confused: Thanks.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      I'm almost certain that your VC code will work fine ( a class derived from the text control ). Certainly I don't see any reason why you couldn't do that. Christian Graus - Microsoft MVP - C++

      1 Reply Last reply
      0
      • F Freddie Code

        I finally go the hang of creating custom controls in VC++6 MFC Wizard. I now need to create some custom controls in Visual C++ .NET (EditBox based). From what I've been reading, the way to do this in .NET is to create the contol in a .dll made with a "Managed C++ Class Library" project. Problem is, I don't want to have to link a .dll. I want the custom contol compiled right into the main program. How can I make a custom control that is compiled right into the project? :wtf: :confused: Thanks.

        R Offline
        R Offline
        Rick York
        wrote on last edited by
        #3

        You can use what is essentially the same C++ from v6 in the .net version. You do NOT have to use any of the managed code languages if you do not want to. Managed code is not appropriate for my company's apps so we don't use it.

        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