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. MFC: Can't insert controls after inserting an ActiveX Control!!

MFC: Can't insert controls after inserting an ActiveX Control!!

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpcsharpvisual-studiocom
4 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
    Davex_
    wrote on last edited by
    #1

    Hi, It's the first time I'm using ActiveX Control. I'm working with VS .NET 2003 and I must say that I'm a beginner to C++ and MFC. My problem is after I have inserted an ActiveX Control (any ActiveX control), I can't insert any other controls, like a Button, Edit Control, etc. I select the control I want and when I click to insert it where I want, nothing happen! This problem is only in my main dialog: the CFormView dialog. I need help here, I tried a few things, but without success! Thanks, Dave

    D 1 Reply Last reply
    0
    • D Davex_

      Hi, It's the first time I'm using ActiveX Control. I'm working with VS .NET 2003 and I must say that I'm a beginner to C++ and MFC. My problem is after I have inserted an ActiveX Control (any ActiveX control), I can't insert any other controls, like a Button, Edit Control, etc. I select the control I want and when I click to insert it where I want, nothing happen! This problem is only in my main dialog: the CFormView dialog. I need help here, I tried a few things, but without success! Thanks, Dave

      D Offline
      D Offline
      Davex_
      wrote on last edited by
      #2

      Ok, I found out that the ActiveX control seems to be a coincidence. It's more like a have reach a limit on the quantity of controls I can have in my dialog!!! Is it possible? I can insert one more control, and after that, no more control can be inserted!!! I don't know why it's doing this! Dave

      R 1 Reply Last reply
      0
      • D Davex_

        Ok, I found out that the ActiveX control seems to be a coincidence. It's more like a have reach a limit on the quantity of controls I can have in my dialog!!! Is it possible? I can insert one more control, and after that, no more control can be inserted!!! I don't know why it's doing this! Dave

        R Offline
        R Offline
        Ryan Binns
        wrote on last edited by
        #3

        Davex_ wrote: It's more like a have reach a limit on the quantity of controls I can have in my dialog!!! Is it possible? The Visual C++ dialog edit only supports 256 controls on the dialog. Windows allows many more, of course, but you'll have to either manually edit the resource file, or create the controls at runtime.

        Ryan

        "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

        D 1 Reply Last reply
        0
        • R Ryan Binns

          Davex_ wrote: It's more like a have reach a limit on the quantity of controls I can have in my dialog!!! Is it possible? The Visual C++ dialog edit only supports 256 controls on the dialog. Windows allows many more, of course, but you'll have to either manually edit the resource file, or create the controls at runtime.

          Ryan

          "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

          D Offline
          D Offline
          Davex_
          wrote on last edited by
          #4

          Thanks, that's exactly my problem! I did a fast count of 249 controls! I'll redesign my dialog.

          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