我自己从CToolBar 继承了一个自己的类
然后自己在里面添加了
一个CStatic成员变量 想控制一块我自己规定的矩形区域CStatic::Create
Call this member function to create a Windows static control and attach it to the CStatic object.You construct a CStatic object in two steps. First call the constructor CStatic, then call Create. Syntax
BOOL Create( LPCTSTR lpszText, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID = 0xffff );//其中UINT nID = 0xffff
tempRect 为我已经画好的矩形区域m_wndDrawTool.m_SelectBox.Create("",WS_CHILD | WS_VISIBLE | SS_BITMAP,tempRect,&m_wndDrawTool,0xFFFF);然后老是出错,怀疑最后一个参数
想请问高手最后一个参数应该写什么啊
急啊,在线等待!
然后自己在里面添加了
一个CStatic成员变量 想控制一块我自己规定的矩形区域CStatic::Create
Call this member function to create a Windows static control and attach it to the CStatic object.You construct a CStatic object in two steps. First call the constructor CStatic, then call Create. Syntax
BOOL Create( LPCTSTR lpszText, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID = 0xffff );//其中UINT nID = 0xffff
tempRect 为我已经画好的矩形区域m_wndDrawTool.m_SelectBox.Create("",WS_CHILD | WS_VISIBLE | SS_BITMAP,tempRect,&m_wndDrawTool,0xFFFF);然后老是出错,怀疑最后一个参数
想请问高手最后一个参数应该写什么啊
急啊,在线等待!
解决方案 »
- 出现“unhandled exception in oxc000000005 :Acess Violation”错误与我对文件的操作不当有关系吗?
- 急,没有mfc appwizard
- 请教:用VC填充一个圆的外部背景
- 为什么会出现 HResult=-2147024894 的返回值
- 串口问题
- 太菜了,请别笑疼肚子!!
- 问一个很菜的问题:如何在VC下定义一个字符串
- 请问:VC怎样用ADO来访问数据库,用ADO与ODBC那个更好一些?
- 各位CSDN网友:我发现我们的com论坛很冷清,我是一个学习com的新手!看到这种场面心里很难受!
- 长春“金成电脑公司”哪为听过,公司如何??
- C++ test 下载
- DLL 使用的问题:
在resource.h中, #define ID_MYSTATIC 10001