VC如何改变鼠标指针的显示?比如鼠标移动到按钮上就变成十字架.
来源:百度知道 编辑:UC知道 时间:2024/05/28 00:52:18
1,响应函数OnMouseMove()里怎么写,用什么函数.还有函数的参数功能是什么?
解决了问题的,加三十分!急急急!大虾们帮忙则个....
里面只要加上这一条就够了,说那么多干什么?
SetCursor(AfxGetApp()->LoadStandardCursor(IDC_SIZEALL));
其中 "IDC_..."是个参数,指定用的什么图标样式
HCURSOR myCursor;
Cursor Fields
Fields Description
APPSTARTING Specifies the cursor that appears as an application is starting.
ARROW Specifies an arrow cursor.
CROSS Specifies a crosshair cursor.
DEFAULT Specifies the default cursor, which is usually an arrow cursor.
HELP Specifies a help cursor, which is a combination of an arrow and a question mark.
HSPLIT Specifies the cursor that appears when the mouse is positioned over a horizontal splitter bar.
IBEAM Specifies an I-beam cursor, which is used to show where the text cursor will appear when the mouse is clicked.
NO Specifies a cursor which indicates that a particular region is invalid for a given operation.
SIZEALL Specifies a four-headed sizing cursor, which consists of four join