Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Suggestions for Commandbar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Suggestions for Commandbar

 Post Reply Post Reply
Author
Message
Bjarne View Drop Down
Newbie
Newbie
Avatar

Joined: 30 December 2003
Location: Denmark
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bjarne Quote  Post ReplyReply Direct Link To This Post Topic: Suggestions for Commandbar
    Posted: 04 January 2004 at 4:50pm

Hello,

I would like to see the following two features in the CommandBar:

1) The ability for the ToolBar to include other controls. Ex.: The ComboBox embedded is lacking a lot of functionality, so I would like to be able to attach another Combo Control to the toolbar. (By Window Handle I guess)

2) At least add a couple of extra features to the ComboBox like sorting and TypeAhead

egards,

Bjarne

Back to Top
Alex H. View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 February 2004
Status: Offline
Points: 266
Post Options Post Options   Thanks (0) Thanks(0)   Quote Alex H. Quote  Post ReplyReply Direct Link To This Post Posted: 17 March 2004 at 9:14am

You can do this in the OnCreateControl Event:

   CXTPControlCustom* pControl = (CXTPControlCustom*)CXTPControlCustom::CreateObject();
   pControl->SetFlags(xtpFlagManualUpdate) ;
   pControl->SetControl(&m_wndComboSor tOrders);

   lpCreateControl->pControl = pControl;
   return TRUE;

m_wndComboSortOrders can be f.ex of Type CXTFlatComboBox

 

 

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