Control the appearance of a launched application

L

Lafoopsie

Hi!

In my C++ program, I can launch an external program, for example:

#include <cstdlib>

int main()
{
std::system("appletviewer");
}

But is there a way to control the appearance of that application? For
example, I could say: open this application, let it appear on 300 pixels
from the left of the screen, 200 pixels from the top of the screen, and
don't show any borders.

Is this possible? Maybe with some X functions?


Your help would be great!


Greetz,
Klaas
 
J

Josh Sebastian

Hi!

In my C++ program, I can launch an external program, for example:

#include <cstdlib>

int main()
{
std::system("appletviewer");
}

But is there a way to control the appearance of that application? For
example, I could say: open this application, let it appear on 300 pixels
from the left of the screen, 200 pixels from the top of the screen, and
don't show any borders.

Is this possible? Maybe with some X functions?

Maybe. Try asking in a group concerned with your system. Don't most X apps
take a -geometry command-line parameter?

Josh
 
M

Moonlit

Hi,

Usually you can give X-Parameters on the command line and/or a
configuration file. X-Application are supposed to first forward these
commands to some function that does the processing of them (or of course
handle it themselves).

Do

man -k Xserver

and/or lookup the documentation for appletviewer on the www.javasoft.com
site.

Regards, Ron AF Greve.


Look up
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top