Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - [SOLVED] Setting focus on CXTPReportRecordItem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic Closed[SOLVED] Setting focus on CXTPReportRecordItem

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

Joined: 27 August 2005
Status: Offline
Points: 91
Direct Link To This Post Topic: [SOLVED] Setting focus on CXTPReportRecordItem
    Posted: 22 July 2011 at 1:26am


Hello,

I want to set focus on a particular CXTPReportRecordItem in a row. How do I do this?

Basically, when a user clicks on any part of the row, I only want the focus on one particular column.

I have added a drop down box constraint to the column. So I want the drop down button to be shown so that the user knows that it is something that can be changed.

Thanks.

Please do help.

Regards,
Gautam Jain
Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Direct Link To This Post Posted: 24 July 2011 at 10:00am
Hi,

try FocusSubItems(TRUE).

Andre

Codejock support
Back to Top
g_j_a_i_n View Drop Down
Groupie
Groupie
Avatar

Joined: 27 August 2005
Status: Offline
Points: 91
Direct Link To This Post Posted: 25 July 2011 at 3:51am

Nope. It didn't work.

SetFocusedColumn almost worked. I have a drop down at that column. I want to show the drop down button always in the report control when that row is clicked. SetFocusedColumn sets the focus but does not show the drop down button.

Can anybody help pleeaaaasseee? :)
Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Direct Link To This Post Posted: 25 July 2011 at 10:11pm
Hi,

set m_bShowNonActiveInPlaceButton of the paint manager to true.

Andre

Codejock support
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.157 seconds.