Print Page | Close Window

Suggestion to add to CommandBarsDesigner

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=1410
Printed Date: 06 November 2025 at 5:10am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Suggestion to add to CommandBarsDesigner
Posted By: Ark42
Subject: Suggestion to add to CommandBarsDesigner
Date Posted: 14 November 2004 at 2:58pm

When you get a lot of commands and you want to keep the sorted, clicking the move up/down buttons 100 times can get a little annoying, so I added this to CPaneControls::CControlsListBox::WindowProc

    case WM_KEYDOWN:
        if( GetKeyState(VK_CONTROL) & 0x8000 ) {
            if( wParam == VK_UP ) {
                GetOwner()->SendMessage(WM_COMMAND, ID_PANECONTROLS_UP);
            } else if( wParam == VK_DOWN ) {
                GetOwner()->SendMessage(WM_COMMAND, ID_PANECONTROLS_DOWN );
            }
            return TRUE;
        }
        break;

so that I can just hold control and use the up/down arrows to move the items up and down to sort them much quicker.
Please add something like this to the official releases, it would help make the tool a lot friendlier.




Replies:
Posted By: Ark42
Date Posted: 14 November 2004 at 7:40pm

Another suggestion would be to allow editing of the resource IDs so that you could ensure a group of commands have contiguous IDs so that you can use the ranged message map macros instead of a bunch of individual message map macros.



Posted By: Oleg
Date Posted: 16 November 2004 at 3:32am

1. Good suggestion. Added.

2. We will try to implement it before next release.

 

 



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net