?? index143.htm
字號(hào):
<html>
<style type="text/css"><!--
.p9 { font-family: "宋體"; font-size: 9pt}a {text-transform: none; text-decoration: none;}
a:hover {text-decoration: underline; color: #FF0000;}
--></style>
<body background="../di2001.jpg">
<h3 align="center"><font COLOR="#AOAO99"></font></h3>
<table width="100%" border="1" cellspacing="1">
<tr><td><p align="center"><font color="#FF0000">如何改變默認(rèn)的光標(biāo)形狀?</font></td></tr>
<tr><td><p>
</Br>
我試著將光標(biāo)改變?yōu)槠渌男螤詈皖伾?但卻沒有變化.<Br>
</Br>
在對(duì)話框/窗口/你需要的地方加上對(duì)WM_SETCURSOR消息的處理.<Br>
</Br>
BOOL MyDialog::OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message)<Br>
{<Br>
// TODO: Add your message handler code here and/or call default<Br>
::SetCursor(AfxGetApp()->LoadCursor(IDC_MYCURSOR));<Br>
return TRUE;<Br>
//return CDialog::OnSetCursor(pWnd, nHitTest, message);<Br>
}<Br>
你沒有成功的原因是因?yàn)榇翱陬惞鈽?biāo)風(fēng)格不能為NULL.<Br>
</Br>
</Br>
</p></td></tr>
</table>
</body></html>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -