View topic - Functional keys programming

Functional keys programming

Isn't the name clear?

Functional keys programming

Postby csepl » Fri May 22, 2009 11:34 am

I have created two GUI screens without using PhAB.
I want Program the Functionals keys such that If F1 is pressed ,first GUI screen should be veiwed ,if F2 is pressed sceond GUI screen should be veiwed. for F3 the system should shutdown.

can any body help us in this matter?
New Member
Posts: 5
Joined: Tue Mar 03, 2009 6:55 am

RE: Functional keys programming

Postby maschoen » Fri May 22, 2009 2:54 pm

You need a Raw widget to detect the keyboard event(s). Deciding what to view can be done in a number of ways. One would be to change the size of the unviewed screen to 1,1. Another would be to change which window is on top.
QNX Master
Posts: 2678
Joined: Wed Jun 25, 2003 5:18 pm

Return to GUI Programming

Who is online

Users browsing this forum: No registered users and 1 guest