Click here to Skip to main content
14,828,874 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Win32++ Dialog Pin
CPallini14-Mar-19 2:30
mveCPallini14-Mar-19 2:30 
GeneralRe: Win32++ Dialog Pin
Richard MacCutchan14-Mar-19 2:35
mveRichard MacCutchan14-Mar-19 2:35 
AnswerRe: Win32++ Dialog Pin
leon de boer14-Mar-19 14:34
Memberleon de boer14-Mar-19 14:34 
QuestionGet file size Pin
_Flaviu14-Mar-19 0:31
Member_Flaviu14-Mar-19 0:31 
AnswerRe: Get file size Pin
CPallini14-Mar-19 1:09
mveCPallini14-Mar-19 1:09 
GeneralRe: Get file size Pin
_Flaviu14-Mar-19 1:20
Member_Flaviu14-Mar-19 1:20 
GeneralRe: Get file size Pin
CPallini14-Mar-19 1:24
mveCPallini14-Mar-19 1:24 
QuestionGet system image list not working in some cases Pin
_Flaviu13-Mar-19 7:07
Member_Flaviu13-Mar-19 7:07 
I am trying to get an image list handle from system icons, like that:
return (HIMAGELIST)SHGetFileInfo(_T("c:\\"), 0, &sfi, sizeof(SHFILEINFO), SHGFI_SYSICONINDEX | SHGFI_SMALLICON);

and is working good, except on some PCs, where there is some icons without any icon. I am using this handle to a CListCtrl:

Where icon has found: Capture — Postimage.org[^]
Where icon hasn't: Capture2 — Postimage.org[^]

Of course that OS has the icon and program for every type of files, including case where my code dont't work ...

Last edit: Here is what is looking the list control with this state of icons: Capture — Postimage.org[^]
So one of files has icons, one hasn't ... and I am not figure out why ...

modified 14-Mar-19 3:54am.

SuggestionRe: Get system image list not working in some cases Pin
Richard MacCutchan13-Mar-19 22:18
mveRichard MacCutchan13-Mar-19 22:18 
GeneralRe: Get system image list not working in some cases Pin
_Flaviu14-Mar-19 0:16
Member_Flaviu14-Mar-19 0:16 
QuestionWrite in registry Pin
_Flaviu13-Mar-19 0:04
Member_Flaviu13-Mar-19 0:04 
AnswerRe: Write in registry Pin
Richard Deeming13-Mar-19 1:41
mveRichard Deeming13-Mar-19 1:41 
GeneralRe: Write in registry Pin
_Flaviu13-Mar-19 3:53
Member_Flaviu13-Mar-19 3:53 
Questioninline question Pin
Rw23712-Mar-19 12:52
MemberRw23712-Mar-19 12:52 
AnswerRe: inline question Pin
CPallini12-Mar-19 21:48
mveCPallini12-Mar-19 21:48 
QuestionC code for fourth degree polynomials Pin
Member 1417766810-Mar-19 19:45
MemberMember 1417766810-Mar-19 19:45 
AnswerRe: C code for fourth degree polynomials Pin
Victor Nijegorodov10-Mar-19 22:27
MemberVictor Nijegorodov10-Mar-19 22:27 
AnswerRe: C code for fourth degree polynomials Pin
leon de boer12-Mar-19 3:56
Memberleon de boer12-Mar-19 3:56 
QuestionUnexpected sequence of cout / perror in console output Pin
Vaclav_10-Mar-19 7:23
MemberVaclav_10-Mar-19 7:23 
AnswerRe: Unexpected sequence of cout / perror in console output Pin
Richard MacCutchan10-Mar-19 22:52
mveRichard MacCutchan10-Mar-19 22:52 
GeneralRe: Unexpected sequence of cout / perror in console output Pin
k505411-Mar-19 2:28
mvek505411-Mar-19 2:28 
GeneralRe: Unexpected sequence of cout / perror in console output Pin
Richard MacCutchan11-Mar-19 3:56
mveRichard MacCutchan11-Mar-19 3:56 
GeneralRe: Unexpected sequence of cout / perror in console output Pin
k505411-Mar-19 5:41
mvek505411-Mar-19 5:41 
GeneralRe: Unexpected sequence of cout / perror in console output Pin
Richard MacCutchan11-Mar-19 5:52
mveRichard MacCutchan11-Mar-19 5:52 
GeneralRe: Unexpected sequence of cout / perror in console output Pin
k505411-Mar-19 11:59
mvek505411-Mar-19 11:59 

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.