COM Interface

Wallpaper Cycler includes a COM DLL which requires the .NET framework version 2. This COM object exposes several functions that allow you to control Wallpaper Cycler.

The following functions are exported by this COM object:

Details

bool StartCycling()

Returns true if the message was posted successfully to Wallpaper Cycler.

Back to Top

 

bool StopCycling()

Returns true if the message was posted successfully to Wallpaper Cycler.

Back to Top

 

bool NextWallpaper()

Returns true if the message was posted successfully to Wallpaper Cycler.

Back to Top

 

bool PreviousWallpaper()

Returns true if the message was posted successfully to Wallpaper Cycler.

Back to Top

 

bool ToggleSlideshowMode()

Returns true if the message was posted successfully to Wallpaper Cycler.

Back to Top

 

bool ToggleMainWindow()

If the main window of Wallpaper Cycler is not currently being shown, this function will show the window.

If the main window is currently visible, this function will hide the main window only when the main window does not have any open popup windows.

Returns true if the message was posted successfully to Wallpaper Cycler.

Back to Top

 

int GetNumberOfSecondsTillNextCycle()

Returns the number of seconds until the next cycle of Wallpaper Cycler or -1 when there was an error.

Back to Top

 

bool IsCycling()

Returns true if Wallpaper Cycler is currently in cycling mode.

Back to Top

 

bool RerenderCurrentWallpaper()

Returns true if the message was posted successfully to Wallpaper Cycler.

Back to Top

 

bool NextWallpaperFromSameCat()

Returns true if the message was posted successfully to Wallpaper Cycler.

Back to Top

 

bool RestartCycling()

Returns true if the message was posted successfully to Wallpaper Cycler.

Back to Top

 

bool SetNoWallpaperOnDesktop()

Returns true if the message was posted successfully to Wallpaper Cycler.

Back to Top

 

bool RefreshDesktop()

Returns true if the message was posted successfully to Wallpaper Cycler.

Back to Top

 

bool ShowQuoteEditor()

Returns true if the message was posted successfully to Wallpaper Cycler.

Back to Top

 

bool ShowNotesEditor()

Returns true if the message was posted successfully to Wallpaper Cycler.

Back to Top

 

bool ShowCalendarNotesEditor()

Returns true if the message was posted successfully to Wallpaper Cycler.

Back to Top

 

bool ShowManageFeeds()

Returns true if the message was posted successfully to Wallpaper Cycler.

Back to Top

 

bool ShowDisplayProperties()

Returns true if the message was posted successfully to Wallpaper Cycler.

Back to Top


This COM object can be used in any programming language that supports COM. For example, in Javascript it can be used as follows:

<script type="text/javascript">
var gWPC = new ActiveXObject("WallpaperCyclerCOM.Controller");
var success = gWPC.StartCycling();
</script>

 

Back to Top

Copyright © 2007 NuonSoft
All trademarks and trade names are properties of their respective owners.