Zjištění viditelnosti desktopu

Funkce:
Public Function GetDesktopVisible() As Boolean 

   Const HKEY_CURRENT_USER = &H80000001 

   GetDesktopVisible = Not CBool(_
      GetRegistryValue(HKEY_CURRENT_USER, _       "Software\Microsoft\Windows\CurrentVersion\Policies\Explorer", _       "NoDesktop")) 

End Function

Pro více informací: GetRegistryValue

Zpět

Autor: The Bozena