Jump to content

How to programmatically fight with WPS:Desktop background: Difference between revisions

From EDM2
No edit summary
Ak120 (talk | contribs)
mNo edit summary
 
Line 12: Line 12:
<center><noinclude><< [[How to programmatically fight with WPS:Start a VIO window with a changed font size|Start a VIO window with a changed font size]] -- [[How to programmatically fight with WPS|Index]] -- [[How to programmatically fight with WPS:Properties of the root directory|Properties of the root directory]] >></noinclude></center>
<center><noinclude><< [[How to programmatically fight with WPS:Start a VIO window with a changed font size|Start a VIO window with a changed font size]] -- [[How to programmatically fight with WPS|Index]] -- [[How to programmatically fight with WPS:Properties of the root directory|Properties of the root directory]] >></noinclude></center>


[[Category:SOM Articles]]
[[Category:How to programmatically fight with WPS]]

Latest revision as of 13:43, 12 November 2016

<< Start a VIO window with a changed font size -- Index -- Properties of the root directory >>


Is there a way to find where the desktop's background is stored and change it? I've heard it's possible with the WinSetObjectData() function but I don't know how to do this?

Yes, you do use WinSetObjectData(). You can find the relevant setup string in the WPS Programming Reference. e.g.

 WinSetObjectData(WinQueryObject("<WP_DESKTOP>"),
   "BACKGROUND=c:\somewhere\something.bmp,T,1,I;");


<< Start a VIO window with a changed font size -- Index -- Properties of the root directory >>