Click here to Skip to main content
15,914,419 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralAssignment Operator with const Member Variables Pin
Steve Thresher7-Jul-04 23:48
Steve Thresher7-Jul-04 23:48 
GeneralRe: Assignment Operator with const Member Variables Pin
Mike Dimmick8-Jul-04 0:47
Mike Dimmick8-Jul-04 0:47 
GeneralNo No No! Pin
Steve Thresher8-Jul-04 2:03
Steve Thresher8-Jul-04 2:03 
GeneralRe: No No No! Pin
digwizfox8-Jul-04 5:39
digwizfox8-Jul-04 5:39 
GeneralLock keybord and mouse Pin
Larsson7-Jul-04 23:43
Larsson7-Jul-04 23:43 
GeneralBest technique to Schedule Tasks Pin
Atif Mushtaq7-Jul-04 23:38
Atif Mushtaq7-Jul-04 23:38 
GeneralRe: Best technique to Schedule Tasks Pin
Blake Miller8-Jul-04 14:13
Blake Miller8-Jul-04 14:13 
Generalchange desktop backgroun color Pin
repekcan7-Jul-04 23:24
repekcan7-Jul-04 23:24 
Hi,

I am trying change desktop bkcolor without restart,logoff-logon or using control panel.

I opened the spy to get handle desktop listview,after that i write this code:

(HWND)0x00030074-->this is what desktop listview handle

...
ListView_SetBkColor((HWND)0x00030074,RGB(255,0,0));
...
it is work until desktop get WM_PAINT,(you can see it by spy++)
after desktop got WM_PAINT,desktop bkcolor getting old value which is defined in
'HKEY_CURRENT_USER\Control Panel\Colors\Background' key value.

i changed 'HKEY_CURRENT_USER\Control Panel\Colors\Background' key value what i want
and added this code because i wanted to take effect registry without logoff-restart

::SendMessage((HWND)0x00030074/*HWND_BROADCAST*/,WM_SETTINGCHANGE,0,0);

it is not work.

ı thing control panel settings can not be changed WM_SETTINGCHANGE message...

i want to change desktop bkcolor like control panel display settings.

How can i do that ??

Thanks,

repekcan

GeneralRe: change desktop backgroun color Pin
Mike Dimmick8-Jul-04 0:54
Mike Dimmick8-Jul-04 0:54 
Generalthanks your help Pin
repekcan8-Jul-04 1:03
repekcan8-Jul-04 1:03 
GeneralVC++ Automation Word 2000 Error : Unable to Disable "Cntrl+C" Pin
vishalmore7-Jul-04 23:16
vishalmore7-Jul-04 23:16 
GeneralODBC API Pin
Yulianto.7-Jul-04 23:11
Yulianto.7-Jul-04 23:11 
GeneralRe: ODBC API Pin
Johan Rosengren8-Jul-04 0:24
Johan Rosengren8-Jul-04 0:24 
GeneralOnMouseMove value problem Pin
d0153030y7-Jul-04 21:48
sussd0153030y7-Jul-04 21:48 
GeneralRe: onmousemove value problem Pin
Mike Dimmick8-Jul-04 1:17
Mike Dimmick8-Jul-04 1:17 
Generalfread() with excel and powerpoint files Pin
Member 3600827-Jul-04 20:27
Member 3600827-Jul-04 20:27 
GeneralRe: fread() with excel and powerpoint files Pin
vmaltsev8-Jul-04 2:03
vmaltsev8-Jul-04 2:03 
GeneralRe: fread() with excel and powerpoint files Pin
Member 3600828-Jul-04 2:08
Member 3600828-Jul-04 2:08 
GeneralRe: fread() with excel and powerpoint files Pin
vmaltsev8-Jul-04 2:50
vmaltsev8-Jul-04 2:50 
GeneralRe: fread() with excel and powerpoint files Pin
David Crow8-Jul-04 3:17
David Crow8-Jul-04 3:17 
GeneralAbout fatal error,when using customized template class in MFC proj. Pin
bg2sc7-Jul-04 20:06
bg2sc7-Jul-04 20:06 
GeneralRe: About fatal error,when using customized template class in MFC proj. Pin
Mike Dimmick8-Jul-04 1:57
Mike Dimmick8-Jul-04 1:57 
GeneralTiff to raw Pin
rita12027-Jul-04 19:52
rita12027-Jul-04 19:52 
GeneralRe: Tiff to raw Pin
ThatsAlok7-Jul-04 22:32
ThatsAlok7-Jul-04 22:32 
GeneralWhy can't U Update dynamic in sort mode Pin
inlandchris7-Jul-04 18:34
inlandchris7-Jul-04 18:34 

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.