![]() |
Excel control with list |
Post Reply
|
| Author | |
Damsku
Newbie
Joined: 14 April 2007 Location: Finland Status: Offline Points: 17 |
Post Options
Thanks(0)
Quote Reply
Topic: Excel control with listPosted: 14 April 2007 at 9:33am |
|
Hi, i'm not sure wheter this post belongs to this section or to the skin section. However, i'm trying to use excel controls, just as they are used in ExcelTabDlg code sample. Everything works fine so far, but my application is using a skin (Vista ie) and when the skin is set up to the dialog, then the excel list will not display the horizontal scrollbar, it will remain grayed even when it shouldnt. Disabling the skin makes it work all right.
Is it a know issue? Or anyone knows about a workaround/fix? To reproduce: take the ExcelTabDlg code sample, add XTPSkinManager()->SetApplyOptions(XTPSkinManager()->GetApplyOptions() | xtpSkinApplyMetrics); XTPSkinManager()->LoadSkin("Styles\\Vista.cjstyles", _T("NormalBlack.ini")); to the dialog constructor. And resize the window so it should be enabling the horizontal scrollbar. Thanks in advance |
|
|
damsku
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 15 April 2007 at 9:39am |
|
Hi, Thanks, good note. Please change in Controls\XTExcelTabCtrl.cpp
m_wndHScrollBar.EnableScrollBar (ESB_DISABLE_BOTH);
to
m_wndHScrollBar.EnableWindow(FALSE);
and
m_wndHScrollBar.EnableScrollBar (ESB_ENABLE_BOTH);
to
m_wndHScrollBar.EnableWindow(TRUE);
and rebuild library.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Damsku
Newbie
Joined: 14 April 2007 Location: Finland Status: Offline Points: 17 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 April 2007 at 2:26am |
|
Hi Oleg,
I will change that :) Thank you very much. PS: This software is magic. Thank you guys so much to bring it up to us. My workflow went to 10% with basic MFC to 90% with xtreme. I might end up liking GUI code afterall ;) |
|
|
damsku
|
|
![]() |
|
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 |