locked
Settings pane in CoreApplication C++ app

    Question

  • How can I add items to Settings pane and receive events when these items are invoked from a DirectX app that is based on a CoreApplication class?
    Friday, September 27, 2013 9:05 PM

Answers

  • See the App settings sample (Windows 8) 

    The API to add commands to the Settings pane are UI-agnostic. You'll do the same thing from a DirectX app as you would from a Xaml app.

    There will be a difference if you want to show UI in response to the settings commands - for example, if you want to show a flyout with more detailed settings UI. If you are strictly using DirectX then you'll need to implement this UI similar to how you'd implement your HUD or other menu options. If you are using Xaml interop then you can use the Xaml SettingsFlyout (new for Windows 8.1), write your own, or use a 3rd party settings flyout.

    --Rob

    Friday, September 27, 2013 9:31 PM
    Moderator

All replies

  • See the App settings sample (Windows 8) 

    The API to add commands to the Settings pane are UI-agnostic. You'll do the same thing from a DirectX app as you would from a Xaml app.

    There will be a difference if you want to show UI in response to the settings commands - for example, if you want to show a flyout with more detailed settings UI. If you are strictly using DirectX then you'll need to implement this UI similar to how you'd implement your HUD or other menu options. If you are using Xaml interop then you can use the Xaml SettingsFlyout (new for Windows 8.1), write your own, or use a 3rd party settings flyout.

    --Rob

    Friday, September 27, 2013 9:31 PM
    Moderator
  • Hi, the sample you refered to has been removed...
    Monday, December 30, 2013 8:51 AM
  • If you search the samples for "App Settings" you'll find the current version at App settings sample The Windows 8 version is in  the Windows 8 app samples pack

    --Rob.

     
    Monday, December 30, 2013 6:13 PM
    Moderator