02 2016 档案

摘要:1、 类似如下代码: 1 QString fileName = QFileDialog::getOpenFileName( 2 this, 3 tr("Open File"), 4 NULL,// ".", 5 tr("*.*")); 2、 阅读全文
posted @ 2016-02-29 15:26 CppSkill 阅读(4279) 评论(0) 推荐(0) 编辑
摘要:可以通过以下方式来获取: 1、 #include <QDir>#include <QDebug> QDir dir; qDebug() << "currentPath : "+dir.currentPath(); 2、 QApplication::applicationFilePath(); QCo 阅读全文
posted @ 2016-02-29 15:14 CppSkill 阅读(2616) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2016-02-29 14:40 CppSkill 阅读(4) 评论(0) 推荐(0) 编辑
摘要:#include <string> #include <vector> #include <deque> #include <queue> #include <stack> #include <list> #include <set> #include <map> #include <algorit 阅读全文
posted @ 2016-02-26 23:05 CppSkill 阅读(3070) 评论(0) 推荐(0) 编辑
摘要:PS: 代码参考于<<Windows环境下32位汇编语言程序设计.chm>>,第5章,"5.4 对 话 框(2)" 。 ZC: 与CreateWindow(Ex)相比,优点在于:(1)、窗口内容 所见即所得,(2)、写一个基本窗口所用的代码比CreateWindow(Ex)少(只需要写消息回调函数) 阅读全文
posted @ 2016-02-26 22:51 CppSkill 阅读(294) 评论(0) 推荐(0) 编辑
摘要:1、 1 #include <windows.h> 2 3 4 LRESULT CALLBACK ProcWindow(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam); 5 void QuitWindow(); 6 7 HINSTANCE g_ 阅读全文
posted @ 2016-02-26 22:45 CppSkill 阅读(351) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示