Click here to Skip to main content
16,012,223 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Help on obtaining a pointer to my CDocument derived class Pin
Jens Kreiensiek29-Jan-02 21:09
Jens Kreiensiek29-Jan-02 21:09 
GeneralRe: Help on obtaining a pointer to my CDocument derived class Pin
VanHlebar30-Jan-02 1:47
VanHlebar30-Jan-02 1:47 
Questionhow to do a Custom draw CTreeCtrl Pin
zhangyifei29-Jan-02 14:59
zhangyifei29-Jan-02 14:59 
AnswerRe: how to do a Custom draw CTreeCtrl Pin
wangyiming30-Jan-02 0:12
wangyiming30-Jan-02 0:12 
GeneralTemplate collection classes in VC++7 Pin
paulb29-Jan-02 13:32
paulb29-Jan-02 13:32 
GeneralRe: Template collection classes in VC++7 Pin
Joaquín M López Muñoz29-Jan-02 20:01
Joaquín M López Muñoz29-Jan-02 20:01 
QuestionHow to grab system icons Pin
Aaron Schaefer29-Jan-02 12:44
Aaron Schaefer29-Jan-02 12:44 
AnswerRe: How to grab system icons Pin
Joaquín M López Muñoz29-Jan-02 13:15
Joaquín M López Muñoz29-Jan-02 13:15 
The icons you refer to are the so called shell icons. These you can load from shell32.dll as follows:
HINSTANCE hShell32=LoadLibrary("SHELL32.DLL");
HICON hicon=LoadImage(hShell32,MAKEINTRESOURCE(nIcon),IMAGE_ICON,0,0,LR_DEFAULTSIZE|LR_SHARED);
...
FreeLibrary(hShell32);
Experiment with different values of nIcon starting with 0 till you find the one you're looking for.

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
GeneralRe: How to grab system icons Pin
Christopher Lord29-Jan-02 13:21
Christopher Lord29-Jan-02 13:21 
Generalnewbie question about staticly linked exe's Pin
RobJones29-Jan-02 12:04
RobJones29-Jan-02 12:04 
GeneralRe: newbie question about staticly linked exe's Pin
Ravi Bhavnani29-Jan-02 12:20
professionalRavi Bhavnani29-Jan-02 12:20 
GeneralRe: newbie question about staticly linked exe's Pin
Simon Walton29-Jan-02 12:20
Simon Walton29-Jan-02 12:20 
GeneralRe: newbie question about staticly linked exe's Pin
Tim Smith29-Jan-02 12:20
Tim Smith29-Jan-02 12:20 
GeneralRe: newbie question about staticly linked exe's Pin
Joaquín M López Muñoz29-Jan-02 12:27
Joaquín M López Muñoz29-Jan-02 12:27 
GeneralDamned ActiveX control Pin
29-Jan-02 11:14
suss29-Jan-02 11:14 
GeneralRe: Damned ActiveX control Pin
Joaquín M López Muñoz29-Jan-02 12:52
Joaquín M López Muñoz29-Jan-02 12:52 
GeneralCopyImage with NT/W2K Pin
PJ Arends29-Jan-02 10:28
professionalPJ Arends29-Jan-02 10:28 
GeneralWinsock problem!! Pin
Rickard Andersson2029-Jan-02 10:01
Rickard Andersson2029-Jan-02 10:01 
GeneralRe: Winsock problem!! Pin
Joaquín M López Muñoz29-Jan-02 10:32
Joaquín M López Muñoz29-Jan-02 10:32 
GeneralRe: Winsock problem!! Pin
Nish Nishant29-Jan-02 20:19
sitebuilderNish Nishant29-Jan-02 20:19 
GeneralRe: Winsock problem!! Pin
Rickard Andersson2029-Jan-02 21:41
Rickard Andersson2029-Jan-02 21:41 
GeneralRe: Winsock problem!! Pin
Joaquín M López Muñoz29-Jan-02 23:13
Joaquín M López Muñoz29-Jan-02 23:13 
GeneralRe: Winsock problem!! Pin
Rüpel30-Jan-02 3:14
Rüpel30-Jan-02 3:14 
GeneralCustom draw CListView SDI Pin
RobJones29-Jan-02 8:55
RobJones29-Jan-02 8:55 
GeneralRe: Custom draw CListView SDI Pin
Joaquín M López Muñoz29-Jan-02 9:39
Joaquín M López Muñoz29-Jan-02 9:39 

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.