Click here to Skip to main content
15,901,284 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Translation Pin
sardinka11-Jun-03 4:09
sardinka11-Jun-03 4:09 
GeneralRe: Translation Pin
David Crow11-Jun-03 4:22
David Crow11-Jun-03 4:22 
GeneralRe: Translation Pin
sardinka11-Jun-03 5:09
sardinka11-Jun-03 5:09 
GeneralRe: Translation Pin
David Crow11-Jun-03 5:29
David Crow11-Jun-03 5:29 
GeneralRe: Translation Pin
sardinka11-Jun-03 6:06
sardinka11-Jun-03 6:06 
GeneralRe: Translation Pin
David Crow11-Jun-03 7:39
David Crow11-Jun-03 7:39 
General__pctype & ___mb_cur_max Pin
Andrew Hoole9-Jun-03 6:00
Andrew Hoole9-Jun-03 6:00 
GeneralRe: __pctype & ___mb_cur_max Pin
Joaquín M López Muñoz9-Jun-03 7:47
Joaquín M López Muñoz9-Jun-03 7:47 
GeneralRe: __pctype & ___mb_cur_max Pin
Sardaukar9-Jun-03 21:58
Sardaukar9-Jun-03 21:58 
GeneralNetWork Diagram in View Pin
sulaxan9-Jun-03 5:47
sulaxan9-Jun-03 5:47 
GeneralJustifying text Pin
Anonymous9-Jun-03 5:41
Anonymous9-Jun-03 5:41 
GeneralRe: Justifying text Pin
AparnaBollapalli31-Oct-09 23:47
AparnaBollapalli31-Oct-09 23:47 
Generalsize of integer and pointer on a machine Pin
Omar Alvi9-Jun-03 4:51
Omar Alvi9-Jun-03 4:51 
GeneralRe: size of integer and pointer on a machine Pin
valikac9-Jun-03 6:33
valikac9-Jun-03 6:33 
GeneralRe: size of integer and pointer on a machine Pin
Omar Alvi9-Jun-03 18:40
Omar Alvi9-Jun-03 18:40 
GeneralRe: size of integer and pointer on a machine Pin
valikac9-Jun-03 18:51
valikac9-Jun-03 18:51 
GeneralRe: size of integer and pointer on a machine Pin
Omar Alvi9-Jun-03 19:18
Omar Alvi9-Jun-03 19:18 
GeneralRe: size of integer and pointer on a machine Pin
Ryan Binns9-Jun-03 23:15
Ryan Binns9-Jun-03 23:15 
GeneralPanning -Zooming-Centering 2d shapes Pin
ninpo9-Jun-03 4:50
ninpo9-Jun-03 4:50 
QuestionHow to import the addressbook of the Cuteftp to my program? Pin
kindows9-Jun-03 4:38
kindows9-Jun-03 4:38 
QuestionWhich API can set a image file as wallpaper? Pin
white jungle9-Jun-03 4:35
white jungle9-Jun-03 4:35 
AnswerRe: Which API can set a image file as wallpaper? Pin
Ryan Binns9-Jun-03 4:43
Ryan Binns9-Jun-03 4:43 
AnswerRe: Which API can set a image file as wallpaper? Pin
kindows9-Jun-03 4:44
kindows9-Jun-03 4:44 
AnswerRe: Which API can set a image file as wallpaper? Pin
Sardaukar9-Jun-03 22:02
Sardaukar9-Jun-03 22:02 
[MSDN October 2001]

IActiveDesktop::SetWallpaper
Sets the wallpaper for the Active Desktop.

HRESULT SetWallpaper(
LPCWSTR pwszWallpaper,
DWORD dwReserved
);

Parameters
pwszWallpaper
String value containing the file name of the wallpaper to be set.
dwReserved
Reserved. Must be set to zero.
Return Values
Returns S_OK if successful, or an OLE error code otherwise.

See Also
IActiveDesktop

Requirements
Version 4.71 and later of Shell32.dll

Windows NT/2000: Requires Windows 2000 (or Windows NT 4.0 with Internet Explorer 4.0 or later).
Windows 95/98/Me: Requires Windows 98 (or Windows 95 with Internet Explorer 4.0 or later).
Header: Declared in Shlobj.h.

So it should work from IE 4.0+. Hope it helps.

For a lower version, try SystemParametersInfo:

BOOL SystemParametersInfo(
UINT uiAction, // system parameter to retrieve or set
UINT uiParam, // depends on action to be taken
PVOID pvParam, // depends on action to be taken
UINT fWinIni // user profile update option
);


SPI_SETDESKWALLPAPER
Sets the desktop wallpaper.

The value of the pvParam parameter determines the new wallpaper.
To specify a wallpaper bitmap, set pvParam to point to a null-terminated string containing the name of a bitmap file.

Setting pvParam to "" removes the wallpaper.
Setting pvParam to SETWALLPAPER_DEFAULT or NULL reverts to the default wallpaper.
GeneralBasic understanding question... Pin
CherezZaboro9-Jun-03 4:32
CherezZaboro9-Jun-03 4:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.