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

C / C++ / MFC

 
GeneralSetScrollInfo Pin
pie27-Jun-04 4:28
pie27-Jun-04 4:28 
GeneralRe: SetScrollInfo Pin
Johan Rosengren27-Jun-04 4:51
Johan Rosengren27-Jun-04 4:51 
GeneralRe: SetScrollInfo Pin
darkbyte27-Jun-04 4:55
darkbyte27-Jun-04 4:55 
GeneralRe: SetScrollInfo Pin
pie27-Jun-04 5:09
pie27-Jun-04 5:09 
GeneralRe: SetScrollInfo Pin
darkbyte27-Jun-04 14:39
darkbyte27-Jun-04 14:39 
GeneralRe: SetScrollInfo Pin
pie28-Jun-04 0:16
pie28-Jun-04 0:16 
Generalhelp needed to get desktop selected/highlighted shortcut Pin
sumon200227-Jun-04 3:27
sumon200227-Jun-04 3:27 
GeneralRe: help needed to get desktop selected/highlighted shortcut Pin
David Crow28-Jun-04 3:17
David Crow28-Jun-04 3:17 
Ok, so is your code working? If not, what errors are you getting (e.g., compiler, linker, runtime)? Is the value of count, mark, and nItem correct?

Have you considered SHGetFolderPath() with either CSIDL_COMMON_DESKTOPDIRECTORY or CSIDL_DESKTOPDIRECTORY? With the path, you can then use FindFirstFile() and FindNextFile() to "find" each file in the folder. Then you can use ExtractIcon() to get the icon used by the file.

I've not tried this specifically, so your mileage may vary.


"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen


Generalconnection detection& closing the port Pin
shahrokh nabavi27-Jun-04 1:38
shahrokh nabavi27-Jun-04 1:38 
Generaldll linking error Pin
Rajg27-Jun-04 1:16
Rajg27-Jun-04 1:16 
GeneralFastest way to read entire file into memory Pin
georgiek5026-Jun-04 22:03
georgiek5026-Jun-04 22:03 
GeneralRe: Fastest way to read entire file into memory Pin
Rein Hillmann26-Jun-04 22:16
Rein Hillmann26-Jun-04 22:16 
GeneralRe: Fastest way to read entire file into memory Pin
georgiek5027-Jun-04 7:00
georgiek5027-Jun-04 7:00 
GeneralRe: Fastest way to read entire file into memory Pin
palbano28-Jun-04 4:57
palbano28-Jun-04 4:57 
GeneralRe: Fastest way to read entire file into memory Pin
Neville Franks26-Jun-04 23:08
Neville Franks26-Jun-04 23:08 
GeneralRe: Fastest way to read entire file into memory Pin
John R. Shaw28-Jun-04 19:19
John R. Shaw28-Jun-04 19:19 
GeneralRe: Fastest way to read entire file into memory Pin
georgiek5029-Jun-04 10:36
georgiek5029-Jun-04 10:36 
GeneralQuery on WH_KEYBOARD Experts help Pin
26-Jun-04 21:15
suss26-Jun-04 21:15 
GeneralRe: Query on WH_KEYBOARD Experts help Pin
Jörgen Sigvardsson27-Jun-04 11:12
Jörgen Sigvardsson27-Jun-04 11:12 
GeneralRe: Query on WH_KEYBOARD Experts help Pin
Member 115017627-Jun-04 17:59
Member 115017627-Jun-04 17:59 
GeneralRe: Query on WH_KEYBOARD Experts help Pin
Jörgen Sigvardsson28-Jun-04 2:13
Jörgen Sigvardsson28-Jun-04 2:13 
GeneralRe: Query on WH_KEYBOARD Experts help Pin
gamitech27-Jun-04 11:48
gamitech27-Jun-04 11:48 
GeneralRe: Query on WH_KEYBOARD Experts help Pin
Member 115017627-Jun-04 18:17
Member 115017627-Jun-04 18:17 
Generalabout IO Completion Ports Pin
regale26-Jun-04 17:02
regale26-Jun-04 17:02 
GeneralRe: about IO Completion Ports Pin
valikac27-Jun-04 5:38
valikac27-Jun-04 5:38 

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.