Connecting Tech Pros Worldwide Help | Site Map

Control the appearance of a launched application

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 19th, 2005, 07:11 PM
Lafoopsie
Guest
 
Posts: n/a
Default Control the appearance of a launched application

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



  #2  
Old July 19th, 2005, 07:11 PM
Josh Sebastian
Guest
 
Posts: n/a
Default Re: Control the appearance of a launched application

On Mon, 13 Oct 2003 17:52:21 +0200, Lafoopsie wrote:
[color=blue]
> 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?[/color]

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

Josh
  #3  
Old July 19th, 2005, 07:11 PM
Moonlit
Guest
 
Posts: n/a
Default Re: Control the appearance of a launched application

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
"Lafoopsie" <klaas.geldof@student.kuleuven.ac.be> wrote in message
news:1066060336.573588@seven.kulnet.kuleuven.ac.be ...[color=blue]
> 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
>
>[/color]


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.