Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Apply Skin (Read 2186 times)
andrewsando1973
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 56
Joined: Feb 14th, 2010
Apply Skin
Mar 7th, 2010 at 3:20pm
Print Post  
I'm using Codejock Xtreme Skin framework, which is applying different skins (as office 2007 skin) on the controls used in my application.

The problem is that the flowchartX scrollbar never inherits the new skin, whatever it is.

Can you help me in changing the flowchartx scrollbar to the classic view so that it can inherit that skin?

Thanks in advance,
Andrew

  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Apply Skin
Reply #1 - Mar 8th, 2010 at 9:22am
Print Post  
The FlowchartX scrollbars are the builtin scrollbars that the Win32 API creates when you call the CreateWindow(WS_HSCROLL | WS_VSCROLL) method. Check if the skin framework has some property that enables processing of such scrollbars.

Otherwise you could call the HideScrollbars method to hide the builtin scrollbars and add separate ones aligned to the right and bottom of the flowchart canvas. You will only have to set the flowchart's scroll position in response to the scrollbars events, and update the scrollbar ranges after resizing the flowchart with methods such as SetDocSize and FitDocToItems.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint