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. CPropertySheet Minimize button

CPropertySheet Minimize button

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

    Hi, I have an dialog based app that has an initialisation dialog and a main dialog (property sheet). I have to switch between these dialogs and keep the non active one hidden. My problem is how do I put a minimize button on a Property Sheet dialog? Thanks ---

    N 1 Reply Last reply
    0
    • C Coremn

      Hi, I have an dialog based app that has an initialisation dialog and a main dialog (property sheet). I have to switch between these dialogs and keep the non active one hidden. My problem is how do I put a minimize button on a Property Sheet dialog? Thanks ---

      N Offline
      N Offline
      namaskaaram
      wrote on last edited by
      #2

      aaah.....create a new class derived from the CPropertySheet,..... then,override the virtual function OnInitDialog() OR the PreCreateWindow() function and add te following code......

      ModifyStyle(0,WS_MINIMIZEBOX);

      thatz it!!!! cheerz.....:-D "faith, hope, love remain, these three.....; but the greatest of these is love" -1 Corinthians 13:13

      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