window resizing

how can i achieve a propotional resizing of windows, so that resizing a
window is only possible in both directions?

thanks!

mirtch <mirtch@gmx.net> wrote:

how can i achieve a propotional resizing of windows, so that resizing a
window is only possible in both directions?

thanks!

Not overly sure, but this may help …
under PtWindow, the callback Pt_CB_WINDOW may help you.
You could set the Pt_ARG_WINDOW_NOTIFY_FLAGS to Ph_WM_RESIZE.

Regards.