Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - The Multiple Selection problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

The Multiple Selection problem

 Post Reply Post Reply
Author
Message
Tracy View Drop Down
Newbie
Newbie


Joined: 21 October 2009
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tracy Quote  Post ReplyReply Direct Link To This Post Topic: The Multiple Selection problem
    Posted: 26 October 2009 at 12:51am
Hi;
 
I've set the Multiple Selection with the SetMultipleSelection(TRUE);
 
But it can't  support the mouse multiple selection, it always get just one row.
 
ps:I used 13.2
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 26 October 2009 at 12:29pm

//-----------------------------------------------------------------------

// Summary:

// Changes allowing multiple selections for the control.

// Parameters:

// bMultipleSelection - TRUE for enabling, FALSE for disabling.

// Remarks:

// Sets the flag that determines whether the report allows multiple selections.

// See Also: IsMultipleSelection, GetSelectedRows

//-----------------------------------------------------------------------

void SetMultipleSelection(BOOL bMultipleSelection);

You need to use Shift or Control to extend your selection. Flag only ALLOW you to do it
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 26 October 2009 at 1:05pm
If you want to emulate Control key always pressed - use function

void SetMultiSelectionMode(BOOL bMultiSelectionMode);

// Parameters:

// bMultiSelectionMode - TRUE for enabling, FALSE for disabling.

// Remarks:

// Sets the flag that determines whether the report is in multi-selection mode i.e. VK_CTRL is always ON

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.141 seconds.