Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - How to disable the DialogBar combobox style inner
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to disable the DialogBar combobox style inner

 Post Reply Post Reply
Author
Message
supermip View Drop Down
Groupie
Groupie


Joined: 03 July 2009
Location: Belgium
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote supermip Quote  Post ReplyReply Direct Link To This Post Topic: How to disable the DialogBar combobox style inner
    Posted: 31 August 2016 at 10:10am
Hello Everyone,

I hope you are doing well.

I have updated our application to CodeJock version 17.2.0 and I would like to know if there would be a way to disable the following effects when the mouse goes over or click on the caption:

I would like to disable these effects and just keep a standard caption style.

The several properties attached to the dialogbar control do not provide a direct way to disable it but maybe is there a hidden way to avoid this funny inner combobox.

The expected effect would be to always keep a clean caption style:

How could this be fixed ?  The spy window does not even recognize the inner combobox control.

Thank you very much in advance.
Back to Top
olebed View Drop Down
Admin Group
Admin Group


Joined: 01 July 2014
Location: Ukraine
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote olebed Quote  Post ReplyReply Direct Link To This Post Posted: 05 October 2016 at 6:26am
Hello,

Thank you for bringing this to our attention
This depend on CXTPDialogBar::m_bCaptionPopup. But it is protected and don't have public setter.

So as hotfix you can change back code in 
Source\CommandBars\XTPDialogBar.cpp: ~277
CXTPDialogBar::CalcSize()
pCaption->m_bCaptionPopup = m_bCaptionPopup;

to
pCaption->m_bCaptionPopup = m_bCaptionPopup && (m_pPopupBar->GetControlCount() != 0);

We will solve this in next release.

Regards,
 Oleksandr Lebed
Back to Top
astoyan View Drop Down
Admin Group
Admin Group
Avatar

Joined: 24 August 2013
Status: Offline
Points: 304
Post Options Post Options   Thanks (0) Thanks(0)   Quote astoyan Quote  Post ReplyReply Direct Link To This Post Posted: 19 October 2016 at 9:51pm
The issue has been fixed for version 17.3. No client code change required.

Regards,
  Alexander
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.184 seconds.