Skip navigation.
Home
The QNX Community Portal

View topic - Removing the Close button in a HMI player

Removing the Close button in a HMI player

Isn't the name clear?

Removing the Close button in a HMI player

Postby lovelyp » Thu Apr 07, 2011 9:58 am

Hi all,

I have a HMI flash player in which a SWF file is opened. Like every window there are options to "minimize", "maximize", "close " on the right top most area. I don't want these options. Is there any way to avoid these buttons?

The HMI player is working in a QNX 6.5.0 x86 machine.
lovelyp
Active Member
 
Posts: 23
Joined: Sat Jan 30, 2010 9:14 am

RE: Removing the Close button in a HMI player

Postby maschoen » Sat Apr 09, 2011 4:37 am

If you have the source, yes. In PhAB look at the resource for the main window, specifically the rendered options.
If no source, no luck. Well almost none. You could turn off the window manager, but then... you won't have a window manager for anything.
maschoen
QNX Master
 
Posts: 2644
Joined: Wed Jun 25, 2003 5:18 pm

Postby lovelyp » Mon Apr 11, 2011 9:11 am

I would like to know more about what exactly is PhAB. Source code of the swf file is not available with us. So will I be able to do it without Window manager?
lovelyp
Active Member
 
Posts: 23
Joined: Sat Jan 30, 2010 9:14 am

Postby maschoen » Mon Apr 11, 2011 6:12 pm

I was kind of kidding about killing the window manager. It would get rid of the minimize and maximize buttons but would also make your system unusable. If you don't have the source to the flash player, I don't think are likely to be able to do what you want. In principle, you might be able to hack the executable to find and turn off some window manager bits, but you would need extensive internal knowledge of Photon's widget library. I don't know if anyone has that knowledge.
maschoen
QNX Master
 
Posts: 2644
Joined: Wed Jun 25, 2003 5:18 pm


Return to GUI Programming

Who is online

Users browsing this forum: No registered users and 2 guests