How can I Load Phab windows dynamicaly by programm

Hi all,

I’m creating a lot of windows with Phab for my application. At the start of
my applycation only one window must be visible (for the moment all the other
window are at position -10000, -10000).
In my case all the windows are created and displayed at the application
start up (this take a lot of time)

To reduce the start time of my application I want to open at the start only
the windows I need.
How can I call one of my window created with Phab whitout loading it at the
application start-up ?

Thanks in advance!

Jeff HOFFMEYER

Hello Jeff,

To start only the windows you need you can go to Application → Startup info/Modules
and remove all the windows you don’t want from the “Windows Displayed on Application start-up”.
Once this is done you can use ApCreateModule() to call your windows as needed.
To see more information on modlues, you can see
http://qdn.qnx.com/support/docs/photon_2.0_en/prog_guide/modules.html

Regards,
Dave B.



Jeff HOFFMEYER <jean-francois.hoffmeyer@schiller.fr> wrote:

Hi all,

I’m creating a lot of windows with Phab for my application. At the start of
my applycation only one window must be visible (for the moment all the other
window are at position -10000, -10000).
In my case all the windows are created and displayed at the application
start up (this take a lot of time)

To reduce the start time of my application I want to open at the start only
the windows I need.
How can I call one of my window created with Phab whitout loading it at the
application start-up ?

Thanks in advance!

Jeff HOFFMEYER