上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 46 下一页
摘要: CWinThread *thread = AfxBeginThread(DownloadAsync, this, THREAD_PRIORITY_NORMAL, 0, NULL); //可在线程内部直接调用此函数退出当前线程 AfxEndThread(resultCode); //等待线程执行结束 阅读全文
posted @ 2021-06-17 11:04 Hey,Coder! 阅读(62) 评论(0) 推荐(0)
摘要: GCHandle objHandle = GCHandle.Alloc(Globals.Instance.BlackBoard, GCHandleType.WeakTrackResurrection); int address = GCHandle.ToIntPtr(objHandle).ToInt 阅读全文
posted @ 2021-06-10 19:25 Hey,Coder! 阅读(1800) 评论(0) 推荐(0)
摘要: #include <iostream> #include <fstream> #include <sstream>std::stringstream ss; std::ifstream fileStream{ filePath, std::ios::binary }; std::stringstre 阅读全文
posted @ 2021-06-10 17:40 Hey,Coder! 阅读(600) 评论(0) 推荐(0)
摘要: <!--移除默认选中的阴影(通过绑定ItemContainerStyle来使用)--> <Style x:Key="ListItemNullFocusContainerStyle" TargetType="ListBoxItem"> <Setter Property="SnapsToDevicePi 阅读全文
posted @ 2021-05-27 20:56 Hey,Coder! 阅读(540) 评论(0) 推荐(0)
摘要: 预览字体 引用字体 <UserControl.Resources> <!-- 方式一 --> <FontFamily x:Key="IconFont"> Pack://application:,,,/MyApp;component/font/#fontname </FontFamily> <!-- 阅读全文
posted @ 2021-05-27 17:08 Hey,Coder! 阅读(124) 评论(0) 推荐(0)
摘要: [源码地址]( http://sourceforge.net/projects/jsoncpp ) 直接使用源码 拷贝相关文件 把jsoncpp-src-0.5.0文件拷贝到工程目录下 将jsoncpp-src-0.5.0\jsoncpp-src-0.5.0\include\json和jsoncpp 阅读全文
posted @ 2021-05-26 10:18 Hey,Coder! 阅读(601) 评论(0) 推荐(0)
摘要: DependencyPropertyDescriptor descriptor; descriptor = DependencyPropertyDescriptor.FromProperty(LeftProperty, typeof(Window)); //第一个对象为触发变化的对象 descrip 阅读全文
posted @ 2021-05-21 22:33 Hey,Coder! 阅读(547) 评论(0) 推荐(0)
摘要: 需要注意Release和Debug使用的dll可能有差异,Release时需要使用对应的Dll zlib源码文件中zlib123\contrib\vstudio此文件夹包含所需的zip、unzip相关实例代码minizip 最新版为zlib1.2.11 相关库文件 https://files.cnb 阅读全文
posted @ 2021-05-12 16:51 Hey,Coder! 阅读(1013) 评论(0) 推荐(1)
摘要: 插入activeX控件 类向导 双击mediaplayer插入对应的库文件 导入头文件 #include "wmpplayer4.h" #include "wmpsettings.h" #include "wmpcontrols.h" 创建对应的变量 CWMPPlayer4 player;//在类向 阅读全文
posted @ 2021-05-12 15:51 Hey,Coder! 阅读(118) 评论(0) 推荐(0)
摘要: <!--Datagrid排序右侧小三角图标样式--> <Style x:Key="DataGridSortHeaderStyle" TargetType="{x:Type DataGridColumnHeader}"> <Setter Property="Template"> <Setter.Val 阅读全文
posted @ 2021-04-15 13:15 Hey,Coder! 阅读(638) 评论(0) 推荐(0)
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 46 下一页