- 博客(3)
- 收藏
- 关注
原创 CEdit文本上下居中(垂直居中)
<br />在多行模式下的CEdit类提供void CEdit::SetRectNP( LPCRECT lpRect)函数,此函数用来调整文本编辑的区域,用这个函数可以设置上下左右Margins,而void SetMargins( UINT nLeft, UINT nRight)函数只能设置左右Margins。<br /> <br />CRect rc = CRect(0,0,0,0);<br />edit.GetClientRect(&rc);<br />rc.DeflateRect(10,10,10,1
2010-12-11 02:48:00
3184
原创 VC如何按一定斜角输出字符串
<br />typedef struct tagLOGFONT { <br />LONG lfHeight; <br />LONG lfWidth; <br />LONG lfEscapement; // 输出角度<br />LONG lfOrientation; <br />LONG lfWeight; <br />BYTE lfItalic; <br />BYTE lfUnderline; <br />BYTE lfStrikeOut; <br />BYTE lfCharSet; <br />BYTE
2010-12-11 02:46:00
828
原创 XP 与VISTA中某些目录的不同
<br />Here is a comprehensive list of all the junction folders that have been moved in Windows Vista, along with their new location:<br />XP: Documents and Settings<br />Vista: Users<br />XP: Documents and Settings/$USER$/My Documents<br />Vista: Users/$US
2010-12-11 02:44:00
505
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人