Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - HOWTO: Navigate left/right in report control
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

HOWTO: Navigate left/right in report control

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

Joined: 14 July 2003
Status: Offline
Points: 1007
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Topic: HOWTO: Navigate left/right in report control
    Posted: 01 June 2017 at 9:51am
Hi;

I have initialized a report control in a CXTPResizeDialog and I turn off column auto sizing ( GetReportHeader()->SetAutoColumnSizing(FALSE);).
My Problem is, that I can not navigate using the arrow keys LEFT/RIGHT to the left or right most columns. Both keys do the same as UP/DOWN.

Any ideas what I'm missing here? How can I navigate LEFT/RIGHT using the keyboard?

BTW: IN this case I'm using v17.3.0 of the toolkit in VS2008.
Martin

Product: Xtreme Toolkit v 15.3.1, new Projects v 18.0.1
Platform: Windows 8.1 (64bit)
Language: VC++ 2015 U
Back to Top
olebed View Drop Down
Admin Group
Admin Group
Avatar

Joined: 01 July 2014
Location: Ukraine
Status: Offline
Points: 627
Post Options Post Options   Thanks (0) Thanks(0)   Quote olebed Quote  Post ReplyReply Direct Link To This Post Posted: 01 June 2017 at 12:03pm
m_wndReportCtrl.FocusSubItems(TRUE);
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1007
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 02 June 2017 at 1:19am
Hi;

I know this, but I don't want to focus the sub items. I need only horizontal scrolling using the left/right (ctrl-left/ctrl-right) buttons.
Martin

Product: Xtreme Toolkit v 15.3.1, new Projects v 18.0.1
Platform: Windows 8.1 (64bit)
Language: VC++ 2015 U
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.141 seconds.