I saw that TMsgBar draws the gripper, but does not manage it.
To do this add at end of METHOD MouseMove( nRow, nCol, nFlags ) CLASS TMsgBar
Code: Select all
if ::lPaint3L .and. nCol> ::nWidth-::nHeight
SetCursor( LoadCursor( 0, 32642/*IDC_SIZENWSE*/ ) )
return nil
endif
Code: Select all
if ::lPaint3L .and. nCol> ::nWidth-::nHeight
aPoint := { nRow, nCol }
aPoint := ClientToScreen(::hWnd,aPoint)
//*aPoint := ScreenToClient(::oWnd:hWnd,aPoint)
SendMessage(::oWnd:hWnd, /*WM_SYSCOMMAND*/274, /*SC_SIZE|WMSZ_BOTTOMRIGHT*/0xF008, nMakeLong(aPoint[1],aPoint[2]))
endif
Regards,
Antonino