CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2000
    Posts
    440

    Grid Control Selection

    Hi,

    Given a Grid Control,

    Is it possible to implement a random selection.
    For example holding ctrl and clicking with the mouse to select random cells.

    Thanks

    Valery Iskarov Nikolov
    Software Dynamics

  2. #2
    Join Date
    Jan 2001
    Posts
    22

    Re: Grid Control Selection

    The grid itself will not keep track of these things...
    at least not to my knowledge..

    You'd have to set up your own way to keep track,
    2-d array or somthing, and then change the cell back color to
    help distinguish selected cells.




  3. #3
    Join Date
    Feb 2000
    Posts
    440

    Re: Grid Control Selection

    Thanks,

    It seems that this is the only way...

    Regards,

    Valery Iskarov Nikolov
    Software Dynamics

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