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. How to show and handle CFormView in ActiveX

How to show and handle CFormView in ActiveX

Scheduled Pinned Locked Moved C / C++ / MFC
comtutorial
4 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.
  • S Offline
    S Offline
    sanskypotov
    wrote on last edited by
    #1

    Hi, Can someone tell me , How to show and handle CFormView in an ActiveX Control. Thanks, Sansky :-D God is Good, all the Time. All the Time, God is Good.

    M J 2 Replies Last reply
    0
    • S sanskypotov

      Hi, Can someone tell me , How to show and handle CFormView in an ActiveX Control. Thanks, Sansky :-D God is Good, all the Time. All the Time, God is Good.

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

      FormView wasn't really designed for placing in an activex control. What are you try to achieve as there may be a better way. I'm guessing you are wanting an activex control made up on a number of other controls? Have a search on MSDN for composite controls. Michael :-)

      S 1 Reply Last reply
      0
      • S sanskypotov

        Hi, Can someone tell me , How to show and handle CFormView in an ActiveX Control. Thanks, Sansky :-D God is Good, all the Time. All the Time, God is Good.

        J Offline
        J Offline
        Joaquin M Lopez Munoz
        wrote on last edited by
        #3

        If you do not intend to take advantage of SDI/MDI architecture, it's much easier to embed a CDialog-based object, just by specifying the ActiveX window as the parent when creating the dialog. Some CRect arithmetic could be needed too in the process of embedding. If you follow this approach, you can even get scroll bars without much effort. Joaquín M López Muñoz Telefónica, Investigación y Desarrollo

        1 Reply Last reply
        0
        • M Michael P Butler

          FormView wasn't really designed for placing in an activex control. What are you try to achieve as there may be a better way. I'm guessing you are wanting an activex control made up on a number of other controls? Have a search on MSDN for composite controls. Michael :-)

          S Offline
          S Offline
          sanskypotov
          wrote on last edited by
          #4

          Hi, Actually trying to develop an ActiveX , where I can show other some ActiveX's , which also needs to be dragged. So I believe that I need CFormView for this. According to the art Q155973, this is possible , but I am unable to find the sample DLGX.EXE at microsoft.com, any suggestions .:-D God is Good, all the Time. All the Time, God is Good.

          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