自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 资源 (2)
  • 收藏
  • 关注

原创 _UNICODE和UNICODE的区别

_UNICODE用于C运行库。UNICODE用于WINAPI。在TCHAR.H中有以下的定义:#ifdef _UNICODE#else#endif在WINNT.H中有以下定义:#ifdef UNICODE #else /* UNICODE */ // r_winnt#endif /* UNICODE */

2016-07-29 12:10:00 744

翻译 C语言运行时库中哪些API在UWP中不可用?

_beep _sleep _seterrormode这些函数在以前版本的 CRT 中已过时。 此外,对应 Win32 API 不可用于 UWP 应用。无解决方法。chdir _chdrive getcwd这些函数已过时或不是线程安全的。使用 _chdir、_getcwd 及相关函数。_c

2016-05-31 22:40:09 2196

原创 WINDOWS/MAC/UNIX下, 文本文件换行符的区别

我们在书写文本文件时, 经常会输入换行, 这个换行符在WINDOWS/MAC/UNIX下会有不同:在WINDOWS下, 换行以\r\n(0x0d, 0x0a)形式出现, 也就是说, 这两个字节代表一个换行符.而在MAC下, 换行以\r(0x0d)形式出现.在UNIX下, 换行为\n(0x0a).

2015-02-12 15:19:26 783

原创 有关WIN32,_WIN32,_WIN64的几项说明

在使用VC编写程序时,有几个宏是常用的,这几个宏比较容易让人混乱

2014-09-19 11:15:27 1513 1

CListViewEx

非常好用的CListCtrl加强版。 从CListCtrl继承,完全兼容CListCtrl. 它有以下特性: • The background of the sorted column can be displayed in a different color (like the detailed view of Windows XP Explorer). • The header of the sorted column can display an arrow that indicates the sort direction (like the detailed view of Windows XP Explorer). • You can give the user the opportunity to hide or redisplay selected columns by just clicking on the header control with the right mouse button (see picture below). • You can hide or redisplay a selected column entirely. • In contrast to the original list view control, the first column can have the LVCFMT_CENTER or LVCFMT_RIGHT style, too. For this feature, the list view control must have the LVS_OWNERDRAWFIXED style. • The label attributes state icon, small icon, and selection can always be shown in the leftmost column, independent of the order of the columns. For this feature, the listview control must have the LVS_OWNERDRAWFIXED style. • You can supply tooltips not only for the whole item, but also for the small icon, the state icon, and each subitem label. • The extended styles LVS_EX_CHECKBOXES, LVS_EX_ONECLICKACTIVATE, LVS_EX_SUBITEMIMAGES, LVS_EX_TWOCLICKACTIVATE, and LVS_EX_UNDERLINEHOT will be supported even if the list view control has the LVS_OWNERDRAWFIXED style. • If the LVS_EX_CHECKBOXES style has been applied and a selected item will be checked/unchecked, all other selected items will be checked/unchecked, too. • If the LVS_EX_LABELTIP style has been applied, not only the partially hidden text of the item label will be unfolded but also the partially hidden text of each subitem label. Note: The LVS_EX_LABELTIP style will be supported under all operating systems. • Tooltips and expanded labels can be displayed simultaneously. • The current state of the list view control (column widths, column order, hidden columns, and sort column and direction) can be saved and restored.

2009-07-18

visualc++真彩调色板插件

很好用的VC6调色板插件,我们用它可以使用256色或32位真彩色的调色板,从而美化我们的源码编辑. 使用方法: (1)放在安装目标的\Common\MSDev98\AddIns文件夹下, (2)注册组件regsvr32 "C:\Program Files\Microsoft Visual Studio\Common\MSDev98\AddIns\DevTrueColour.dll" (3)添加插件

2009-06-17

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除