Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Excel control with list
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Excel control with list

 Post Reply Post Reply
Author
Message
Damsku View Drop Down
Newbie
Newbie


Joined: 14 April 2007
Location: Finland
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote Damsku Quote  Post ReplyReply Direct Link To This Post Topic: Excel control with list
    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
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Damsku View Drop Down
Newbie
Newbie


Joined: 14 April 2007
Location: Finland
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote Damsku Quote  Post ReplyReply Direct Link To This Post 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
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.063 seconds.