This commit is contained in:
睿 安
2026-01-25 23:46:14 +08:00
parent 2a2a3d68d8
commit 37e7d278bd
727 changed files with 193377 additions and 7 deletions

22
demo/QQ/main.cpp Normal file
View 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;
}