Home | About us | Overview | Software - Download | Evaluate | Order | Support | Contact | F.A.Q. | Documentations | Blog | Newsletter
Loading...

How can i make my icon transparent on GdViewerPro?

Support for GdViewer OCX and GdViewer Pro ActiveX/SDK.

How can i make my icon transparent on GdViewerPro?

Postby imanfafa » Thu Nov 15, 2007 12:05 pm

.
I'm using a trial version of GdViewerPro and I want to show an icon (a PNG image in a picturebox control) on the top of GdViewer in my form.

My project is in VC#2005 and my code is:

pictureBox1.BackColor = Color.Transparent;
pictureBox1.Parent = axGdViewer1;
pictureBox1.Location = new Point(20, 20);


This code works fine with integrated picturebox of visual studio (as a parent), but doesn't work with axGdViewer and I see a gray background in my icon yet.

What should i do to solve this problem?
Nothing to say.
User avatar
imanfafa
 
Posts: 3
Joined: Thu Nov 15, 2007 11:36 am

Postby Loïc » Thu Nov 15, 2007 12:44 pm

Hi,

I think you can try to use the GdViewerCnt class. This class can be used as object container and the .parent object must be a container.

Regards,

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

Postby imanfafa » Thu Nov 15, 2007 3:17 pm

Hi Loic,

I have changed the control with GdViewerCnt, but nothing solved.

I want to use GdViewer component because the need of just panning and zooming features of it.

Any other suggestion? :?:
Nothing to say.
User avatar
imanfafa
 
Posts: 3
Joined: Thu Nov 15, 2007 11:36 am

Postby Loïc » Fri Nov 16, 2007 6:56 pm

Hi,

Could you send me your project or a part of your project by mail at esupport (at) gdpicture (dot) com ?

Regards,

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

Postby imanfafa » Sat Nov 17, 2007 11:41 am

Dear Loic,

I had sent the sample project to your email (The project which I have created for testing the GdViewerPro component in Visual C# 2005).

Thanks for your nice support and waiting for your solution to this problem.
Nothing to say.
User avatar
imanfafa
 
Posts: 3
Joined: Thu Nov 15, 2007 11:36 am


Return to GdViewer [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 1 guest

cron