Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Other Office > Word VBA
|
Word VBA Discuss using VBA to program Word.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Word VBA 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 May 25th, 2006, 10:39 AM
Authorized User
 
Join Date: Apr 2006
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default locate winodws form in right place

Hi,

I have created a windows application. It must be located exact where the task pane of MS Word located.

My problem is when you use a big monitor (bigger than 17") and miximized window is located where it must be. but if you use a monitor less than 17" for example a little labtop you can see almoste half of the my window form.

Is it possible to locate a windows form in view of the monitor or in view of MS word is maximum or not?

thanks for your response


 
Old June 5th, 2006, 03:52 PM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

“or in view of MS word is maximum or not?” (Sorry, don't follow...)

Through Windows APIs you can find what the screen resolution is, which is all that matters. (800 × 600 is always the same, irrespective of the size, since that is “800 pixels across the monitor” and “600 pixels down the monitor.” The pixel size might change, but the pixel count does not.)

Knowing the resolution, you can move or size your form accordingly.





Similar Threads
Thread Thread Starter Forum Replies Last Post
cant locate file during debug cprogrammer C++ Programming 0 October 10th, 2007 10:38 PM
can't locate Configuration Manager zoltac007 ASP.NET 2.0 Basics 3 May 30th, 2006 02:28 PM
Trying to Place ActiveX Calendar Control on Form twsinc Access VBA 3 October 29th, 2004 07:29 PM
How to locate cursor after postback RockNRoll ASP.NET 1.0 and 1.1 Basics 2 July 4th, 2003 01:31 AM
Would like to locate errata torrent XML 1 June 3rd, 2003 03:09 PM





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