![]() |
FooterRecords, HeaderRecords and markup |
Post Reply ![]() |
Author | |
crystyce ![]() Groupie ![]() Joined: 19 August 2008 Location: Romania Status: Offline Points: 15 |
![]() ![]() ![]() ![]() ![]() Posted: 29 October 2009 at 8:56am |
Hi,
I noticed that HeaderRecords and FooterRecords (wich are very usefull) can't use Markup. That's because EnableMarkup creates a MarkupContext just for plain records. You can make this work by modifying CXTPReportControl::EnableMarkup like this: void CXTPReportControl::EnableMarkup(BOOL bEnable) { BOOL bOldEnable = GetMarkupContext() != NULL; if (bOldEnable == bEnable) return; XTPMarkupReleaseContext(m_pRecords->m_pMarkupContext); XTPMarkupReleaseContext(m_pHeaderRecords->m_pMarkupContext); XTPMarkupReleaseContext(m_pFooterRecords->m_pMarkupContext); if (bEnable) { m_pRecords->m_pMarkupContext = XTPMarkupCreateContext(m_hWnd); m_pHeaderRecords->m_pMarkupContext = XTPMarkupCreateContext(m_hWnd); m_pFooterRecords->m_pMarkupContext = XTPMarkupCreateContext(m_hWnd); } } My question is: will this fixes (including the one here: GroupRow, Hyperlink and markup) ever be included in a release? Because now when you will make a release I have to make the changes all over again for every computer. |
|
Product: Xtreme SuitePro (MFC) version 13.1.0
Platform: Windows XP (32bit) - SP 2 Language: Visual C++ 2008 |
|
![]() |
|
mdoubson ![]() Senior Member ![]() ![]() Joined: 17 November 2008 Status: Offline Points: 1705 |
![]() ![]() ![]() ![]() ![]() |
We can consider it but not in 13.2.1 - later
|
|
![]() |
|
mdoubson ![]() Senior Member ![]() ![]() Joined: 17 November 2008 Status: Offline Points: 1705 |
![]() ![]() ![]() ![]() ![]() |
I tested it - it works and I updared SVN - so it will be in 13.2.2 but you can get fresh source update here now - https://forum.codejock.com/uploads/DemoVersion/ReportControlMFCUpdated.rar
|
|
![]() |
|
zaksoft ![]() Senior Member ![]() ![]() Joined: 05 June 2003 Location: Italy Status: Offline Points: 162 |
![]() ![]() ![]() ![]() ![]() |
Source from release have always the same date/time, yours (probably) real update time, from MFC source all
#define ACTIVEX
are removed, so it's difficult to understand witch files have been updated, I use Araxis Merge to compare folders, (since date cannot be used) but it's very difficult and can be error proning.
Already scheduled 13.2.2 release ?
TIA
|
|
VS2022 - MFC MBCS Statically linked
XTP 23.1 Static Link --------------------------------------------------------- Davide Zaccanti - ZakSoft - www.zaksoft.com |
|
![]() |
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 |