yes sure see plex help for Source code: WINAPI/SetControlSize
{
HWND hWnd = ObPanelAPI::GetControlHandleByName( &(1:) );
::SetWindowPos( hWnd, NULL, 0, 0, &(2:), &(3:),
SWP_NOMOVE|SWP_NOREPOSITION|SWP_NOZORDER );
}
Note:
- you could call Source code: WINAPI/GetControlSize to find out current size
- Scroll Bars = NONE
- Scrolling = Vertical
To find out the height required you could do some guess work by getting text length and division or more accutately you have to GetTextExtentPoint32 and GetTextMetrics
See StellaTools.Abstract.OBJECTS.Msc.GetTextExtentPoint32