股票数据格式 外汇交易系统 MT4编程 电子海图开发(S52 S57) AIS

http://alantop.5166.info

股票数据格式 外汇交易系统 MT4编程 电子海图开发(S52 S57) AIS
随笔 - 233, 文章 - 1, 评论 - 383, 引用 - 0
数据加载中……

AfxRegisterWndClass的目的

AfxRegisterWndClass是为了用自己的光标。

BOOL CBounceWnd::Create(LPCTSTR szTitle, LONG style, const RECT& rect, CWnd* parent)
{
    // Register a custom WndClass and create a window.
    // This must be done because CBounceWnd has a custom cursor, and
    //  no icon.
    LPCTSTR lpszBounceClass =
        AfxRegisterWndClass(CS_HREDRAW | CS_VREDRAW,
            LoadCursor(NULL, IDC_UPARROW),
            (HBRUSH)(COLOR_WINDOW+1),
            NULL);

    return CWnd::Create(lpszBounceClass, szTitle, style, rect, parent,
        IDC_BOUNCE_WND);
}

posted on 2007-07-16 20:43 AlanTop 阅读(268) 评论(2)  编辑 收藏 引用

评论

# re: AfxRegisterWndClass的目的  回复  更多评论   

谢谢你帮我解决了"AfxRegisterWndClass是为了用自己的光标。"这个问题
2007-08-07 12:20 | 紫金

# re: AfxRegisterWndClass的目的  回复  更多评论   

不客气。
2007-08-07 12:21 | AlanTop

标题  
姓名  
主页
验证码 *
内容(提交失败后,可以通过“恢复上次提交”恢复刚刚提交的内容)  
  登录  使用高级评论  新用户注册  返回页首  恢复上次提交      
[使用Ctrl+Enter键可以直接提交]




股票数据格式 外汇交易系统 MT4编程 电子海图开发(S52 S57) AIS