上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 57 下一页

2018年3月13日

VS2008设置快捷键Ctrl+W关闭当前打开的文本编辑器窗口

摘要: 好多友好的软件关闭多标签页的当前页时都有Ctrl+W的快捷键,如Chrome浏览器,使用起来还是很方便的。 但是作为程序员,使用VS2008时有时会打开好多C++或C#源文件,需要关闭某个源文件时你需要这样:右键->Close 这样的鼠标操作起来真的很费劲! 研究了下设置快捷键Ctrl+W的方式: 阅读全文

posted @ 2018-03-13 09:25 我来乔23 阅读(475) 评论(0) 推荐(0)

2018年3月9日

VC++分页打印实现

摘要: VC++分页打印实现: C++ Code 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 //打印对话框 DWORD dwFlags = PD_ALLPAGES | PD_ 阅读全文

posted @ 2018-03-09 15:16 我来乔23 阅读(751) 评论(0) 推荐(0)

2018年3月8日

CStringArray序列化处理

摘要: 开发中需要对CStringArray进行保存操作,涉及到序列化,特总结一下: 阅读全文

posted @ 2018-03-08 17:16 我来乔23 阅读(388) 评论(0) 推荐(0)

2018年3月2日

【转】C++ Incorrect Memory Usage and Corrupted Memory(模拟C++程序内存使用崩溃问题)

摘要: http://www.bogotobogo.com/cplusplus/CppCrashDebuggingMemoryLeak.php Incorrect Memory Usage and Corrupted Memory Here are the primary sources of the me 阅读全文

posted @ 2018-03-02 11:24 我来乔23 阅读(403) 评论(0) 推荐(0)

【转】Native Thread for Win32 C- Creating Processes(通俗易懂,非常好)

摘要: http://www.bogotobogo.com/cplusplus/multithreading_win32C.php To create a new process, we need to call CreateProcess(). Syntax: Parameters: The follow 阅读全文

posted @ 2018-03-02 11:10 我来乔23 阅读(329) 评论(0) 推荐(0)

【转】Native Thread for Win32 B-Threads Synchronization(通俗易懂,非常好)

摘要: http://www.bogotobogo.com/cplusplus/multithreading_win32B.php Synchronization Between Threads In the following example, two threads are used to calcul 阅读全文

posted @ 2018-03-02 11:03 我来乔23 阅读(212) 评论(0) 推荐(0)

【转】Native Thread for Win32 A- Create Thread(通俗易懂,非常好)

摘要: http://www.bogotobogo.com/cplusplus/multithreading_win32A.php Microsoft Windows operating system's support for multithreaded programming is almost sim 阅读全文

posted @ 2018-03-02 10:58 我来乔23 阅读(478) 评论(0) 推荐(0)

【转】关于OnPaint的工作机制

摘要: 转载出处:http://blog.csdn.net/foreverhuylee/article/details/21889025 用了两年的VC++,其实对OnPaint的工作原理一直都是一知半解。这两天心血来潮,到BBS上到处发帖询问,总算搞清楚了,现在总结一下。 对于窗口程序,一般有个特点:窗口 阅读全文

posted @ 2018-03-02 10:36 我来乔23 阅读(363) 评论(0) 推荐(0)

Window发声函数Beep、MessageBeep

摘要: C++ Code 1234567891011 WINBASEAPI BOOL WINAPI Beep(__in DWORD dwFreq, __in DWORD dwDuration ); WINUSERAPI BOOL WINAPI MessageBeep(__in UINT uType); C+ 阅读全文

posted @ 2018-03-02 09:51 我来乔23 阅读(3685) 评论(1) 推荐(0)

2018年3月1日

Sqlite - constraint failed[0x1555]: UNIQUE constraint failed

摘要: 执行插入操作时,出现异常constraint failed[0x1555]: UNIQUE constraint failed 意思是:sqlite 唯一约束失败 定位于某个表字段上,该字段是表的主键。 原因:插入的数据中该主键字段值在表中已有存在的记录。 解决方案:重新调整插入语句中该主键字段的值 阅读全文

posted @ 2018-03-01 15:41 我来乔23 阅读(22089) 评论(0) 推荐(1)

上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 57 下一页

导航