locked
Launch WM default Settings Screen programatically RRS feed

  • Question

  • How can i open\Launch WM default Settings screen(Start Menu->Settings) programatically.

    Thanks in Advance.
    Monday, March 8, 2010 9:30 AM

Answers

  • I found the solution.

    Send message to the task bar window handle to launch the built-in Start screen Settings menu directly from an application.

     HWND hTbar = ::FindWindow(_T("HHTaskBar"),0);

    if (NULL != hTbar )

    {

    SendMessage(hTbar, WM_TASKBAR_LAUNCHSETTINGS, 0, 0);

    }

    • Marked as answer by amarb Tuesday, April 20, 2010 10:24 AM
    Tuesday, April 20, 2010 10:23 AM

All replies