CWinApp::SetAppID
Visual Studio 2012
Explicitly sets Application User Model ID for the application. This method should be called before any user interface is presented to the user (the best place is the application constructor).
void SetAppID( LPCTSTR lpcszAppID );