Graying Close from application taskbar menu

Hi,

I would like to gray/hide the close menu from the application taskbar menu

i tryed with ressource Flags managed and notify but this seems not the good
Flags.

TIA

Y.LEROUX wrote:

Hi,

I would like to gray/hide the close menu from the application taskbar
menu



i tryed with ressource Flags managed and notify but this seems not the
good
Flags.

TIA

set the bits Pt_BLOCKED and Pt_GHOST in the Pt_ARG_FLAGS field to Pt_TRUE
to gray the entry

Y.LEROUX <A_ENLEVER_y.leroux@actris.com> wrote:

I would like to gray/hide the close menu from the application taskbar menu

i tryed with ressource Flags managed and notify but this seems not the good
Flags.

No, that’s exactly how you should do it: by unsetting Ph_WM_CLOSE in
both Pt_ARG_WINDOW_NOTIFY_FLAGS and Pt_ARG_WINDOW_MANAGED_FLAGS. I just
tried and it worked for me.

Are you running 6.2.1B or something else?

Are you just turning the flags off in PhAB, you do you need to turn them
on and off from code, after the window is already realized?