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. Suppressing dialog UI in a property sheet

Suppressing dialog UI in a property sheet

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

    I have propertysheet with three dialogs. I want to process them automatically by calling OnWizardNext() in OnSetActive() method for not showing that dialog. It is working fine except for the final dialog. For the final dialog I am calling OnWizardFinish()on OnSetActive() of that dialog so that finish button functionality should automatically called but still I see that final dialog and need to press that finish button(don't know what am I missing). Can anyone please help me in that.

    Thanks, Mushtaque Nizamani

    _ _ 2 Replies Last reply
    0
    • M Mushtaque Nizamani

      I have propertysheet with three dialogs. I want to process them automatically by calling OnWizardNext() in OnSetActive() method for not showing that dialog. It is working fine except for the final dialog. For the final dialog I am calling OnWizardFinish()on OnSetActive() of that dialog so that finish button functionality should automatically called but still I see that final dialog and need to press that finish button(don't know what am I missing). Can anyone please help me in that.

      Thanks, Mushtaque Nizamani

      _ Offline
      _ Offline
      _Superman_
      wrote on last edited by
      #2

      Try calling DestroyWindow at the end.

      «_Superman_»

      M 1 Reply Last reply
      0
      • _ _Superman_

        Try calling DestroyWindow at the end.

        «_Superman_»

        M Offline
        M Offline
        Mushtaque Nizamani
        wrote on last edited by
        #3

        Thanks for the reply. still no luck, now it displays corrupted final dialog with finish button.

        Regards, Mushtaque Nizamani

        1 Reply Last reply
        0
        • M Mushtaque Nizamani

          I have propertysheet with three dialogs. I want to process them automatically by calling OnWizardNext() in OnSetActive() method for not showing that dialog. It is working fine except for the final dialog. For the final dialog I am calling OnWizardFinish()on OnSetActive() of that dialog so that finish button functionality should automatically called but still I see that final dialog and need to press that finish button(don't know what am I missing). Can anyone please help me in that.

          Thanks, Mushtaque Nizamani

          _ Offline
          _ Offline
          _AnsHUMAN_
          wrote on last edited by
          #4

          Why to give a call to the dialog when you intend to kill it explicitly without user intervation? BTW did you try PressButton(PSBTN_FINISH)

          You need to google first, if you have "It's urgent please" mentioned in your question. ;-)_AnShUmAn_

          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