Report Control OnSize - Stack Overflow |
Post Reply |
Author | |
zitz
Senior Member Joined: 05 October 2008 Status: Offline Points: 112 |
Post Options
Thanks(0)
Posted: 05 October 2008 at 6:10am |
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi, Thanks, Please as workaround comment //m_wndReport.GetReportHeader()->SetAutoColumnSizing( FALSE );
line.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
zitz
Senior Member Joined: 05 October 2008 Status: Offline Points: 112 |
Post Options
Thanks(0)
|
ReportOnSize.zip is short example to show problem.
My workaround is ( i need AutoColumnSizing = FALSE ): void XXXReportControl::AdjustScrollBars() { // фиским багу в кодеджоке - переполнение стека if ( m_bOnSizeRunning ) m_nAdjustScrollBars++; if ( m_nAdjustScrollBars < 6 ) { CXTPReportControl::AdjustScrollBars(); } } void XXXReportControl::OnSize( UINT nType, int cx, int cy ) { if ( m_bOnSizeRunning == FALSE ) { CXTPReportControl::OnSize( nType, cx, cy ); m_nAdjustScrollBars = 0; } } |
|
zitz
Senior Member Joined: 05 October 2008 Status: Offline Points: 112 |
Post Options
Thanks(0)
|
Oleg, how can i send private messages to you? Where is PM button?
|
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
You can't PM. You can send and email to support@codejock.com instead. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Yes, we also changed our sources to prevent it for future.
Thanks!
|
|
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 |