不管什么样的途径创建,都有一个资源ID,有了这个ID,不就可以进行消息映射了吗?
所以我认为这不是问题.
所以我认为这不是问题.
解决方案 »
- 高手帮我帮看看指针错误
- 有偿求用VC开发扫描仪activex控件范例。
- mfc怎样从对话框类访问视图类?
- 如何通过RAPI获取PDA的唯一序列号,就是XXXXXX(20位) - XXXX(12位)这种序列号,不是DeviceID
- 我要enable/disable一块网卡怎么做?
- CMainframe类和CMyView类里映射的消息响应函数有什么不同?
- 我是VC新手,在Win32 Application中如何建立resource.h文件
- HTTP连接的代理
- 把从Edit control中获取的内容转换成char*的。
- 我最近要去上海找工作,可是不知上海在IT行业方面那种单位最好?
- 微软亚洲技术支持中心的朋友,请进来帮帮忙!!!
- 为什么在MDI的CMainFrame中得不到视的指针,(CMyView*)GetActiveView()返回一个NULL值
BOOL Create( LPCTSTR lpszCaption, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID );Return ValueNonzero if successful; otherwise 0.ParameterslpszCaptionSpecifies the button control’s text.dwStyleSpecifies the button control’s style. Apply any combination of button styles to the button.rectSpecifies the button control’s size and position. It can be either a CRect object or a RECT structure.pParentWndSpecifies the button control’s parent window, usually a CDialog. It must not be NULL.nIDSpecifies the button control’s ID.nID就是你的控件的ID呀!