CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    How to Trap arrow key movements in MSFlexGrid


    How can I trap arrow key movements in MsFlexGrid.

    Ravindra


  2. #2
    Join Date
    May 1999
    Location
    Oxford UK
    Posts
    1,459

    Re: How to Trap arrow key movements in MSFlexGrid

    I spent ages trying to capture the keydown messages for cursor keys in the flexgrid with subclassing, but then I found a much easier way.

    You can 'hide' a textbox behind the flexgrid and make sure that it always gets the focus when the FlexGrid should, this way you can capture all the keystrokes you like in the textbox and then 'pass' them onto the flexgrid (it's a bit of work though).



    Chris Eastwood

    CodeGuru - the website for developers
    http://codeguru.developer.com/vb

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured