Guest_imported
New member
- Jan 1, 1970
- 0
Hey
Is there anybody know ?
I received these faults when compiling in VC++ 5.0:
-DEBUG:
MainFrm.cpp(78) : error C2065: 'CBRS_GRIPPER' : undeclared identifier
MainFrm.cpp(78) : error C2661: 'CreateEx' : no overloaded function takes 3
parameters
-and here is the CODE:
if (!m_wndToolBar.CreateEx(this, TBSTYLE_FLAT, WS_CHILD | WS_VISIBLE |
CBRS_TOP
| CBRS_GRIPPER | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC) ||
!m_wndToolBar.LoadToolBar(IDR_MAINFRAME))
{
TRACE0("Failed to create toolbar\n"
return -1; // fail to create
}
I don't know why ?
Is there anybody know ?
I received these faults when compiling in VC++ 5.0:
-DEBUG:
MainFrm.cpp(78) : error C2065: 'CBRS_GRIPPER' : undeclared identifier
MainFrm.cpp(78) : error C2661: 'CreateEx' : no overloaded function takes 3
parameters
-and here is the CODE:
if (!m_wndToolBar.CreateEx(this, TBSTYLE_FLAT, WS_CHILD | WS_VISIBLE |
CBRS_TOP
| CBRS_GRIPPER | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC) ||
!m_wndToolBar.LoadToolBar(IDR_MAINFRAME))
{
TRACE0("Failed to create toolbar\n"
return -1; // fail to create
}
I don't know why ?