Re: SetDesktopWallPaper() should call SystemParametersInfoA()

2006-07-17 Thread Dmitry Timoshkov
"Andrew Ziem" <[EMAIL PROTECTED]> wrote: If the varaibles are no more used in this file you should not make static variables public, but move them into appropriate file instead. All these variables are now used in two files: desktop.c and sysparams.c Ah, sorry, didn't notice that they are st

Re: SetDesktopWallPaper() should call SystemParametersInfoA()

2006-07-17 Thread Andrew Ziem
Dmitry Timoshkov wrote: "Andrew Ziem" <[EMAIL PROTECTED]> wrote: -static HBITMAP hbitmapWallPaper; -static SIZE bitmapSize; -static BOOL fTileWallPaper; +HBITMAP hbitmapWallPaper; /* desktop wallpaper */ +SIZE bitmapSize; /* size of desktop wallpaper */ +BOOL fTileWallPaper; If the varaibles

Re: SetDesktopWallPaper() should call SystemParametersInfoA()

2006-07-17 Thread Dmitry Timoshkov
"Andrew Ziem" <[EMAIL PROTECTED]> wrote: -static HBITMAP hbitmapWallPaper; -static SIZE bitmapSize; -static BOOL fTileWallPaper; +HBITMAP hbitmapWallPaper; /* desktop wallpaper */ +SIZE bitmapSize; /* size of desktop wallpaper */ +BOOL fTileWallPaper; If the varaibles are no more used in this