![]() |
CXTHeaderCtrl problem |
Post Reply
|
| Author | |
sand1212
Newbie
Joined: 29 March 2007 Status: Offline Points: 14 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTHeaderCtrl problemPosted: 28 November 2007 at 3:23am |
|
Hi,
My solution have 4 projects.
One of my project has problem with CXTHeaderCtrl.
.h file:
CXTListCtrl m_listOrder;
CXTHeaderCtrl m_headerOrder; .cpp file:
HWND hWndHeader1 = m_listOrder.GetDlgItem(0)->GetSafeHwnd();
m_headerOrder.SubclassWindow(hWndHeader1); m_headerOrder.InitializeHeader(TRUE); error messages:
warning C4003: not enough actual parameters for macro 'SubclassWindow'
error C2059: syntax error : '(' error C2039: 'm_headerOrder' : is not a member of 'CXTHeaderCtrl' c:\program files\codejock software\mfc\xtreme toolkitpro v10.4.2\source\controls\xtheaderctrl.h(53) : see declaration of 'CXTHeaderCtrl' The others are OK, only this project has problem.
What problem do I have?
Regards.
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 29 November 2007 at 1:34am |
|
Just call
m_listOrder.SubclassHeader(); instead.
|
|
|
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 |