Click here to Skip to main content
15,886,639 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Setting BGColor to a WebBrowser Control Pin
pix_programmer5-May-11 2:34
pix_programmer5-May-11 2:34 
QuestionRe: Setting BGColor to a WebBrowser Control Pin
Maximilien5-May-11 7:19
Maximilien5-May-11 7:19 
AnswerRe: Setting BGColor to a WebBrowser Control Pin
pix_programmer5-May-11 18:08
pix_programmer5-May-11 18:08 
GeneralRe: Setting BGColor to a WebBrowser Control Pin
barneyman5-May-11 20:03
barneyman5-May-11 20:03 
GeneralRe: Setting BGColor to a WebBrowser Control Pin
Cool_Dev5-May-11 22:18
Cool_Dev5-May-11 22:18 
GeneralRe: Setting BGColor to a WebBrowser Control Pin
వేంకటనారాయణ(venkatmakam)5-May-11 22:50
వేంకటనారాయణ(venkatmakam)5-May-11 22:50 
QuestionA strange thing about using SHGetFileInfo to get icon [modified][solved] Pin
yu-jian4-May-11 22:55
yu-jian4-May-11 22:55 
AnswerRe: A strange thing about using SHGetFileInfo to get icon Pin
Michael Dunn5-May-11 13:46
sitebuilderMichael Dunn5-May-11 13:46 
Are you making a copy of the image list and using that copy as the list view's imagelist? If so, that's the problem.

Each process gets its own copy of the system imagelist. That copy only contains a handful of icons at first. When you query for a file type's icon the first time, the icon is added to your process's copy of the imagelist.

If you use the HIMAGELIST returned by SHGetFileInfo as the list view's image list, and be sure that the list control has LVS_SHAREIMAGELISTS so it doesn't destroy the imagelist unexpectedly, you should be able to use new icons right away as they are added.
--Mike--
Dunder-Mifflin, this is Pam.

AnswerRe: A strange thing about using SHGetFileInfo to get icon Pin
Iain Clarke, Warrior Programmer6-May-11 4:53
Iain Clarke, Warrior Programmer6-May-11 4:53 
GeneralRe: A strange thing about using SHGetFileInfo to get icon Pin
yu-jian9-May-11 23:44
yu-jian9-May-11 23:44 
QuestionMFC data structures Pin
_Flaviu4-May-11 20:50
_Flaviu4-May-11 20:50 
AnswerRe: MFC data structures Pin
Alexandre GRANVAUD4-May-11 21:44
Alexandre GRANVAUD4-May-11 21:44 
AnswerRe: MFC data structures Pin
Ozer Karaagac5-May-11 1:03
professionalOzer Karaagac5-May-11 1:03 
GeneralRe: MFC data structures Pin
_Flaviu5-May-11 2:30
_Flaviu5-May-11 2:30 
GeneralRe: MFC data structures Pin
Ozer Karaagac5-May-11 5:24
professionalOzer Karaagac5-May-11 5:24 
GeneralRe: MFC data structures Pin
_Flaviu5-May-11 6:25
_Flaviu5-May-11 6:25 
QuestionHow to parse xml (read/write xml file) in vc++ Pin
shiv@nand4-May-11 17:54
shiv@nand4-May-11 17:54 
AnswerRe: How to parse xml (read/write xml file) in vc++ Pin
Hans Dietrich4-May-11 18:00
mentorHans Dietrich4-May-11 18:00 
AnswerRe: How to parse xml (read/write xml file) in vc++ Pin
వేంకటనారాయణ(venkatmakam)4-May-11 19:52
వేంకటనారాయణ(venkatmakam)4-May-11 19:52 
AnswerRe: How to parse xml (read/write xml file) in vc++ Pin
ShilpiP4-May-11 23:11
ShilpiP4-May-11 23:11 
QuestionInvalid class string when using CreateDispatch Pin
Member 29729924-May-11 12:20
Member 29729924-May-11 12:20 
AnswerRe: Invalid class string when using CreateDispatch Pin
Hans Dietrich4-May-11 18:02
mentorHans Dietrich4-May-11 18:02 
GeneralRe: Invalid class string when using CreateDispatch Pin
barneyman4-May-11 18:26
barneyman4-May-11 18:26 
AnswerRe: Invalid class string when using CreateDispatch Pin
Richard MacCutchan4-May-11 21:16
mveRichard MacCutchan4-May-11 21:16 
GeneralRe: Invalid class string when using CreateDispatch Pin
Member 29729924-May-11 22:19
Member 29729924-May-11 22:19 

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.