//flex table opened by JP

Click to See Complete Forum and Search --> : How do you set up a program to open up where


The Stocker
12-09-2001, 05:34 PM
"Like the "subject line" says, "How do you set up a program to open up where you want on the desktop?" I use "calculator" allot and I would like it to open up at the bottom right hand corner of my desktop. Anybody out there knows how to do that?

I'm posting this here cause I was told that it was all about how Win98 is written??? With Win3.11, all I had to do was to open calculator, drag it to the lower right hand corner of my desktop (Program Manager in this case) than exit Win3.11 to Dos and than, restart Win3.11, and it would be set as lon as I did not move it from there. BUT, with Win98, that does not happen.

Is there a file I can write to, or create, so that Win98 will always open calculator in the lower right hand corner of my desktop?

I know that there are other shareware calculator that you can set up for my wishes, but I would like to use the one with Win98,
Help is graetly appreciated.

:confused:

Rhino302
12-09-2001, 09:57 PM
I doubt it, but if you have some time, here's what I would do. Make a calculator program in VB. It should be way easier than you think, although if you use the scientific part ever, that would be a little tricky to code that.

You can easily set the form top and left properties. This sounds like fun. I might attempt this just for fun.

The Stocker
12-09-2001, 10:43 PM
Thanks Rhino for the info, BUT, I've just upgraded from a 486 with Window3.11 to a Pentium 2 400 with Win 98........How about you try it and tell me how to do it step by step please.:( :(

Rhino302
12-10-2001, 03:13 PM
I don't know how to make a window open up like that---I would only know how to make it like that while coding the program. If I come up with something, I will let you know..Unless qball pops in here and knows how to do what you want.

qball
12-10-2001, 08:52 PM
Unless qball pops in here and knows how to do what you want.


Wishful thinking, Rhino302...but it t'ain't a problem, it is a feature!

As one may have noticed, some programs are smart and remember position and state upon close. Word...Textpad, etc...

Alas, others lack this feature and basically open on the next position of the winders 'window cascade stack' (non-tech). To observe this behavior, open up three calc.exe(s), or three notepad.exe(s). So basically the next time you start these programs, they open in a default size/state at the next window pos in the 'window cascade stack'.

Now, what can one do:

Write program to open calc.exe,
find window handle (FindWindow?),
set x and y position with MoveWindow
hope it works reliably

Find a third party app to do this. I've seen dialog resizers and open window dialog enhancers, but nothing that does this... Though that doesn't mean they don't exist...

Write your own calc. Excellent idea/learning exercise if your up to the programming.

Try xteq:
www.xteq.com

Though I didn't find any setting on calc.exe.

Else, suffer having to fish for the window everytime you open.