473,473 Members | 2,253 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Controlling the window location of an external app

I've started an application using the process.start idea mentioned a
couple of posts ago. However, I can't find a way for me to control the
position and size of the window that it opens.

The app I'm opening is a web browser which shows an html page created
by my prog. I can open the window is a normal/maximised/minimised
state, but can't see anything to allow me to control the size. Is there
something anyone knows about or is expected that I put the sizes in the
".arguments" section? (and therefore contact the software vendor for
paramater requirements?)

thanks,

Steve

Jan 3 '06 #1
1 1281

If you can obtain a handle to the window, you should be
able to do this by sending it a WM_SIZE message.

Google for SendMessage and WM_SIZE.

Should work with any resizable window of any application.
Just make sure you get the correct handle.

Regards,

Joergen Bech

On 3 Jan 2006 05:47:36 -0800, "SteMc" <go****@jasmonio.supanet.com>
wrote:
I've started an application using the process.start idea mentioned a
couple of posts ago. However, I can't find a way for me to control the
position and size of the window that it opens.

The app I'm opening is a web browser which shows an html page created
by my prog. I can open the window is a normal/maximised/minimised
state, but can't see anything to allow me to control the size. Is there
something anyone knows about or is expected that I put the sizes in the
".arguments" section? (and therefore contact the software vendor for
paramater requirements?)

thanks,

Steve


Jan 3 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: sentinel | last post by:
Hi all, I'm trying to reload a frame from a pop-up, but really cannot figure this out. Within my index.htm file, I make a link to call a pop-up frame with a javascript function that calls the...
3
by: Joop Kaashoek | last post by:
Just confirming, it looks like an Internet Explorer browser window can not be manipulated by JavaScript to hide its menu bar etc, is this correct?
8
by: Dominic Tocci | last post by:
I'm searching for a way to use window.open on my web page to open a window in firefox that allows the sidebars to work (bookmarks, history, etc). When I use the following: var...
2
by: tombraun | last post by:
Hello! This is my first posting here! :-) I hope you can help me... To sum it up: I have a question about the possibility to influence the execution of JavaScript in another frame. I cannot...
18
by: len.hartley | last post by:
Hi, I am trying to pop-up a window when the user clicks on an image. The problem is that when the user clicks on the image and the window pops up OK, but the window underneath also proceeds to...
1
by: Math | last post by:
Hi, I have a main HTML page who opens diferrent popup windows, each of them with a specific ID. Now my needs are to refresh the content of only one of them at onClick event on main page. The...
5
by: TurboRogue | last post by:
So here's the basic premise: I have an html page with a bunch of pictures (pic.html). All of the images are thumbnails of larger photos. I also have another html page which is a pop-up window...
1
by: soms2m | last post by:
HELLO ALL, I want to fill the parent window height with respect to the sub window height which is loading using ajax (mootools). For example if the parent window height is normal and the loading...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.