摘要: 对话框 分类 模态对话框 QDialog dlg(this); dlg.resize(200,100); dlg.exec(); //窗口阻塞 非模态对话框 QDialog *dlg2 = new QDialog; //防止一闪而过,创建到堆区 dlg2->resize(200,100); dlg2 阅读全文
posted @ 2021-03-17 23:35 strive-sun 阅读(51) 评论(0) 推荐(0) 编辑
摘要: 该代码来源于codeproject,经过测试发现,在屏幕处于旋转的情况下捕获的图像是黑色的。暂时没有找到原因。 代码开箱即用, #define WIN32_LEAN_AND_MEAN #include <windows.h> #include <shlobj.h> #include <shellap 阅读全文
posted @ 2021-03-17 15:20 strive-sun 阅读(1023) 评论(0) 推荐(0) 编辑