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. Simple ActiveX control without GUI

Simple ActiveX control without GUI

Scheduled Pinned Locked Moved COM
questioncomdesigntutorial
5 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.
  • D Offline
    D Offline
    Daniel Strigl
    wrote on last edited by
    #1

    How can I create a simple ActiveX control, that has no GUI. I want to create a simple ActiveX control that is not visible in rutime in the client (like Visual Basic). It should be only display an little Icon during the design time in the client (VB), like the MsCOMM control. Any link, tutorial, sample? Thanks! Cheers, Daniel. -- FIND A JOB YOU LOVE, AND YOU'LL NEVER HAVE TO WORK A DAY OF YOUR LIFE. ;)

    G 1 Reply Last reply
    0
    • D Daniel Strigl

      How can I create a simple ActiveX control, that has no GUI. I want to create a simple ActiveX control that is not visible in rutime in the client (like Visual Basic). It should be only display an little Icon during the design time in the client (VB), like the MsCOMM control. Any link, tutorial, sample? Thanks! Cheers, Daniel. -- FIND A JOB YOU LOVE, AND YOU'LL NEVER HAVE TO WORK A DAY OF YOUR LIFE. ;)

      G Offline
      G Offline
      geo_m
      wrote on last edited by
      #2

      I believe that the switch "Invisible at runtime" does it (ATL wizard).

      D 1 Reply Last reply
      0
      • G geo_m

        I believe that the switch "Invisible at runtime" does it (ATL wizard).

        D Offline
        D Offline
        Daniel Strigl
        wrote on last edited by
        #3

        And how can I display a icon at design time? Cheers, Daniel. -- FIND A JOB YOU LOVE, AND YOU'LL NEVER HAVE TO WORK A DAY OF YOUR LIFE. ;)

        G 1 Reply Last reply
        0
        • D Daniel Strigl

          And how can I display a icon at design time? Cheers, Daniel. -- FIND A JOB YOU LOVE, AND YOU'LL NEVER HAVE TO WORK A DAY OF YOUR LIFE. ;)

          G Offline
          G Offline
          geo_m
          wrote on last edited by
          #4

          simply, the OnDraw method works as before, only the results will be visible only in design mode - you don't need to take special steps. I just tried it (because I never did it before) and the sample generated by the wizard implements the OnDraw with the standard "ATL:Test" but it was visible only in design time. In runtime it shows nothing. hope this helps

          D 1 Reply Last reply
          0
          • G geo_m

            simply, the OnDraw method works as before, only the results will be visible only in design mode - you don't need to take special steps. I just tried it (because I never did it before) and the sample generated by the wizard implements the OnDraw with the standard "ATL:Test" but it was visible only in design time. In runtime it shows nothing. hope this helps

            D Offline
            D Offline
            Daniel Strigl
            wrote on last edited by
            #5

            Thanks! I will try it! Cheers, Daniel. -- FIND A JOB YOU LOVE, AND YOU'LL NEVER HAVE TO WORK A DAY OF YOUR LIFE. ;)

            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