共用方式為


CWinApp::SetAppID

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
);

Parameters

  • lpcszAppID
    Specifies the Application User Model ID.

Requirements

Header: afxwin.h

See Also

Reference

CWinApp Class