SplitButtonPopup is missing the dropdown arrow |
Post Reply |
Author | |
Preetham_kp
Newbie Joined: 24 August 2017 Status: Offline Points: 3 |
Post Options
Thanks(0)
Posted: 24 August 2017 at 3:21am |
Hi, Xtp version 16.0 with 64 bit VC++ code I am using with Command bar office 2003 theme. xtpControlSplitButtonPopup is created without any flaw but I could not figure out why drop down arrow is missing and the SetStyle is xtpButtonIconAndCaption. I am not understanding why the drop down icon isn't drawn at the time of split button control is created. Could someone suggest me what I am missing.
|
|
olebed
Admin Group Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
|
Hello Preetham_kp, I have checked this with our sample CommandBars\CommandBarControls. There is xtpControlSplitButtonPopup "Select All" with xtpButtonIconAndCaption style and it is drawn with drop down icon. Is it correct drawn on your side ?
Regards, Oleksandr Lebed |
|
Preetham_kp
Newbie Joined: 24 August 2017 Status: Offline Points: 3 |
Post Options
Thanks(0)
|
Hi Olebed,
No. Still I could not figure it out. Please go through the code. windowNavigBar->GetImageManager()->SetIcons(NAVBARICON, buttons, _countof(buttons), CSize(16,16),xtpImageNormal); popupCtrl = static_cast<CXTPControlPopup*>(windowNavigBar->GetControls()->Add(xtpControlSplitButtonPopup, xtpBarTop); popupCtrl->CreateControlPopup(xtpControlSplitButtonPopup); popupCtrl->SetStyle(xtpButtonIconAndCaption) popupCtrl->SetID(NAVIGATIONBACK); After this, I am setting the Icon to ImageManager with SetIcon(backIcon, NAVIGATIONBACK,size); Please let me know your thought on this. In 32 bit code, same code will draw the back icon with drop down icon for xtpControlSplitButtonPopup. Regards, Preetham_kp |
|
olebed
Admin Group Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
|
Hello Preetham_kp, It will be much more easy if you give me sample application which I can debug. Regards, Oleksandr Lebed |
|
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 |