Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open first window to exact size and specs

Status
Not open for further replies.

pdornan

Technical User
Mar 30, 2005
1
US
Greetings!

Here's the scenario. I'd like a window to be opened to the specific size of a background image. Now, in itself, this is easy when calling from another window. But, let's say the shortcut is on a desktop, and I need that first window to meet my specs?

I love how "self.resizeTo(xxx,xxx)" works, but, alas, as we know, you can't control the scroll bars, menus, etc. Anyone figure out a way to do this without having to click from another window? Just curious!

Thanks!

The Philster
 
It's just not possible, sorry [sad]

-kaht

Do the chickens have large talons?
 

Your best bet would be to write a Win32 application (using Delphi, etc), that incorporated a browser module. This could then be run from the desktop instead.

Hope this helps,
Dan



[tt]D'ya think I got where I am today because I dress like Peter Pan here?[/tt]
[banghead]

 
For Firefox, you could use an extension (or maybe even xul) to do this.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top