Name

GetDeskTopWindow

Synopsis

Returns an hWnd to the desktop window:

Public Declare Function GetDesktopWindow Lib "user32" _
		Alias "GetDesktopWindow" (  ) As Long

Parameters

This function takes no arguments.

Return Value

Returns the desktop window handle.

Get Subclassing and Hooking with Visual Basic now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.