![]() |
GetCommandBars from CXTResizeDialog derived dialog |
Post Reply
|
| Author | |
lauralucas
Newbie
Joined: 24 October 2006 Status: Offline Points: 2 |
Post Options
Thanks(0)
Quote Reply
Topic: GetCommandBars from CXTResizeDialog derived dialogPosted: 24 October 2006 at 3:56pm |
|
hello
i'm trying to create a toolbar from a dialog class defined like this: class CClientSideDlg : public CXTPDialogBase<CXTResizeDialog> { .... } I have this method: bool CClientSideDlg::CreateToolBars() { if (!InitCommandBars()) return false; // Get a pointer to the Command Bar object. CXTPCommandBars* pCommandBars = GetCommandBars(); ... } on compilation, I get: ![]() error C2065: 'InitCommandBars' : undeclared identifier error C2065: 'GetCommandBars' : undeclared identifier any ideas? maybe I'm missing an include? help me please |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 25 October 2006 at 1:17am |
|
Hello,
Code looks right.
may be you have some old version... Check if Source\CommandBars\XTPDialogBase.h file exists and InitCommandBars method.
maybe you have some custom macros for CXTPDialogBase...
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |