cursor question

I want to hide cursor in window
i try this this code doesn’t work
any solution ?
thanks,

PtWindow_t *win;

PtSetResource(win,Pt_ARG_CURSOR_TYPE,Ph_CURSOR_NONE,0);

Hi rgb,

The code below should work. Is this a PhAB application or a non-PhAB
app? Where are you setting this resource?

Regards
Brenda

rgb wrote:

I want to hide cursor in window
i try this this code doesn’t work
any solution ?
thanks,

PtWindow_t *win;

PtSetResource(win,Pt_ARG_CURSOR_TYPE,Ph_CURSOR_NONE,0);

\

“GUI Group” <gui@qnx.com> a écrit dans le message de news:
3C5E9B1A.6060600@qnx.com

Hi rgb,

The code below should work. Is this a PhAB application or a non-PhAB
app? Where are you setting this resource?

Regards
Brenda

Hi,
it’s a no-phab application (qnx rtp 6.1)
i’m setting this resource when the window is actived
when received message Ph_WM_FOCUS

i have try some value (all works elsewhere Ph_CURSOR_NONE)

i can send all code if needed
thanks,


rgb wrote:

I want to hide cursor in window
i try this this code doesn’t work
any solution ?
thanks,

PtWindow_t *win;

PtSetResource(win,Pt_ARG_CURSOR_TYPE,Ph_CURSOR_NONE,0);


\

Hi rgb,

What callback are you receiving the Ph_WM_FOCUS event on?

Regards
Brenda


rgb wrote:

“GUI Group” <> gui@qnx.com> > a écrit dans le message de news:
3C5E9B1A.6060600@qnx.com> …

Hi rgb,

The code below should work. Is this a PhAB application or a non-PhAB
app? Where are you setting this resource?

Regards
Brenda


Hi,
it’s a no-phab application (qnx rtp 6.1)
i’m setting this resource when the window is actived
when received message Ph_WM_FOCUS


i have try some value (all works elsewhere Ph_CURSOR_NONE)

i can send all code if needed
thanks,



rgb wrote:


I want to hide cursor in window
i try this this code doesn’t work
any solution ?
thanks,

PtWindow_t *win;

PtSetResource(win,Pt_ARG_CURSOR_TYPE,Ph_CURSOR_NONE,0);




\

I have found the solution of my mistake
thanks,


“GUI Group” <gui@qnx.com> a écrit dans le message de news:
3C5E9B1A.6060600@qnx.com

Hi rgb,

The code below should work. Is this a PhAB application or a non-PhAB
app? Where are you setting this resource?

Regards
Brenda

rgb wrote:

I want to hide cursor in window
i try this this code doesn’t work
any solution ?
thanks,

PtWindow_t *win;

PtSetResource(win,Pt_ARG_CURSOR_TYPE,Ph_CURSOR_NONE,0);


\