Print Page | Close Window

Suggestions for Commandbar

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=331
Printed Date: 14 May 2024 at 8:23pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Suggestions for Commandbar
Posted By: Bjarne
Subject: Suggestions for Commandbar
Date 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




Replies:
Posted By: Alex H.
Date 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

 

 




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