Resize thing

Started by Marc Van Cauwenberghe, January 11, 2009, 10:23:56 AM

Previous topic - Next topic

Marc Van Cauwenberghe

Hello,

I really need to dig into the fact that I do not have any resize capabilities in my current programs.
Does anyone have some good tips/links/source/... to get me started.
If at all possible Firefly-Friendly :)

Regards,
Marc

TechSupport

I always handle resizing the same way in all my programs. In the WM_SIZE message handler for the Form, I place a function call to a dedicated function that repositions controls based on the current width and height of the Form.

I am not sure what your experience is with moving and positioning controls but I suggest that learn how to use the Win api function SetWindowPos. It can move and resize (and show/hide as well).

Where are you having trouble?