CComboBox not skinned with ApplyWindow() |
Post Reply |
Author | |
alistair.m
Groupie Joined: 14 January 2008 Location: United Kingdom Status: Offline Points: 12 |
Post Options
Thanks(0)
Posted: 18 February 2010 at 12:17pm |
Hi, how do you get combo box drop down scroll bars and line highlights to skin when using SetAutoApplyNewWindows(FALSE) ?
I'm using the SetAutoApplyNewWindows(FALSE) option to skin individual views and dialogs which is working so far, but generally any CComboBox controls fail to skin when dropped down. i.e. the combos edit box and arrow are skinned but the list and scroll bar dropped down after pressing the arrow do not get skinned. This does not happen (i.e. it works) if you skin the complete application in one go by passing TRUE to the SetAuto... function. I've reproduced this in the SkinMDISample app by adding XTPSkinManager()->SetAutoApplyNewWindows(FALSE) to CMainFrame::OnShemaChanged() and XTPSkinManager()->ApplyWindow(this->GetSafeHwnd()) to the CSkinPropertyPageThemes::OnInitDialog, along with adding a combo and populating it with shed loads of entries. On changing to any of the skins, the combo drop down fails to get updated. I can upload the project if needed. Is there a simple call I'm missing to get this working? Thanks. |
|
Product: Xtreme ToolkitPro (MFC) version 18.6
Platform: Windows 10 (64 bit) Language: Visual Studio 2019 |
|
alistair.m
Groupie Joined: 14 January 2008 Location: United Kingdom Status: Offline Points: 12 |
Post Options
Thanks(0)
|
Apparently there is a fix for this in 14 (Beta). I'll try it as soon as I can.
|
|
Product: Xtreme ToolkitPro (MFC) version 18.6
Platform: Windows 10 (64 bit) Language: Visual Studio 2019 |
|
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 |