Hide document

Discussions about document viewing.
Post Reply
iunknown21
Posts: 3
Joined: Mon Oct 15, 2012 3:55 am

Hide document

Post by iunknown21 » Mon Oct 29, 2012 5:41 pm

Is there a way to quickly 'hide' or 'replace' what is being displayed without reloading the viewer?

My requirement is that I need to 'hide' the document being viewed when the application doesn't have focus. Right now I'm changing the opacity but it's ugly. I can't hide the viewer since I drag and drop support.

any ideas?

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Hide document

Post by Loïc » Mon Nov 05, 2012 7:35 pm

Hello,

I think you can try:

GdViewer.Clear();
GdViewer.LockControl = true;

Kind regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests