Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Updating item text in OnInplaceButtonDown
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Updating item text in OnInplaceButtonDown

 Post Reply Post Reply
Author
Message
aholm View Drop Down
Newbie
Newbie


Joined: 18 April 2005
Location: Finland
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote aholm Quote  Post ReplyReply Direct Link To This Post Topic: Updating item text in OnInplaceButtonDown
    Posted: 18 April 2005 at 9:36am
Hi,

I have a report control containing 3 columns. All rows have the same record type which uses 3 record items. One of these items (derived from CXTPReportRecordItem) have an expand button (added with GetEditOptions(NULL)->AddExpandButton(); in its constructor).  When this button is clicked the item's OnInplaceButtonDown is called. The question is:

What is the appropriate way of updating the item's on screen text inside the OnInplaceButtonDown? Now it is not updated until the user clicks on another or the same row.

This seems like basic functionality, so I think I have overlooked something
simple.

    /Anders
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: 19 April 2005 at 7:48am
just call m_wndReportControl.RedrawControl();
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.125 seconds.