Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - TrackControl and SetVisible
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

TrackControl and SetVisible

 Post Reply Post Reply
Author
Message
zaksoft View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 June 2003
Location: Italy
Status: Offline
Points: 162
Post Options Post Options   Thanks (0) Thanks(0)   Quote zaksoft Quote  Post ReplyReply Direct Link To This Post Topic: TrackControl and SetVisible
    Posted: 16 August 2010 at 12:38pm
I need to show / hide track control. I'm doing the same calls both for standard column and track:
 
1) Get CXTPReportColumn * as pCol
2) pCol->SetVisible ( TRUE | FALSE )
 
This doesnt work for track control, objects inside disappear, but the host column is still there
 
Any suggestion ?
VS2008 SP1 - VS2010 SP1 - VS2012 - MFC MBCS Statically linked
XTP 15.3.1 Static Link
---------------------------------------------------------
Davide Zaccanti - ZakSoft - www.zaksoft.com
Back to Top
zaksoft View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 June 2003
Location: Italy
Status: Offline
Points: 162
Post Options Post Options   Thanks (0) Thanks(0)   Quote zaksoft Quote  Post ReplyReply Direct Link To This Post Posted: 21 August 2010 at 2:41am
Anyone can help ? any way to hide track control ?
 
I need also to know how to print track header. Using standard code for report control all items are printed except header, so bars are not understandable
 
TIA
VS2008 SP1 - VS2010 SP1 - VS2012 - MFC MBCS Statically linked
XTP 15.3.1 Static Link
---------------------------------------------------------
Davide Zaccanti - ZakSoft - www.zaksoft.com
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 23 August 2010 at 1:57am
Hi,

Yes, thanks needs fixes.

in CXTPTrackPaintManager::DrawTrackHeader add

     if (!pTrackColumn || !pTrackColumn->IsVisible())
          return;
Checking more.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
zaksoft View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 June 2003
Location: Italy
Status: Offline
Points: 162
Post Options Post Options   Thanks (0) Thanks(0)   Quote zaksoft Quote  Post ReplyReply Direct Link To This Post Posted: 13 September 2010 at 9:31am
Any update about this ?
VS2008 SP1 - VS2010 SP1 - VS2012 - MFC MBCS Statically linked
XTP 15.3.1 Static Link
---------------------------------------------------------
Davide Zaccanti - ZakSoft - www.zaksoft.com
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.