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

SetLocked State

 Post Reply Post Reply
Author
Message
FSauer View Drop Down
Groupie
Groupie
Avatar

Joined: 10 May 2006
Location: Germany
Status: Offline
Points: 96
Post Options Post Options   Thanks (0) Thanks(0)   Quote FSauer Quote  Post ReplyReply Direct Link To This Post Topic: SetLocked State
    Posted: 04 June 2008 at 1:58pm
Hi at all.
 
Is it possible to set for an ReportRecord the state sortable=false?
Is the function CXTPReportRecord::SetLocked(TRUE) the correct one?
I test it, but it doesn't work.
 
My first ReportRecord(Row) shouldn't be sortable! Just as an Title.
 
Anyone an idea?
Back to Top
FSauer View Drop Down
Groupie
Groupie
Avatar

Joined: 10 May 2006
Location: Germany
Status: Offline
Points: 96
Post Options Post Options   Thanks (0) Thanks(0)   Quote FSauer Quote  Post ReplyReply Direct Link To This Post Posted: 18 June 2008 at 9:10am
I find the solution:
 
// Fixed rows
 m_wndReportCtrl.GetHeaderRecords()->InsertAt(0,pReportRecord);
 // Fixed rows appearance
 m_wndReportCtrl.ShowHeaderRows(TRUE);
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.