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. Creating OCX with VC++

Creating OCX with VC++

Scheduled Pinned Locked Moved C / C++ / MFC
questionlearningc++comcareer
2 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.
  • J Offline
    J Offline
    Jose Carlos
    wrote on last edited by
    #1

    Hello everybody. I'm new here, so I apologyze if this question is inadequate or has been answered before. I usually program in VB in my job, but I'm using my little free time to learn C++. After learning the basics (I've programmed in C for some years, so the basics are easy), I'd like to do something useful for my VB programs in my company. I'd like to create some good looking flat buttons that get colored when the mouse is on them, and grey when the mouse leaves. I'd like to do it as an ActiveX control, so I can use them in my VB programs. So what I'm looking for is a tip, an advice, something to begin with... maybe a url with examples or the name of a good book... maybe an article here??? Anyway, thanks in advance. José C. José Carlos Martínez Galán. Computer analyst and programmer. I work in software developement since 1995. Mainly under Windows.

    M 1 Reply Last reply
    0
    • J Jose Carlos

      Hello everybody. I'm new here, so I apologyze if this question is inadequate or has been answered before. I usually program in VB in my job, but I'm using my little free time to learn C++. After learning the basics (I've programmed in C for some years, so the basics are easy), I'd like to do something useful for my VB programs in my company. I'd like to create some good looking flat buttons that get colored when the mouse is on them, and grey when the mouse leaves. I'd like to do it as an ActiveX control, so I can use them in my VB programs. So what I'm looking for is a tip, an advice, something to begin with... maybe a url with examples or the name of a good book... maybe an article here??? Anyway, thanks in advance. José C. José Carlos Martínez Galán. Computer analyst and programmer. I work in software developement since 1995. Mainly under Windows.

      M Offline
      M Offline
      Michael P Butler
      wrote on last edited by
      #2

      I'd recommend using ATL to create your control. Beginning ATL 3 COM Programming by Richard Grimes is a good book to get started with. I also found Programming Microsoft Visual C++ by Kruglinski to be useful. There are some good ATL/COM articles on CodeProject and there are some very cool button controls too. Michael :-)

      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