ApCreateModule / Pt_ARG_DIM

Hi.

When I call ApCreateModule and I set Pt_ARG_DIM of the widget loaded right
after,
there is no way to make it keep it, on the screen I can see the widget being
well resized
but few secs after it goes back to the orginal size.

Of couse I if resize it later, somewhere else in the application it works.

I tried PtRealizeWidget/PtFlush/PtRelease/PtSyncWidget but none works.

Is there any trick ?

Regards.

Would it be possible for you to post some source or maybe you could email me and example of what you are trying to do. What you are trying to accomplish should be possible.

Thanks
Rodney



Previously, Jean-Hugues Royer wrote in qdn.public.qnxrtp.photon:

Hi.

When I call ApCreateModule and I set Pt_ARG_DIM of the widget loaded right
after,
there is no way to make it keep it, on the screen I can see the widget being
well resized
but few secs after it goes back to the orginal size.

Of couse I if resize it later, somewhere else in the application it works.

I tried PtRealizeWidget/PtFlush/PtRelease/PtSyncWidget but none works.

Is there any trick ?

Regards.