Click here to Skip to main content
15,917,328 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Email in Vc++ Pin
David Crow16-Jun-03 8:54
David Crow16-Jun-03 8:54 
GeneralRe: Email in Vc++ Pin
Jon Sagara16-Jun-03 9:11
Jon Sagara16-Jun-03 9:11 
GeneralRe: Email in Vc++ Pin
PJ Arends16-Jun-03 19:15
professionalPJ Arends16-Jun-03 19:15 
GeneralIterating through CListCtrl Pin
clintsinger16-Jun-03 7:54
clintsinger16-Jun-03 7:54 
GeneralRe: Iterating through CListCtrl Pin
basementman16-Jun-03 8:03
basementman16-Jun-03 8:03 
GeneralText in the systray (not icon) Pin
albean16-Jun-03 7:49
albean16-Jun-03 7:49 
GeneralRe: Text in the systray (not icon) Pin
Ryan Binns16-Jun-03 15:09
Ryan Binns16-Jun-03 15:09 
Generalicon loading Pin
will138316-Jun-03 7:32
will138316-Jun-03 7:32 
Hi all,
I have an an application that is a Popup Dialog box in a dll. I'm using MFC 6.0.

my problem is I'm trying to load a menu bar icon on the sucker, and I just can't get it to load. I thought I do this:


SetIcon(::LoadIcon(NULL,MAKEINTRESOURCE(IDR_MAINFRAME)),FALSE);

in the OnCreate Overrideable in my CDialog-derived class. Doesn't work though. It always returns 0x000000 for the HICON.

any suggestions on how to do this? I'm sure I'm just putting it in the wrong place or performing the operation wrong.

Any insight, comments or suggestions are greatly appreciated.

Thanks!



GeneralRe: icon loading Pin
AlexO16-Jun-03 10:02
AlexO16-Jun-03 10:02 
GeneralRe: icon loading Pin
will138316-Jun-03 13:46
will138316-Jun-03 13:46 
GeneralSerious DirectX problem!! Pin
Renoose16-Jun-03 7:15
Renoose16-Jun-03 7:15 
GeneralRe: Serious DirectX problem!! Pin
ZoogieZork16-Jun-03 9:03
ZoogieZork16-Jun-03 9:03 
QuestionHow to enable/disable secondary monitor? Pin
sjcomp16-Jun-03 7:10
sjcomp16-Jun-03 7:10 
AnswerRe: How to enable/disable secondary monitor? Pin
Daniel Turini16-Jun-03 7:43
Daniel Turini16-Jun-03 7:43 
GeneralRe: How to enable/disable secondary monitor? Pin
sjcomp16-Jun-03 9:35
sjcomp16-Jun-03 9:35 
Generalnew & delete question Pin
MemLeak16-Jun-03 6:41
MemLeak16-Jun-03 6:41 
GeneralRe: new & delete question Pin
Harsha Gopal16-Jun-03 6:56
Harsha Gopal16-Jun-03 6:56 
GeneralRe: new & delete question Pin
David Crow16-Jun-03 7:47
David Crow16-Jun-03 7:47 
Generalqsort problems Pin
doctorpi16-Jun-03 6:09
doctorpi16-Jun-03 6:09 
GeneralRe: qsort problems Pin
basementman16-Jun-03 6:13
basementman16-Jun-03 6:13 
GeneralRe: qsort problems Pin
doctorpi16-Jun-03 6:19
doctorpi16-Jun-03 6:19 
GeneralRe: qsort problems Pin
basementman16-Jun-03 6:22
basementman16-Jun-03 6:22 
GeneralRe: qsort problems Pin
doctorpi16-Jun-03 6:28
doctorpi16-Jun-03 6:28 
GeneralRe: qsort problems Pin
doctorpi16-Jun-03 6:15
doctorpi16-Jun-03 6:15 
GeneralRe: qsort problems Pin
David Crow16-Jun-03 7:27
David Crow16-Jun-03 7:27 

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.