Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 884 Bytes

PaintDesktop.md

File metadata and controls

44 lines (29 loc) · 884 Bytes

Home

Function name : PaintDesktop

Group: Painting and Drawing - Library: user32


Fills the clipping region in the specified device context with the desktop pattern or wallpaper.


Declaration:

BOOL PaintDesktop(
	HDC hdc  // handle to DC
);  

FoxPro declaration:

DECLARE INTEGER PaintDesktop IN user32;
	INTEGER hdc  

Parameters:

hdc [in] Handle to the device context.


Return value:

If the function succeeds, the return value is nonzero.


Comments:

You may call this function from within the Paint event of a form and see what happens to form's native controls, which controls are windowless by definition.