Ph_WM_COLLAPSE

Hi,
It seems that the following code:
PtSetArg(&arg[nargs++], Pt_ARG_WINDOW_MANAGED_FLAGS, 0,
Ph_WM_COLLAPSE);
PtSetResources(…)


Doesn’t prevent a window to be collapse.

What’s wrong?

Alain.

Hello Alan,

This will just remove the collapse button from the window frame. If your
window is opened while you make the change to the render flags, try
PtReRealizeWidget( widget_name); after you remove the flag.

Regards,
Dave B.

“Alain Bonnefoy” <alain.bonnefoy@icbt.com> wrote in message
news:40027C74.4080109@icbt.com

Hi,
It seems that the following code:
PtSetArg(&arg[nargs++], Pt_ARG_WINDOW_MANAGED_FLAGS, 0,
Ph_WM_COLLAPSE);
PtSetResources(…)


Doesn’t prevent a window to be collapse.

What’s wrong?

Alain.