Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - HOWTO:Customize CSliderctrl?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

HOWTO:Customize CSliderctrl?

 Post Reply Post Reply
Author
Message
u8702656 View Drop Down
Groupie
Groupie


Joined: 03 September 2009
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote u8702656 Quote  Post ReplyReply Direct Link To This Post Topic: HOWTO:Customize CSliderctrl?
    Posted: 07 August 2013 at 11:21pm
Hi,

I use below code to create docking panes.Establish a dialog attached to the pane.
Sliderctrl in the dialog, will be affected by setting Theme.
How can I customize Sliderctrl?
------------------------------------------------------------------------------------------------------------------------
CXTPDockingPaneManager m_paneManager;

m_paneManager.InstallDockingPanes(this);
m_paneManager.SetTheme(xtpPaneThemeOffice2007Word);

CXTPDockingPane* pwndPane = m_paneManager.CreatePane(IDS_EVENT_WINDOW,CRect(0,0,150,120),xtpPaneDockBottom);

m_pPBCalendarDlg = new CPBCalendar(this);
m_pPBCalendarDlg->Create(IDD_DLG_CALENDAR, this);
pwndPane ->Attach(m_pPBCalendarDlg);

--------------------------------------------------------------------------------------------------------------------------
Original dialog:


Affected by setting Theme:


Can I make this dialog will not be affected by theme?

David

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.

This page was generated in 0.438 seconds.