??
解决方案 »
- 怎么区别用户移动鼠标和程序模拟移动
- tftp协议有基于UDP实现的,那是不是说使用UDP协议通信数据包的格式是不固定的。
- 修改注册表添加可信任站点 (VC MFC)
- 求 VCMFC.CHM VCCORE.CHM,VCEDIT.CHM,VCLANG.CHM这4个文件
- 为什么剪贴板里的中文信息不能显示
- 怎样去处 已经注册到winxp内核的 dll ,注册和删除的命令是什么?
- 有谁知道哪里有清华大学的计算机教程的下载啊,谢谢先!
- 谁了解Windows Installer,参与有分.
- 单选按钮对应的事件没有触发????
- 想做一个IE的插件,有一些还不明白的地方,想找大侠解释解释
- MDI创建视图问题
- 请教,RTLGuidFromString函数在NT下找不到,怎么办?
// of displaying the wait cursor during some lengthy
// processing.void LengthyFunction( )
{
// perhaps you display a dialog box before displaying a
// wait cursor CWaitCursor wait; // display wait cursor // do some lengthy processing} // destructor automatically removes the wait cursor// This example shows using a CWaitCursor object inside a block
// so the wait cursor is displayed only while the program is
// performing a lengthy operation.void ConditionalFunction( )
{
if ( SomeCondition )
{
CWaitCursor wait; // display wait cursor in this block only // do some lengthy processing } // at this point, the destructor removes the wait cursor
else
{
// no wait cursor--only quick processing
}
}
在资源管理器resouceview导入资源hnwse.cur。将其重定义ID为IDC_HANDS。//SetCursor(::LoadCursor(::AfxGetInstanceHandle(),MAKEINTRESOURCE(IDC_HANDS)));
SetCursor(AfxGetApp()->LoadCursor(IDC_HANDS));
//Sleep(1000);
//doing something
SetCursor(AfxGetApp()->LoadStandardCursor(IDC_ARROW));