| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) | 
|  | This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. | 
Switch to another virtual console
int PtConsoleSwitch( int console );
ph
This function causes PWM to switch the current display to the virtual console console (where console is a number in the range 0 to 8):

Numbering for Photon's virtual consoles.
Virtual consoles are numbered from 0 through 8, with 0 at the top left, and 8 at the lower right. The coordinates of the top left corner of console 0 are (0,0). The coordinates of the other consoles depend on your screen size.
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
Window Management chapter of the Photon Programmer's Guide
| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) |