![]() |
Override CXTPReportSection::Draw |
Post Reply
|
| Author | ||
shanmuganathan
Groupie
Joined: 01 December 2006 Status: Offline Points: 49 |
Post Options
Thanks(0)
Quote Reply
Topic: Override CXTPReportSection::DrawPosted: 22 April 2015 at 2:36am |
|
|
I have inherited a class CMyReportSection from CXTPReportSection and override
the method Draw(). But i am getting the following error if i use the variable m_pBorder. error C2027: use of undefined type 'CXTPReportBorder' How to fix this error ?
|
||
![]() |
||
olebed
Senior Member
Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 April 2015 at 6:16am |
|
|
Hello, did you try #include "XTPReportBorder.h" before CMyReportSection declaration ?
|
||
![]() |
||
shanmuganathan
Groupie
Joined: 01 December 2006 Status: Offline Points: 49 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 April 2015 at 6:36am |
|
|
Yes. i have #include "XTPReportBorder.h" in my code.
|
||
![]() |
||
olebed
Senior Member
Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 April 2015 at 6:51am |
|
|
---------------------------- [header file] -------------------------------------
-------------------------------- [source file] -------------------------------
|
||
![]() |
||
shanmuganathan
Groupie
Joined: 01 December 2006 Status: Offline Points: 49 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 April 2015 at 7:28am |
|
|
Thanks. Now it is working.
|
||
![]() |
||
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 |