![]() |
controls in toolbar |
Post Reply
|
| Author | |
Ashok
Senior Member
Joined: 02 May 2007 Status: Offline Points: 164 |
Post Options
Thanks(0)
Quote Reply
Topic: controls in toolbarPosted: 28 July 2007 at 8:07am |
|
Hi
Please see the doc, I have uploaded and help for that isue .uploads/20070728_080649_test.rar
|
|
![]() |
|
Ashok
Senior Member
Joined: 02 May 2007 Status: Offline Points: 164 |
Post Options
Thanks(0)
Quote Reply
Posted: 30 July 2007 at 2:03am |
|
Hi Oleg,
Please look into this issue. Thanks.
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
Ashok
Senior Member
Joined: 02 May 2007 Status: Offline Points: 164 |
Post Options
Thanks(0)
Quote Reply
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. |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
Ashok
Senior Member
Joined: 02 May 2007 Status: Offline Points: 164 |
Post Options
Thanks(0)
Quote Reply
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.uploads/20070731_073159_test.rar
|
|
![]() |
|
Ashok
Senior Member
Joined: 02 May 2007 Status: Offline Points: 164 |
Post Options
Thanks(0)
Quote Reply
Posted: 17 August 2007 at 6:57am |
|
Hi, Any soultions???????? |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 17 August 2007 at 8:17am |
|
Hello, Its not implemented.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |