Print Page | Close Window

controls in toolbar

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=7681
Printed Date: 13 November 2025 at 9:49am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: controls in toolbar
Posted By: Ashok
Subject: controls in toolbar
Date Posted: 28 July 2007 at 8:07am
Hi
  Please see the doc, I have uploaded and help for that isue . https://forum.codejock.com/uploads/20070728_080649_test.rar - uploads/20070728_080649_test.rar



Replies:
Posted By: Ashok
Date Posted: 30 July 2007 at 2:03am
Hi Oleg,
   Please look into this issue. Thanks.


Posted By: Oleg
Date Posted: 30 July 2007 at 7:56am
Hi,
 
How to you add these combos ? if manually using Add method, just set Caption property: pControl->SetCaption(...);
if "subclass" from toolbar button, open this button in resource editor and add caption.


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


Posted By: Ashok
Date Posted: 31 July 2007 at 1:47am
Hi,
  I have created a toolbar button IDC_FORMAT_FONT_SIZE then in OnCreateControl I did the below code.
 
Note: CControlFormatFontSizeComboBox is derived from CXTPControlComboBox

if (lpCreateControl->nID == IDC_FORMAT_FONT_SIZE)

{

CControlFormatFontSizeComboBox* pFormatFontSizeCombo = new CControlFormatFontSizeComboBox();

pFormatFontSizeCombo->SetDropDownListStyle();

pFormatFontSizeCombo->SetWidth(38);

lpCreateControl->pControl = pFormatFontSizeCombo;

return TRUE;

}

The customize dialog is showing the toolbar button,Text,Combobox Control,like the same I want to display those. Please suggest.


Posted By: Oleg
Date Posted: 31 July 2007 at 3:15am
Hi,
Open toolbar resource and for IDC_FORMAT_FONT_SIZE add its prompt text - caption and description.


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


Posted By: Ashok
Date Posted: 31 July 2007 at 7:32am
Hi,
  Yes, I have done like that. Now it displaying the text, but I want to display the control near to the text and also the toolbar button in the approriate place.
 
Please see the upload file.
 
Please Help. https://forum.codejock.com/uploads/20070731_073159_test.rar - uploads/20070731_073159_test.rar


Posted By: Ashok
Date Posted: 17 August 2007 at 6:57am

Hi,

  Any soultions????????



Posted By: Oleg
Date Posted: 17 August 2007 at 8:17am

Hello,

Its not implemented.


-------------
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