Forum Topic - Switching graphics console from a C code: (3 Items)
   
Switching graphics console from a C code  
Hi,

Is it possible to switch between Photon consoles from a C code ?

Regards,
Jacek
Re: Switching graphics console from a C code  
The following code (pseudo) will swith to console 1.
...
PhWindowEvent_t ev;
...
    ev.event_f = Ph_WM_CONSWITCH;
    ev.rid = PtWidgetRid(widget);
    ev.input_group = 1;
    ev.event_state = 0;
     ev.pos.x = 0;
    ev.pos.y = 0;
    PtForwardWindowEvent( &ev );
...
Re: Switching graphics console from a C code  
I will test this soon...

Thank you !!
Jacek