Ph_WM_COLLAPSE

bridged with qdn.public.qnxrtp.photon
Post Reply
Alain Bonnefoy

Ph_WM_COLLAPSE

Post by Alain Bonnefoy » Mon Jan 12, 2004 10:52 am

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.

Dave Boltz

Re: Ph_WM_COLLAPSE

Post by Dave Boltz » Thu Jan 15, 2004 10:20 pm

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.

Post Reply

Return to “qdn.public.qnxrtp.photon”