Click here to Skip to main content
16,005,552 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DLL newbie question Pin
Nelek30-Oct-07 2:59
protectorNelek30-Oct-07 2:59 
AnswerRe: DLL newbie question Pin
Phil J Pearson30-Oct-07 1:28
Phil J Pearson30-Oct-07 1:28 
GeneralRe: DLL newbie question Pin
Nelek30-Oct-07 1:43
protectorNelek30-Oct-07 1:43 
QuestionWhere and how can I get CPU Thermal Design Power (TDP) data? Pin
JwayT30-Oct-07 0:29
JwayT30-Oct-07 0:29 
Questionconverting a character into its ascii no Pin
prithaa30-Oct-07 0:19
prithaa30-Oct-07 0:19 
AnswerRe: converting a character into its ascii no Pin
Rajesh R Subramanian30-Oct-07 0:28
professionalRajesh R Subramanian30-Oct-07 0:28 
GeneralRe: converting a character into its ascii no Pin
prithaa30-Oct-07 1:01
prithaa30-Oct-07 1:01 
QuestionDrawing Icons Pin
dsclee29-Oct-07 23:39
dsclee29-Oct-07 23:39 
Hi,

I'm trying to draw a small icon using a CPaintDC class. I've managed to get it to draw the large version of the icon, but not the small version. The code i've tried is as follows... but doesn't make the icon appear!

CPaintDC dc(this); // device context for painting
.
.
.
.
m_hIcon = ( HICON ) ::LoadImage( NULL,
MAKEINTRESOURCE( IDI_ERROR ),
IMAGE_ICON,
16,
16,
LR_DEFAULTCOLOR );
dc.DrawIcon(x, y, m_hIcon);

Thanks.
AnswerRe: Drawing Icons Pin
Hamid_RT30-Oct-07 0:28
Hamid_RT30-Oct-07 0:28 
GeneralRe: Drawing Icons Pin
dsclee30-Oct-07 1:58
dsclee30-Oct-07 1:58 
GeneralRe: Drawing Icons Pin
Hamid_RT30-Oct-07 19:42
Hamid_RT30-Oct-07 19:42 
GeneralRe: Drawing Icons Pin
dsclee31-Oct-07 3:57
dsclee31-Oct-07 3:57 
GeneralRe: Drawing Icons Pin
Hamid_RT31-Oct-07 5:08
Hamid_RT31-Oct-07 5:08 
QuestionCom regarding use of GetDesktopItemCount Pin
ROBS12329-Oct-07 23:28
ROBS12329-Oct-07 23:28 
AnswerRe: Com regarding use of GetDesktopItemCount Pin
Hamid_RT30-Oct-07 0:40
Hamid_RT30-Oct-07 0:40 
QuestionHow to detect if another process is running and bring it to the foreground ? Pin
Anand Todkar29-Oct-07 23:20
Anand Todkar29-Oct-07 23:20 
AnswerRe: How to detect if another process is running and bring it to the foreground ? Pin
Nishad S29-Oct-07 23:32
Nishad S29-Oct-07 23:32 
AnswerRe: How to detect if another process is running and bring it to the foreground ? Pin
Mark Salsbery30-Oct-07 7:27
Mark Salsbery30-Oct-07 7:27 
GeneralRe: How to detect if another process is running and bring it to the foreground ? Pin
Anand Todkar30-Oct-07 20:25
Anand Todkar30-Oct-07 20:25 
QuestionRead-Write specific Excel cases in C++ Pin
J_E_D_I29-Oct-07 23:08
J_E_D_I29-Oct-07 23:08 
AnswerRe: Read-Write specific Excel cases in C++ Pin
David Crow30-Oct-07 3:18
David Crow30-Oct-07 3:18 
GeneralRe: Read-Write specific Excel cases in C++ Pin
J_E_D_I30-Oct-07 3:24
J_E_D_I30-Oct-07 3:24 
GeneralRe: Read-Write specific Excel cases in C++ Pin
David Crow30-Oct-07 3:26
David Crow30-Oct-07 3:26 
QuestionCheck for Eof Pin
gReaen29-Oct-07 22:49
gReaen29-Oct-07 22:49 
AnswerRe: Check for Eof Pin
Naveen29-Oct-07 22:56
Naveen29-Oct-07 22:56 

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.