This is the sample. Try to set the taskbar in autohide mode then run the sample, move the mouse cursor toward the bottom of the screen to cause the taskbar to show then let it hide again and you will see that the little bottom-right square between the two scrollbars doesn't repaint itself (it keeps a color stripe of the taskbar).
- Code: Select all Expand view RUN
#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oWnd, oBrw
USE TEST
DEFINE WINDOW oWnd
SET MESSAGE OF oWnd
@ 0, 0 LISTBOX oBrw FIELDS
oWnd:oClient = oBrw
ACTIVATE WINDOW oWnd;
ON INIT oWnd:Move( 0, 0, GETSYSMETRICS( 0 ) / 2, GETSYSMETRICS( 1 ) )
CLOSE
RETURN NIL
EMG