03 2018 档案

MFC 单选按钮Radio使用注意
摘要:使用MFC Radio时遇到问题:数据交换时出现断言崩溃框 定位于: 解决方法: 1、按CTRL+D,保证同一组内的radio的tab序号是连续的; 2、同一组内,设置 radio1的属性: group、tabstop、auto均为true; 设置radio2的属性: group设为false,ta 阅读全文

posted @ 2018-03-29 11:57 我来乔23 阅读(2221) 评论(0) 推荐(0) 编辑

Shell应用之遍历回收站RecycleBin
摘要:C++ Code 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 /******************************** 阅读全文

posted @ 2018-03-28 15:14 我来乔23 阅读(703) 评论(0) 推荐(1) 编辑

SHGetSpecialFolderPath用法
摘要:The SHGetSpecialFolderPath function retrieves the path of a special folder that is identified by its CSIDL. Syntax Parameters Return Values For Window 阅读全文

posted @ 2018-03-28 14:55 我来乔23 阅读(1826) 评论(0) 推荐(0) 编辑

Windows网络接口API函数
摘要:Windows提供了一套非常轻量级的网络函数,方便进行网络应用开发,整理出来供参考使用。 The following functions are used in Windows networking: Obsolete Functions The following function is prov 阅读全文

posted @ 2018-03-28 11:51 我来乔23 阅读(4079) 评论(0) 推荐(0) 编辑

CDialog与CDialogEx的区别联系
摘要:CDialogEx类 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 ///////////// 阅读全文

posted @ 2018-03-28 10:30 我来乔23 阅读(6996) 评论(0) 推荐(4) 编辑

C++ STL迭代器与索引相互转换
摘要:0 前言 C++ STL提供了vector、list等模板容器,极大地方便了编程使用。 “遍历”是对容器使用的最常用的操作。 使用迭代器来遍历是最好最高效的遍历方法。 当然,对于有些容器的遍历除了使用迭代器,还可以使用传统的索引来遍历。 在实际编程中,需要迭代器和索引同时使用,混合编程,就难免会涉及 阅读全文

posted @ 2018-03-15 18:00 我来乔23 阅读(2409) 评论(0) 推荐(1) 编辑

VC++中CEdit控件实现回车换行
摘要:1、通过回车Enter换行: 这里要有两个设置 <1>.将控件的属性设置为Mutilines->true; <2>.将控件的另一个属性设置为Want return->true. 水平和垂直滚动条设置: <1>水平滚动条,控件属性设置为:Horizontal Scroll->true <2>垂直滚动条 阅读全文

posted @ 2018-03-14 16:13 我来乔23 阅读(626) 评论(0) 推荐(0) 编辑

VS2008链接错误fatal error LNK1104: cannot open file '*.obj'
摘要:This particular issue is caused by specifying a dependency to a lib file that had spaces in its path. The path needs to be surrounded by quotes for th 阅读全文

posted @ 2018-03-14 11:04 我来乔23 阅读(759) 评论(0) 推荐(0) 编辑

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

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

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

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

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

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

【转】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 阅读(369) 评论(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 阅读(310) 评论(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 阅读(203) 评论(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 阅读(452) 评论(0) 推荐(0) 编辑

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

posted @ 2018-03-02 10:36 我来乔23 阅读(350) 评论(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 阅读(3545) 评论(1) 推荐(0) 编辑

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

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

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示