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 / Visual Studio.NET / General / May 2006

Tip: Looking for answers? Try searching our database.

Making a window visible through API

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ed White - 12 May 2006 00:34 GMT
In the API for Visual Basic (I'm using v. 2005), if I have a handle (HWND) to
a window that is not visible (e.g. from Excel.Visible=False), and I want to
make that window visible, is there an API command available to do this?
Signature

Ed

Walter Wang [MSFT] - 12 May 2006 04:00 GMT
Hi Ed,

Thank your for posting!

You can use P/Invoke to call a win32 api ShowWindow to show or hide a
window.

Here's a detailed how to article on this:
http://www.pinvoke.net/default.aspx/user32/ShowWindow.html

Regards,

Walter Wang
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

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.