Click here to Skip to main content
15,897,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DDX_DateTimeCtrl Pin
Daniel B.11-Nov-00 2:25
Daniel B.11-Nov-00 2:25 
GeneralRe: DDX_DateTimeCtrl Pin
Michael Dunn11-Nov-00 8:58
sitebuilderMichael Dunn11-Nov-00 8:58 
GeneralExport registry settings Pin
Eq10-Nov-00 5:00
Eq10-Nov-00 5:00 
GeneralProblem with WritePrivateProfileString Pin
User 665810-Nov-00 3:21
User 665810-Nov-00 3:21 
GeneralRe: Problem with WritePrivateProfileString Pin
Masaaki Onishi10-Nov-00 7:29
Masaaki Onishi10-Nov-00 7:29 
GeneralRe: Problem with WritePrivateProfileString Pin
User 665811-Nov-00 3:12
User 665811-Nov-00 3:12 
GeneralScrollbars on static control Pin
Joris Mans10-Nov-00 3:12
sussJoris Mans10-Nov-00 3:12 
GeneralUpdating desktop icons Pin
marakid10-Nov-00 1:02
marakid10-Nov-00 1:02 
I want to change the font of the icons on the desktop. I use this function that wraps SystemParametersInfo:

inline BOOL SPI_SetIconMetrics( ICONMETRICS pIconM, UINT Update )
{
pIconM.cbSize = sizeof( ICONMETRICS );

return( ::SystemParametersInfo(
SPI_SETICONMETRICS,
sizeof( ICONMETRICS ),
&pIconM,
Update ) );
}

I use a valid ICONMETRICS structure and SPIF_SENDCHANGE (documented in MSDN) as Update parameter. Nothing happens on the desktop, but:

1) The font changes in other windows, for example in the icons displayed in My Computer;
2) In Desktop Properties, in the page where you change system colors, the new font for icons is reported correctly. But icons change only if I click on Apply.

How can I update my icons? Note: Accessing desktop as a CWnd and using UpdateWindow, Redraw ecc. does not work.

Any help will be appreciate.

Marakid
QuestionRoll Box as 3dsMax ? Pin
Roms9-Nov-00 18:05
Roms9-Nov-00 18:05 
AnswerRe: Roll Box as 3dsMax ? Pin
12-Nov-00 18:38
suss12-Nov-00 18:38 
GeneralRe: Roll Box as 3dsMax ? Pin
Roms12-Nov-00 19:09
Roms12-Nov-00 19:09 
QuestionHow to play AVI files from memory Pin
Mikko Mononen9-Nov-00 6:18
Mikko Mononen9-Nov-00 6:18 
GeneralSuppressing backspace... Pin
RK9-Nov-00 6:07
RK9-Nov-00 6:07 
GeneralDLL as a container for ActiveX control Pin
dcmace39-Nov-00 5:31
sussdcmace39-Nov-00 5:31 
GeneralNetDDE on WinNT Pin
Mouez9-Nov-00 3:22
Mouez9-Nov-00 3:22 
GeneralNetDDE on WinNT Pin
Mouez9-Nov-00 3:22
Mouez9-Nov-00 3:22 
GeneralUsing Microsoft G.723.1 codec Pin
Oleg M9-Nov-00 2:34
sussOleg M9-Nov-00 2:34 
GeneralCView and CDocument and ... Pin
Hadi Rezaie8-Nov-00 23:59
sussHadi Rezaie8-Nov-00 23:59 
GeneralLicense number of executables Pin
raj8-Nov-00 21:55
raj8-Nov-00 21:55 
GeneralRe: License number of executables Pin
14-Nov-00 5:40
suss14-Nov-00 5:40 
Generaldifference between using a static lib, or just using the C files Pin
Bryan Russell8-Nov-00 13:45
Bryan Russell8-Nov-00 13:45 
GeneralRe: difference between using a static lib, or just using the C files Pin
Chris Meech10-Nov-00 6:07
Chris Meech10-Nov-00 6:07 
GeneralRe: difference between using a static lib, or just using the C files Pin
15-Nov-00 0:24
suss15-Nov-00 0:24 
GeneralRe: difference between using a static lib, or just using the C files Pin
16-Nov-00 2:41
suss16-Nov-00 2:41 
GeneralSQL Server Pin
Guillaume Belzile8-Nov-00 10:57
sussGuillaume Belzile8-Nov-00 10:57 

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.