Operating System - HP-UX
1832469 Members
2676 Online
110043 Solutions
New Discussion

Re: multi-window application

 
SOLVED
Go to solution
Victor Makarov
Honored Contributor

multi-window application

Hi all,
I am using ITO on HPUX 11.
When I start the GUI of ITO it opens all its 4 windows in currently opened CDE workplace.
Is it possible to start different ITO windows in different workplaces of CDE?
In any case how to tell to application to start not on the opened workplace but on a "hidden" one?

Thanks in advance
Victor
Do it right or do it again
5 REPLIES 5
Alex Glennie
Honored Contributor
Solution

Re: multi-window application

Victor,

Mmmm not sure if I can get all 4 ITO GUI's appearing on 4 differnet workspaces for you .... it depends on whether 1 ITO command is required to open up the 4 gui's or if it's 4 separate commands.

If is the latter that's no problem see below. As to opening up ITO's GUI's on a hidden w/s .... I take it you mean not starting in the CDE w/s a users see's when they login to CDE but in one of the others available off CDE's front panel .... again I can help with this see below .....

=============================
see attached switch.c, compile it and use it in conjunction with CDE's sessionetc script.

eg create a shell script $HOME/.dt/sessions/sessionsetc
along the lines of ....

/home/user/bin/switch

/opt/omni/bin/Xomni &

This will programatically swith to the desired CDE workspace and start your application there .... you may use the switch command as many times as you wish in conjunction with other application startup commands too but you may need to add sleep statements if the GUI's take a few secs to start/appear on the desired w/s ..obviously the last switch command will be to end up in the w/s you wish to see once all applications have started in their desired w/s

Hope this helps ......
Victor Makarov
Honored Contributor

Re: multi-window application

Thanks Alex,
I could not compile the binary because XmAll.h and Wsm.h files are not in my system. (I've searched them through the all filesystems)

I used standart C compiler that comes with HPUX. Should I install ANSI C compiler or something else?

Victor
Do it right or do it again
Alex Glennie
Honored Contributor

Re: multi-window application

I think the files you refer to come from the Motif Dev kit .... I'll see if I can compile this for you on an hpux 11.00 system here in the ukrc .....

hang on .....
Alex Glennie
Honored Contributor

Re: multi-window application

Try the following executable .... if it doesn't work post your email address and I can send you the make file etc but nb You'll need the X11MotifDevKit product installed to get imake
and the CDEDevKit for the CDE include files.
Victor Makarov
Honored Contributor

Re: multi-window application

It is strange but I cannot download the file (404 error).
Pleases send it to victor.makarov@i-teco.ru

Thanks
Victor
Do it right or do it again