![]() |
CXTTreeCtrl MultiSelect |
Post Reply
|
| Author | |
Guybrush
Groupie
Joined: 15 October 2007 Location: Germany Status: Offline Points: 13 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTTreeCtrl MultiSelectPosted: 29 December 2007 at 2:13pm |
|
If I mark two or several Items and then press the ENTER key , the marked Items is deleted.
The Code is in CXTTreeBase::OnKeyDown(UINT nChar......)
if (!bCtrl && !bShift)
{
UINT uCount = GetSelectedCount();
if ((uCount > 1) || (uCount == 1 && !IsSelected(GetFocusedItem())))
SelectAll(FALSE);
}
I would like to open the documents, which are connected with the Items (ItemData).
Why the marked Items deleted at to pressure the ENTER key?? |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 02 January 2008 at 2:16am |
|
Hi,
Please override tree and its OnKeyDown method, check VK_RETURN and don't call base method.
We will change it for next releases.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |