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. Mobile Development
  3. Mobile
  4. emulating propertysheet

emulating propertysheet

Scheduled Pinned Locked Moved Mobile
helpcomalgorithmstutorialquestion
2 Posts 2 Posters 4 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.
  • M Offline
    M Offline
    mengi
    wrote on last edited by
    #1

    Hi All, I want to to have ActiveX on my porpertypages, and after searching, I found that I CAN'T do that, this is a known bug. Now I turn to a new way, I want to have a menubar, and clicking a button will show the corresponding page, however, I face another problem...:(( I call the page by DoModal, but, for example, when I call page1, then page2, then page1 again, the 3rd call will be a "NEW" page1, not the previous one... any suggestion on that ?? Thanks in advance.

    J 1 Reply Last reply
    0
    • M mengi

      Hi All, I want to to have ActiveX on my porpertypages, and after searching, I found that I CAN'T do that, this is a known bug. Now I turn to a new way, I want to have a menubar, and clicking a button will show the corresponding page, however, I face another problem...:(( I call the page by DoModal, but, for example, when I call page1, then page2, then page1 again, the 3rd call will be a "NEW" page1, not the previous one... any suggestion on that ?? Thanks in advance.

      J Offline
      J Offline
      Joao Paulo Figueira
      wrote on last edited by
      #2

      This is a nasty problem. Maybe you can do this using CDialog but you have to remember some issues: 1-Each dialog has its own toolbar, so you will not get away with just one toolbar for all dialogs. 2-Before showing the second dialog, you can end the first one. But this might cause screen flicker. 3-Why not use modeless dialogs? They can all coexist and you can show or hide them as needed. I suspect that for this solution, you would have to create a class to manage them all. Each modeless dialog would have a pointer to the manager (can be a non-window class) to have it hide one dialog and show the next. Hope I made some sense to you. Good luck!

      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