![]() |
Override CXTPReportSection::Draw |
Post Reply ![]() |
Author | ||
shanmuganathan ![]() Groupie ![]() ![]() Joined: 01 December 2006 Status: Offline Points: 49 |
![]() ![]() ![]() ![]() ![]() Posted: 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 |
![]() ![]() ![]() ![]() ![]() |
|
Hello, did you try #include "XTPReportBorder.h" before CMyReportSection declaration ?
|
||
![]() |
||
shanmuganathan ![]() Groupie ![]() ![]() Joined: 01 December 2006 Status: Offline Points: 49 |
![]() ![]() ![]() ![]() ![]() |
|
Yes. i have #include "XTPReportBorder.h" in my code.
|
||
![]() |
||
olebed ![]() Senior Member ![]() Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
![]() ![]() ![]() ![]() ![]() |
|
---------------------------- [header file] -------------------------------------
-------------------------------- [source file] -------------------------------
|
||
![]() |
||
shanmuganathan ![]() Groupie ![]() ![]() Joined: 01 December 2006 Status: Offline Points: 49 |
![]() ![]() ![]() ![]() ![]() |
|
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 |