Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Suggestion to add to CommandBarsDesigner
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Suggestion to add to CommandBarsDesigner

 Post Reply Post Reply
Author
Message
Ark42 View Drop Down
Senior Member
Senior Member
Avatar

Joined: 20 October 2003
Status: Offline
Points: 291
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ark42 Quote  Post ReplyReply Direct Link To This Post Topic: Suggestion to add to CommandBarsDesigner
    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.

Back to Top
Ark42 View Drop Down
Senior Member
Senior Member
Avatar

Joined: 20 October 2003
Status: Offline
Points: 291
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ark42 Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
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.031 seconds.