Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / February 2007

Tip: Looking for answers? Try searching our database.

Is form visible to the eye

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
PDB - 23 Feb 2007 09:05 GMT
Hi all,

is there a way to determine whether a form is visible on screen or not. I
don't mean is it .Visible or .Hide() but can the user actually see the form
(be it focused or not)

For that matter can it be detemined exactly how much of the form is visible.

tia

paul
Otis Mukinfus - 23 Feb 2007 18:01 GMT
>Hi all,
>
[quoted text clipped - 7 lines]
>
>paul

If any of the values in the Location property are negative, or there is less
real estate to the right or bottom of the form than the forms width or height,
then part of the form is not visible on an empty screen.  Doing the math
according to the above will tell you how much of the form is visible  

Finding out if it is hidden by another form is a different matter and I look
forward to learning how to get that information too.

Good luck with your project,

Otis Mukinfus

http://www.otismukinfus.com
http://www.arltex.com
http://www.tomchilders.com
http://www.n5ge.com

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.