CXTPReportPaintManager::SetGridStyle |
Post Reply |
Author | |
ABuenger
Newbie Joined: 02 February 2006 Status: Offline Points: 1075 |
Post Options
Thanks(0)
Posted: 27 July 2010 at 5:43pm |
Hello,
the function is defined as: CXTPReportPaintManager::SetGridStyle(BOOL bVertical, XTPReportGridStyle gridStyle) Using a BOOL for the orientation is poor in my opinion and makes the code harder to read. Please overload it as: enum XTPReportGridOrientation { xtpReportGridOrientationVertical, xtpReportGridOrientationHorizontal, xtpReportGridOrientationBoth }; CXTPReportPaintManager::SetGridStyle(XTPReportGridOrientation orientation, XTPReportGridStyle gridStyle) Leave the old method for backwards compatibility, mark it as deprecated and get rid of it in the next version. |
|
Codejock support
|
|
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 |