Click here to Skip to main content
15,890,946 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Detect and Fill part of an image Pin
A.A.31-Jan-06 7:47
A.A.31-Jan-06 7:47 
AnswerRe: Detect and Fill part of an image Pin
normanS31-Jan-06 20:16
normanS31-Jan-06 20:16 
GeneralRe: Detect and Fill part of an image Pin
beko1-Feb-06 1:01
beko1-Feb-06 1:01 
GeneralRe: Detect and Fill part of an image Pin
normanS1-Feb-06 19:16
normanS1-Feb-06 19:16 
Questionwant to kill previous instance of the same MFC app Pin
Aryan S31-Jan-06 0:12
Aryan S31-Jan-06 0:12 
AnswerRe: want to kill previous instance of the same MFC app Pin
Owner drawn31-Jan-06 1:05
Owner drawn31-Jan-06 1:05 
AnswerRe: want to kill previous instance of the same MFC app Pin
Rage31-Jan-06 1:52
professionalRage31-Jan-06 1:52 
QuestionSetting wallpaper before SwitchDesktop Pin
Chintoo72331-Jan-06 0:08
Chintoo72331-Jan-06 0:08 
I have a multiple desktop application in which I am trying to set a different wall paper when you switch between different desktops. I am setting the wallpaper as:
<br />
SystemParametersInfo(SPI_SETDESKWALLPAPER,0,(void*)m_WallPaper,SPIF_UPDATEINIFILE|SPIF_SENDWININICHANGE)<br />


This seems to set the wall paper correctly, but after I call SwitchDesktop the wall paper vanishes a few seconds later. I create a seperate explorer.exe per desktop.

1. Does any one know if there is any other way to set the wall paper?
2. Is it possible to identify what causes the wall paper to change? I mean, who has changed it?
3. Is the wall paper set by the system or windows explorer?
4. Any ideas to debug why the wall paper vanishes?


thanks!
AnswerRe: Setting wallpaper before SwitchDesktop Pin
Owner drawn31-Jan-06 0:19
Owner drawn31-Jan-06 0:19 
GeneralRe: Setting wallpaper before SwitchDesktop Pin
Chintoo72331-Jan-06 0:33
Chintoo72331-Jan-06 0:33 
Questionchar[] to cstring Pin
Member 227165530-Jan-06 23:38
Member 227165530-Jan-06 23:38 
AnswerRe: char[] to cstring Pin
Owner drawn30-Jan-06 23:45
Owner drawn30-Jan-06 23:45 
GeneralRe: char[] to cstring Pin
Member 227165530-Jan-06 23:57
Member 227165530-Jan-06 23:57 
GeneralRe: char[] to cstring Pin
Owner drawn31-Jan-06 0:00
Owner drawn31-Jan-06 0:00 
GeneralRe: char[] to cstring [deleted] Pin
toxcct31-Jan-06 0:20
toxcct31-Jan-06 0:20 
GeneralRe: char[] to cstring(edited) Pin
Owner drawn31-Jan-06 0:21
Owner drawn31-Jan-06 0:21 
GeneralRe: char[] to cstring Pin
Member 227165530-Jan-06 23:59
Member 227165530-Jan-06 23:59 
GeneralRe: char[] to cstring Pin
Owner drawn31-Jan-06 0:01
Owner drawn31-Jan-06 0:01 
GeneralRe: char[] to cstring Pin
Member 227165531-Jan-06 0:32
Member 227165531-Jan-06 0:32 
QuestionGetting Hex value from Edit box ? Pin
kk_vp30-Jan-06 23:09
kk_vp30-Jan-06 23:09 
AnswerRe: Getting Hex value from Edit box ? Pin
Owner drawn30-Jan-06 23:13
Owner drawn30-Jan-06 23:13 
GeneralRe: Getting Hex value from Edit box ? Pin
kk_vp30-Jan-06 23:34
kk_vp30-Jan-06 23:34 
GeneralRe: Getting Hex value from Edit box ? Pin
Owner drawn30-Jan-06 23:38
Owner drawn30-Jan-06 23:38 
GeneralRe: Getting Hex value from Edit box ? Pin
kk_vp30-Jan-06 23:44
kk_vp30-Jan-06 23:44 
GeneralRe: Getting Hex value from Edit box ? Pin
Owner drawn30-Jan-06 23:54
Owner drawn30-Jan-06 23:54 

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.