An interface to the ActiveDesktop
-
Applies changes to ActiveDesktop settings and persists them to the registry.
-
Returns the current wallpaper
-
Sets the desktop wallpaper
-
Returns wallpaper style
-
Sets wallpaper style
-
Returns the wallpaper pattern
-
Sets the wallpaper pattern
-
Returns options for Active Desktop.
-
Sets Active Desktop options
-
Creates a new item to display on the desktop
-
Adds a desktop item, allowing user interaction
-
Changes parameters for a desktop item
-
Removes an item from the Active Desktop
-
Returns number of defined desktop items.
-
Returns desktop item parameters by index
-
Returns desktop item parameters by Id
-
Creates an HTML page for the desktop item
-
Adds a web page to desktop, allowing user interaction
-
Returns desktop item parameters by URL
PyIActiveDesktop.AddDesktopItem
AddDesktopItem(comp, Reserved) Creates a new item to display on the desktop
-
comp : dict
COMPONENT dictionary
-
Reserved=0 : int
Use 0 if passed in
PyIActiveDesktop.AddDesktopItemWithUI
AddDesktopItemWithUI(hwnd, comp, Flags) Adds a desktop item, allowing user interaction
-
hwnd : PyHANDLE
Handle to parent window
-
comp : dict
COMPONENT dictionary
-
Flags : int
One of shellcon.DTI_ADDUI_* flags
PyIActiveDesktop.AddUrl
AddUrl(hwnd, Source, comp, Flags) Adds a web page to desktop, allowing user interaction
-
hwnd : PyHANDLE
Parent windows for any user interactive
-
Source : PyUNICODE
Source URL
-
comp : dict
COMPONENT dictionary
-
Flags : int
ADDURL_SILENT, or 0
PyIActiveDesktop.ApplyChanges
ApplyChanges(Flags) Applies changes to ActiveDesktop settings and persists them to the registry.
-
Flags : int
Combination of shellcon.AD_APPLY_* flags
PyIActiveDesktop.GenerateDesktopItemHtml
GenerateDesktopItemHtml(FileName, comp, Reserved) Creates an HTML page for the desktop item
-
FileName : PyUNICODE
Name of file to be created
-
comp : dict
COMPONENT dictionary specifying the desktop item
-
Reserved=0 : int
Use 0 if passed in
PyIActiveDesktop.GetDesktopItem
dict = GetDesktopItem(Component, Reserved
) Returns desktop item parameters by index
-
Component : int
The zero-based index of the component to get
-
Reserved=0 : int
Use 0 if passed in
Returns a COMPONENT dictionary describing the item
PyIActiveDesktop.GetDesktopItemByID
dict = GetDesktopItemByID(ID, reserved
) Returns desktop item parameters by Id
-
ID : int
The Id of the desktop item
-
reserved=0 : int
Use 0 if passed in
Returns a COMPONENT dictionary
PyIActiveDesktop.GetDesktopItemBySource
dict = GetDesktopItemBySource(Source, Reserved
) Returns desktop item parameters by URL
-
Source : PyUNICODE
The URL address of the item to retrieve
-
Reserved=0 : int
Use 0 if passed in
Returns a COMPONENT dictionary
PyIActiveDesktop.GetDesktopItemCount
GetDesktopItemCount() Returns number of defined desktop items.
PyIActiveDesktop.GetDesktopItemOptions
dict = GetDesktopItemOptions() Returns options for Active Desktop.
Returns a COMPONENTSOPT dictionary
PyIActiveDesktop.GetPattern
GetPattern(cchPattern, Reserved) Returns the wallpaper pattern
-
cchPattern=1024 : int
Number of characters to allocate for buffer
-
Reserved=0 : int
Use 0 if passed in
Returns a unicode string containing decimal values representing the pattern
PyIActiveDesktop.GetWallpaper
PyUNICODE = GetWallpaper(cchWallpaper, Reserved
) Returns the current wallpaper
-
cchWallpaper=MAX_PATH : int
Number of characters to allocate for buffer
-
Reserved=0 : int
Use 0 if passed in
PyIActiveDesktop.GetWallpaperOptions
int = GetWallpaperOptions(Reserved) Returns wallpaper style
-
Reserved=0 : int
Use 0 if passed in
Returns one of the WPSTYLE_* values
PyIActiveDesktop.ModifyDesktopItem
ModifyDesktopItem(comp, Flags) Changes parameters for a desktop item
-
comp : dict
COMPONENT dictionary
-
Flags : int
Combination of shellcon.COMP_ELEM_* flags
PyIActiveDesktop.RemoveDesktopItem
RemoveDesktopItem(comp, Reserved) Removes an item from the Active Desktop
-
comp : dict
COMPONENT dictionary specifying which component to remove
-
Reserved=0 : int
Use 0 if passed in
PyIActiveDesktop.SetDesktopItemOptions
SetDesktopItemOptions(comp, Reserved) Sets Active Desktop options
-
comp : dict
COMPONENTSOPT dictionary
-
Reserved=0 : int
Use 0 if passed in
PyIActiveDesktop.SetPattern
SetPattern(Pattern, Reserved) Sets the wallpaper pattern
-
Pattern : PyUNICODE
String of decimal numbers representing a picture
-
Reserved=0 : int
Use 0 if passed in
PyIActiveDesktop.SetWallpaper
SetWallpaper(Wallpaper, Reserved) Sets the desktop wallpaper
-
Wallpaper : PyUNICODE
File to be used as new wallpaper
-
Reserved=0 : int
Reserved, use 0 if passed in
PyIActiveDesktop.SetWallpaperOptions
SetWallpaperOptions(Style, Reserved) Sets wallpaper style
-
Style : int
The wallpaper style, one of the WPSTYLE_* constants
-
Reserved=0 : int
Reserved, use 0 if passed in