s***@asmr.net
2007-04-07 20:49:52 UTC
Hi,
Could somebody translate this code to Delphi please? I got it in an
answer to a problem I was having but the very helpful poster only knew
the C syntax. Can anyone help please?
MINMAXINFO *mmi;
case WM_GETMINMAXINFO:
/* get a pointer to the MINMAXINFO structure that is passed in the
'LParam' */
mmi = (MINMAXINFO *)lParam;
/* set the max size for the window */
mmi->ptMaxSize.x = 123;
mmi->ptMaxSize.y = 456;
return 0;
TIA.
Regards,
Scott
Could somebody translate this code to Delphi please? I got it in an
answer to a problem I was having but the very helpful poster only knew
the C syntax. Can anyone help please?
MINMAXINFO *mmi;
case WM_GETMINMAXINFO:
/* get a pointer to the MINMAXINFO structure that is passed in the
'LParam' */
mmi = (MINMAXINFO *)lParam;
/* set the max size for the window */
mmi->ptMaxSize.x = 123;
mmi->ptMaxSize.y = 456;
return 0;
TIA.
Regards,
Scott