Click here to Skip to main content
15,887,329 members
Home / Discussions / C#
   

C#

 
GeneralLocalizing standard types in PropertyGrid Pin
i_blazhko15-Mar-04 1:49
i_blazhko15-Mar-04 1:49 
GeneralRe: Localizing standard types in PropertyGrid Pin
Heath Stewart15-Mar-04 5:10
protectorHeath Stewart15-Mar-04 5:10 
GeneralRe: Localizing standard types in PropertyGrid Pin
i_blazhko15-Mar-04 22:42
i_blazhko15-Mar-04 22:42 
GeneralRe: Localizing standard types in PropertyGrid Pin
Heath Stewart16-Mar-04 2:48
protectorHeath Stewart16-Mar-04 2:48 
GeneralRe: Localizing standard types in PropertyGrid Pin
i_blazhko16-Mar-04 3:04
i_blazhko16-Mar-04 3:04 
GeneralGet the true icons of a file Pin
Jonathan Slenders15-Mar-04 0:29
Jonathan Slenders15-Mar-04 0:29 
GeneralRe: Get the true icons of a file Pin
SimonS15-Mar-04 0:56
SimonS15-Mar-04 0:56 
GeneralRe: Get the true icons of a file Pin
Heath Stewart15-Mar-04 5:09
protectorHeath Stewart15-Mar-04 5:09 
I've answered this question a few times before. See http://www.codeproject.com/script/comments/forums.asp?msg=585938&forumid=1649&XtraIDs=1649&searchkw=SHGetFileInfo&sd=11%2F15%2F1999&ed=3%2F15%2F2004#xx585938xx[^] for one example.

If you are using the full paths, you can drop the UseFileAttributes[^] flag and specify the full path. This will get any overlays necessary and with the right flags get the actual icon for the file. For instance, .htm? files have a default icon associated with them. If they have the right META tags for an Office application that made them, the icon is slightly different. ShGetFileInfo can get that icon if you use the right flags. See the documentation for ShGetFileInfo[^] in the Platform SDK for more information.

 

Microsoft MVP, Visual C#
My Articles
Questionhow to visible remove and add data on ListView Pin
yu-yu15-Mar-04 0:10
yu-yu15-Mar-04 0:10 
General.NET Remoting and internal errors. Pin
SimonS14-Mar-04 21:58
SimonS14-Mar-04 21:58 
GeneralRe: .NET Remoting and internal errors. Pin
Heath Stewart15-Mar-04 4:06
protectorHeath Stewart15-Mar-04 4:06 
Generalprevious record problem Pin
ASGill14-Mar-04 16:50
ASGill14-Mar-04 16:50 
GeneralRe: previous record problem Pin
Edbert P14-Mar-04 18:31
Edbert P14-Mar-04 18:31 
GeneralRe: previous record problem Pin
dishanf14-Mar-04 21:42
dishanf14-Mar-04 21:42 
QuestionWindowpanel for a mdi programm? Pin
Franz Pentenrieder14-Mar-04 15:43
Franz Pentenrieder14-Mar-04 15:43 
AnswerRe: Windowpanel for a mdi programm? Pin
Heath Stewart15-Mar-04 4:02
protectorHeath Stewart15-Mar-04 4:02 
GeneralOpen ACCESS DataBase Pin
Snowjim14-Mar-04 13:46
Snowjim14-Mar-04 13:46 
GeneralRe: Open ACCESS DataBase Pin
mil_an14-Mar-04 15:09
mil_an14-Mar-04 15:09 
GeneralRe: Open ACCESS DataBase Pin
Snowjim14-Mar-04 23:29
Snowjim14-Mar-04 23:29 
GeneralRe: Open ACCESS DataBase Pin
Snowjim14-Mar-04 23:32
Snowjim14-Mar-04 23:32 
GeneralRe: Open ACCESS DataBase Pin
Heath Stewart15-Mar-04 4:00
protectorHeath Stewart15-Mar-04 4:00 
GeneralDataGrid Sorting - XSD not working Pin
jazzle14-Mar-04 11:51
jazzle14-Mar-04 11:51 
GeneralRe: DataGrid Sorting - XSD not working Pin
Heath Stewart15-Mar-04 3:56
protectorHeath Stewart15-Mar-04 3:56 
GeneralRe: DataGrid Sorting - XSD not working Pin
jazzle15-Mar-04 23:00
jazzle15-Mar-04 23:00 
GeneralUsing an unmanaged C++ dll in my C# app Pin
granderson14-Mar-04 9:06
granderson14-Mar-04 9:06 

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.