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: 1198
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 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017
Back to Top
olebed View Drop Down
Admin Group
Admin Group


Joined: 01 July 2014
Location: Ukraine
Status: Offline
Points: 841
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: 1198
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 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017
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.140 seconds.