My question is simple, I want to know how to resize the control according to the current width and height of the form during run-time, any sample(s) would be highly appreciated.
Regards,
halsten
http://winprog.org/tutorial/app_three.html
This is late but maybe others can use it.
it was originally written in BCX but here is the "c" translation of my demo.
http://www.bcxgurus.com/bcxusers/Ian/Chat_Files/AnchorDemo.C
sorry if there alot of test controls in there.
Ian
In WndProc:
case WM_SIZE:
MoveWindow(hWndEdit, 0, 0, LOWORD(lParam), HIWORD(lParam), TRUE);
return 0;