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. Windows API
  4. Vista shell extension and WM_INITDIALOG

Vista shell extension and WM_INITDIALOG

Scheduled Pinned Locked Moved Windows API
questionc++linuxhelp
1 Posts 1 Posters 1 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.
  • R Offline
    R Offline
    Rsquared
    wrote on last edited by
    #1

    I wrote a property-page shell extension in ATL and it works fine in Windows XP. Lately I have been working on updating it for Vista's UAC and found that the page only gets a WM_INITDIALOG the first time it appears. If I kill off and restart Explorer, then open the property sheet, the page gets a WM_INITDIALOG and initializes itself correctly. No problem. But then if I dismiss the property sheet and re-open it, on the same or a different object, the page gets no WM_INITDIALOG. How do I get the WM_INITDIALOG back? Is there a value I should be returning from IShellExtInit::Initialize or IShellPropSheetExt::AddPages or somewhere? The "PropSheetPageProc" callback is being called with PSPCB_CREATE each time the property sheet loads, WM_INITDIALOG or not. Are we expected to do dialog-initialization there? I don't see how, since there's no dialog-window handle available in PropSheetPageProc (the docs say the passed-in hWnd is always NULL).

    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