Print Page | Close Window

Excel control with list

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=6868
Printed Date: 12 November 2025 at 3:51pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Excel control with list
Posted By: Damsku
Subject: Excel control with list
Date Posted: 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



Replies:
Posted By: Oleg
Date 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


Posted By: Damsku
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net