Connecting Tech Pros Worldwide Help | Site Map

Control the appearance of a launched application

  #1  
Old July 19th, 2005, 08:11 PM
Lafoopsie
Guest
 
Posts: n/a
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, 08:11 PM
Josh Sebastian
Guest
 
Posts: n/a

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, 08:11 PM
Moonlit
Guest
 
Posts: n/a

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]


Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
WIN32 Windows Application Outputting to Command Prompt as if a Console Program - How? Peter Nimmo answers 4 June 22nd, 2007 03:45 AM
Asp.net Important Topics. shamirza answers 0 January 18th, 2007 05:15 AM
Short-Cut New Chromeless Window JeffP answers 4 July 23rd, 2005 08:26 PM