Skip navigation.
Home
The QNX Community Portal

View topic - dislaying already created windows in phab

dislaying already created windows in phab

Isn't the name clear?

dislaying already created windows in phab

Postby invoker » Mon Oct 06, 2008 10:58 am

Hi

If I got a window created in a phab how can I display it and close it from code?

Thanks
invoker
Active Member
 
Posts: 69
Joined: Tue Apr 15, 2008 5:08 pm

RE: dislaying already created windows in phab

Postby juanplacco » Mon Oct 06, 2008 2:44 pm

ApCreateModule() - PtDestroyWidget(). In addition you have to create an internal link to your window.

Try this

Juan Manuel
juanplacco
Senior Member
 
Posts: 318
Joined: Wed May 17, 2006 2:30 pm

Postby invoker » Tue Oct 07, 2008 9:40 am

thx,

I tried to use it but I found only one example on qnx site which isn't helping a lot.

Would it be possilbe for you to put a example how on how to use it? Thank you!
invoker
Active Member
 
Posts: 69
Joined: Tue Apr 15, 2008 5:08 pm

Postby invoker » Tue Oct 07, 2008 9:56 am

Ok I got It!

I needed to create a internal link in phab and then i just call my window using ApCreateModule(ABM_window,null,null); :)
invoker
Active Member
 
Posts: 69
Joined: Tue Apr 15, 2008 5:08 pm


Return to GUI Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron