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

C / C++ / MFC

 
GeneralIE Pin
candan30-Oct-02 16:11
professionalcandan30-Oct-02 16:11 
GeneralRe: IE Pin
Stephane Rodriguez.30-Oct-02 19:33
Stephane Rodriguez.30-Oct-02 19:33 
GeneralRe: IE Pin
candan30-Oct-02 20:14
professionalcandan30-Oct-02 20:14 
GeneralRe: IE Pin
Stephane Rodriguez.30-Oct-02 20:20
Stephane Rodriguez.30-Oct-02 20:20 
GeneralRe: IE Pin
candan30-Oct-02 21:43
professionalcandan30-Oct-02 21:43 
GeneralRe: IE Pin
Stephane Rodriguez.30-Oct-02 21:54
Stephane Rodriguez.30-Oct-02 21:54 
GeneralCListCtrl / CListBox and Icons Pin
JoeSox30-Oct-02 15:39
JoeSox30-Oct-02 15:39 
GeneralRe: CListCtrl / CListBox and Icons Pin
dabs31-Oct-02 4:24
dabs31-Oct-02 4:24 
A Listctrl would be a better choice since it supports images while CListBox doesn't. You can get the image of a file by using SHGetFileInfo - this can return the icon of the given file. Remember to use the flag SHGFI_USEFILEATTRIBUTES if the file in question isn't an executable file to avoid hitting the disk for each file displayed.

PJ Naughter has an excellent demo at http://www.naughter.com/filetreectrl.html[^] - you might want to use it as a base for your code.



Wenn ist das Nunstück git und Slotermeyer? Ja! Beierhund das oder die Flipperwaldt gersput!
GeneralRe: CListCtrl / CListBox and Icons Pin
JoeSox31-Oct-02 4:52
JoeSox31-Oct-02 4:52 
GeneralOverlapped I/O and Completion Port :: Winsock Pin
valikac30-Oct-02 12:18
valikac30-Oct-02 12:18 
GeneralRe: Overlapped I/O and Completion Port :: Winsock Pin
User 988530-Oct-02 12:46
User 988530-Oct-02 12:46 
GeneralRe: Overlapped I/O and Completion Port :: Winsock Pin
valikac30-Oct-02 14:08
valikac30-Oct-02 14:08 
GeneralRe: Overlapped I/O and Completion Port :: Winsock Pin
Gerald Schwab30-Oct-02 12:49
Gerald Schwab30-Oct-02 12:49 
GeneralGDI Objects question. Pin
Anonymous30-Oct-02 11:28
Anonymous30-Oct-02 11:28 
GeneralRe: GDI Objects question. Pin
Chris Richardson30-Oct-02 11:46
Chris Richardson30-Oct-02 11:46 
GeneralRe: GDI Objects question. Pin
Anonymous31-Oct-02 3:48
Anonymous31-Oct-02 3:48 
GeneralRe: GDI Objects question. Pin
Chris Richardson31-Oct-02 7:08
Chris Richardson31-Oct-02 7:08 
GeneralRe: GDI Objects question. Pin
Christian Graus30-Oct-02 11:53
protectorChristian Graus30-Oct-02 11:53 
GeneralDocView with tree info... Pin
Nick Jacobs30-Oct-02 11:22
Nick Jacobs30-Oct-02 11:22 
GeneralRe: DocView with tree info... Pin
Chris Richardson30-Oct-02 11:42
Chris Richardson30-Oct-02 11:42 
QuestionHow to load whole file to a CStringEx object ? Pin
ooosawaddee330-Oct-02 11:14
ooosawaddee330-Oct-02 11:14 
AnswerRe: How to load whole file to a CStringEx object ? Pin
Stephane Rodriguez.30-Oct-02 11:17
Stephane Rodriguez.30-Oct-02 11:17 
GeneralI need to detect a float Pin
ns30-Oct-02 11:09
ns30-Oct-02 11:09 
GeneralRe: I need to detect a float Pin
S van Leent30-Oct-02 11:13
S van Leent30-Oct-02 11:13 
GeneralRe: I need to detect a float Pin
alex.barylski30-Oct-02 11:13
alex.barylski30-Oct-02 11:13 

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.