Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 2005 > Visual Basic 2005 Basics
|
Visual Basic 2005 Basics If you are new to Visual Basic programming with version 2005, this is the place to start your questions. For questions about the book: Beginning Visual Basic 2005 by Thearon Willis and Bryan Newsome, ISBN: 0-7645-7401-9 please, use this forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Basic 2005 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 20th, 2006, 01:02 AM
Registered User
 
Join Date: Mar 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Find a windows size and position

I'm just getting into learning VB2005 and have been searching all over the place to find out how to locate the size of a window and its position on the screen.

My app currently uses the 'User32' FindWindow and GetWindowText API library functions to search for a window with a specified title. This gives me the handle (hWnd) to the window. This part works fine, however, I can not find out how to get the details of the window. I've searched all over the place, but have not had much luck.

Does anyone have any ideas how I can go about getting this information?

Thanks for any help that can be provided...





Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows API - Can I find the Active Application?? MAtkins Pro VB 6 3 August 23rd, 2013 06:10 AM
XSL 1.0 : How to find 8th position from string elayaraja.s XSLT 1 July 29th, 2008 04:26 AM
solution for windows size adjustment rutul ASP.NET 2.0 Basics 0 January 24th, 2008 07:50 AM
Windows size ming1 C# 2005 1 October 14th, 2006 02:41 PM
Rows.Find () Method + Windows 98?? thomaz C# 1 March 15th, 2005 06:55 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.