magiblot / tvision

A modern port of Turbo Vision 2.0, the classical framework for text-based user interfaces. Now cross-platform and with Unicode support.
Other
1.99k stars 150 forks source link

Edge mover on Windows and/or Dialogs #138

Closed paule32 closed 7 months ago

paule32 commented 7 months ago

Hello, how can I add a "mover" on the blue Window in the Background, to change the Size of Window ? In the Foreground, you can see the opener Window, and this Window have a "edge" mover, too. (on the bottom right side).

grafik

magiblot commented 7 months ago

Hi Jens!

The sizing handles in Turbo Vision's original views are implemented directly in the TFrame source code:

https://github.com/magiblot/tvision/blob/0917f04206fcfa1973dc49547af74e7399241899/source/tvision/tframe.cpp#L117-L122

https://github.com/magiblot/tvision/blob/0917f04206fcfa1973dc49547af74e7399241899/source/tvision/tframe.cpp#L187-L194

So, if you are not seeing them, you should check:

Cheers.

paule32 commented 7 months ago

Thank You. The Window Flag wfGrow was my Friend.