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 add user defined buttons to Property Sheet?

How to add user defined buttons to Property Sheet?

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

    Hi In my property sheet, i disabled all default property sheet buttons. Now i want to add my own buttons to Property sheet. How to implement this? Thanks JP ALL THINGS ARE POSSIBLE UNTIL THEY ARE PROVED IMPOSSIBLE-AND EVEN THE IMPOSSIBLE MAY ONLY BE SO,AS OF NOW

    G 1 Reply Last reply
    0
    • P P_JAYAPRAKASH

      Hi In my property sheet, i disabled all default property sheet buttons. Now i want to add my own buttons to Property sheet. How to implement this? Thanks JP ALL THINGS ARE POSSIBLE UNTIL THEY ARE PROVED IMPOSSIBLE-AND EVEN THE IMPOSSIBLE MAY ONLY BE SO,AS OF NOW

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

      There is no easy way - you will have to add it one-be-one, after getting pointer to sheet window itself. I have not used it for a long time, but probably you have to do it from OnInitDialog. I'm using my own class, which is dialog based (so you use template for it), and handles switches of pages. Here is screenshot of typical complex dialog example, using this approach: http://www.grigsoft.com/ws000.gif[^]. If somebody is interested, I could probably post an article on CP about it - I will just clean up the code a bit. Igor Green http://www.grigsoft.com/ - files and folders comparison tools

      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