Loading...

ScrollBars Appearance

Support for GdViewer OCX and GdViewer Pro ActiveX/SDK.

ScrollBars Appearance

Postby abaloush » Fri Aug 01, 2008 7:32 pm

Hi,
I want the scrollbars to have XP-style scrollbars.
I am using VB.NET of Visual Studio 2008

Thank You
abaloush
 
Posts: 1
Joined: Fri Aug 01, 2008 7:26 pm

Re: ScrollBars Appearance

Postby Loïc » Tue Aug 05, 2008 12:11 pm

Hi,

You need to add a manifest file to your application:



if your exe file are myapplication.exe: Create an empty file into the same directory as this file named myapplication.exe.manifest

Open this manifest file and add to it:

Code: Select all
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
    version="1.0.0.0"
    processorArchitecture="X86"
    name="win32 application"
    type="win32"
/>
<description>WindowsExecutable</description>
<dependency>
    <dependentAssembly>
        <assemblyIdentity
            type="win32"
            name="Microsoft.Windows.Common-Controls"
            version="6.0.0.0"
            processorArchitecture="X86"
            publicKeyToken="6595b64144ccf1df"
            language="*"
        />
    </dependentAssembly>
</dependency>
</assembly>


Now the scrollbars appearance will take the style provided by your system.

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