Skip navigation.
Home
The QNX Community Portal

View topic - Making a window modal in Photon

Making a window modal in Photon

Isn't the name clear?

Making a window modal in Photon

Postby wednesday » Wed Aug 24, 2011 12:34 pm

I have an application which displays another window using ApcreateModule() on a menu button click.I want to make this window modal so that control doesnt go back to the base window whnever user presses hot keys or mouse buttons.I tried using apis like PtMakeModal() ,PtBlockWindow() .But inspite of these whenever I press Alt+F my menu on the base window gets activated which isnt desired.The control should remain on new window until user exits it.Please guide on this.
wednesday
Active Member
 
Posts: 48
Joined: Tue Apr 28, 2009 7:10 am

Re: Making a window modal in Photon

Postby wednesday » Thu Aug 25, 2011 4:34 am

I have an application which displays another window using ApcreateModule() on a menu button click.I want to make this window modal so that control doesnt go back to the base window whnever user presses hot keys or mouse buttons.I tried using apis like PtMakeModal() ,PtBlockWindow() .But inspite of these whenever I press Alt+F my menu on the base window gets activated which isnt desired.The control should remain on new window until user exits it.Please guide on this.
wednesday
Active Member
 
Posts: 48
Joined: Tue Apr 28, 2009 7:10 am


Return to GUI Programming

Who is online

Users browsing this forum: No registered users and 3 guests