备份
This commit is contained in:
22
demo/QQ/main.cpp
Normal file
22
demo/QQ/main.cpp
Normal file
@@ -0,0 +1,22 @@
|
||||
#include "loginForm.h"
|
||||
|
||||
int APIENTRY wWinMain(_In_ HINSTANCE hInstance,
|
||||
_In_opt_ HINSTANCE hPrevInstance,
|
||||
_In_ LPWSTR lpCmdLine,
|
||||
_In_ int nCmdShow)
|
||||
{
|
||||
//app类
|
||||
Application app(hInstance);
|
||||
app.EnableHighDpi();//启用高DPI
|
||||
app.SetResource("my_res");//设定资源名称
|
||||
|
||||
//创建登录创建
|
||||
LoginForm loginFrm;
|
||||
loginFrm.Show();
|
||||
|
||||
//loginFrm.CloseShadowBox();
|
||||
|
||||
//开始消息循环
|
||||
int code = app.Exec();
|
||||
return code;
|
||||
}
|
||||
Reference in New Issue
Block a user