Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - Force Edit of new row...
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Force Edit of new row...

 Post Reply Post Reply
Author
Message
ddlittle View Drop Down
Senior Member
Senior Member


Joined: 19 February 2004
Location: United States
Status: Offline
Points: 132
Post Options Post Options   Thanks (0) Thanks(0)   Quote ddlittle Quote  Post ReplyReply Direct Link To This Post Topic: Force Edit of new row...
    Posted: 01 December 2009 at 4:15pm
I have a method that adds a line to a report control, and I want it to be selected and ready for edit - similar to adding a new folder in Explorer - but can't seem to find a sample (my add-a-record code follows).  Any ideas?

CXTPReportRecord* rec = new CXTPReportRecord;

InsertDefaultColumns(rec);

CString linName;

linName.Format("Line Number %d",m_nextLineNumber++);

rec->AddItem(new CXTPReportRecordItemText(linName));

m_OrgReport.AddRecord(rec);

m_OrgReport.Populate();

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.109 seconds.