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 1 1287
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****@jasmoni o.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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 following code from an external
javascript source file, dynamically created with PHP
document.write('<a href="javascript:void(0);"
|
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?
|
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
popWindow=window.open('http://www.yahoo.com','','width=600,height=400,toolbar=1,location=1,menubar=1,resizable=1,titlebar=1,directories=1,status=1,scrollbars=1');
the sidebars are disabled. I click on the buttons for bookmarks and history
and they do nothing. I...
|
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 modify that other frame's code, but it does come from the same server. Therefore, there should not be an issue with any cross-side scripting restrictions.
In more detail:
I am working with a legacy web-app (strange as this may sound), which...
|
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 the image. The
desired behavior is that when the pop-up is invoked, I want the
underlying window to stay put.
I don't have this problem when I run the code on my local computer but
I do have it when I run the code on geocities.
| |
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 function used to open popup is:
function showImagePopUp(pURL, idFoto){
|
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 essentially (popup.html) (it's a standard html page that I've set to a smaller width/height by using javascript). The popup.html page has 2 divs in it, one with the area that I'm trying to populate dynamically with the full size image of the link that...
|
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 child window height is 1200px (saying), when the child window load the height of the parent window changs but the backgorund color which is given 100% not fill the parent window.
I have given my example codes, please give a solution as soon as...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |