Antonio, I tried to insert this features on my app on a Window I open a dialog with nStyle := nOR( WS_CHILD, 4 )
if this dialog is actived and I click then it insert a space from tab and the dialog activated and I not Know How refresh the dialog to change the size I tried with aClient := GetClientRect (oWnd:hWnd ) and the setsize but it not refresh
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Function ResizeWndMain() local aClient if oApp():oDlg != NIL aClient := GetClientRect (oApp():oWndMain:hWnd ) oApp():oDlg:SetSize( aClient[4], aClient[3] - oApp():oBar:nHeight - oApp():oWndMain:oMsgBar:nHeight ) oApp():oDlg:Refresh() endif return NIL
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com