CWINAPP :: CWINAPP

zhaozj2021-02-08  200

CWINAPP :: CWINAPP CWINAPP (LPCTSTR LPSZAPPNAME = NULL);

parameter

LPSZAPPNAME

A string ending with NULL, which contains the name of the application used by Windows. If this parameter is not provided, or its value is NULL, CWINAPP uses the resource string AFX_IDS_APP_TITLE or the file name of the executable file.

Comment

Construct a CWINAPP object and pass lpszappname to it, and save it as the name of the application. You must create a global object of a CWINAPP derived class. There can be only a cwinapp object in your application. The constructor saves a pointer to the CWINAPP object, so WinMain can call the member function of the object to initialize and run the application.

Cwinapp Overview | Class Members | Hierarchy Chart

转载请注明原文地址:https://www.9cbs.com/read-3417.html

New Post(0)