Loading...

Scroll Bars

Support for GdViewer OCX and GdViewer Pro ActiveX/SDK.

Scroll Bars

Postby MarkW » Fri Apr 25, 2008 10:30 am

Hi
Can the scroll bars appearance be changed?
They have that really old vb grey look, and not the xp blue look.

Thanks

Mark
MarkW
 
Posts: 2
Joined: Fri Apr 25, 2008 10:27 am

Re: Scroll Bars

Postby Loïc » Fri Apr 25, 2008 1:13 pm

Hi Mark,

What programming language are you using ?

Best regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4442
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: Scroll Bars

Postby MarkW » Sat Apr 26, 2008 9:27 am

Hi

VB6


Thanks

Mark
MarkW
 
Posts: 2
Joined: Fri Apr 25, 2008 10:27 am

Re: Scroll Bars

Postby Loïc » Sun Apr 27, 2008 6:19 pm

Hi,

In standard, vb6 doens't support XP themes.

However, you can use the folowing method to add it:

On your Form_Initialize trigger add thes lines:

Code: Select all
On Error Resume Next
InitCommonControls


It must give it

Code: Select all
Private Sub Form_Initialize()
   On Error Resume Next
   InitCommonControls
End Sub



And add this file to your project ressources: http://gdpicture.com/ressources/support/VBXPthemes.zip (unzip the VBXPthemes.RES file)
In vb6, Right click on your project tree and select Add / Ressource File & select the VBXPthemes.RES file.

Rebuild your project and see the result...

Best regards,

Loïc Carrère
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4442
Joined: Tue Oct 17, 2006 10:48 pm
Location: France


Return to GdViewer [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 1 guest

cron