Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - controls in toolbar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

controls in toolbar

 Post Reply Post Reply
Author
Message
Ashok View Drop Down
Senior Member
Senior Member


Joined: 02 May 2007
Status: Offline
Points: 164
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ashok Quote  Post ReplyReply Direct Link To This Post Topic: controls in toolbar
    Posted: 28 July 2007 at 8:07am
Hi
  Please see the doc, I have uploaded and help for that isue .uploads/20070728_080649_test.rar
Back to Top
Ashok View Drop Down
Senior Member
Senior Member


Joined: 02 May 2007
Status: Offline
Points: 164
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ashok Quote  Post ReplyReply Direct Link To This Post Posted: 30 July 2007 at 2:03am
Hi Oleg,
   Please look into this issue. Thanks.
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: 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
Back to Top
Ashok View Drop Down
Senior Member
Senior Member


Joined: 02 May 2007
Status: Offline
Points: 164
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ashok Quote  Post ReplyReply Direct Link To This Post 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.
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: 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
Back to Top
Ashok View Drop Down
Senior Member
Senior Member


Joined: 02 May 2007
Status: Offline
Points: 164
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ashok Quote  Post ReplyReply Direct Link To This Post 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.
 
Back to Top
Ashok View Drop Down
Senior Member
Senior Member


Joined: 02 May 2007
Status: Offline
Points: 164
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ashok Quote  Post ReplyReply Direct Link To This Post Posted: 17 August 2007 at 6:57am

Hi,

  Any soultions????????

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: 17 August 2007 at 8:17am

Hello,

Its not implemented.
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.078 seconds.