Click here to Skip to main content
15,920,217 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: weird template compile problem Pin
Anonymous18-Sep-02 0:46
Anonymous18-Sep-02 0:46 
GeneralRe: weird template compile problem Pin
peterchen18-Sep-02 2:43
peterchen18-Sep-02 2:43 
GeneralPocketPC with only 256 colors... Pin
Daniel Strigl17-Sep-02 23:38
Daniel Strigl17-Sep-02 23:38 
GeneralRe: PocketPC with only 256 colors... Pin
Zizilamoroso18-Sep-02 3:19
Zizilamoroso18-Sep-02 3:19 
GeneralRe: PocketPC with only 256 colors... Pin
Daniel Strigl22-Sep-02 20:15
Daniel Strigl22-Sep-02 20:15 
GeneralMicrosoft Tree Control Memory Management Pin
umakanth17-Sep-02 23:36
umakanth17-Sep-02 23:36 
GeneralCBitmap from file Pin
MJ3217-Sep-02 22:59
MJ3217-Sep-02 22:59 
GeneralRe: CBitmap from file Pin
[James Pullicino]17-Sep-02 23:08
[James Pullicino]17-Sep-02 23:08 
I do not know how to load bitmaps from a file, but another alternative pops into my mind.

You can create a separate resource dll (a dll with just a winmain and resources) then load your bitmap resources from there. This will keep your EXE size down which keeping all BMPs in the one file.

AfxSetResourceHandle might prove useful if you are using MFC.

--James Pullicino

Drinking In The Sun
Forgot Password?
GeneralRe: CBitmap from file Pin
Michael Dunn18-Sep-02 5:12
sitebuilderMichael Dunn18-Sep-02 5:12 
GeneralPreviously selected Index of Combobox Pin
Vijayalakshmi17-Sep-02 22:48
Vijayalakshmi17-Sep-02 22:48 
GeneralRe: Previously selected Index of Combobox Pin
[James Pullicino]17-Sep-02 23:18
[James Pullicino]17-Sep-02 23:18 
GeneralMoving class files from C++ to VC++ Pin
oRion17-Sep-02 22:42
oRion17-Sep-02 22:42 
GeneralRe: Moving class files from C++ to VC++ Pin
Michael P Butler17-Sep-02 23:11
Michael P Butler17-Sep-02 23:11 
GeneralRe: Moving class files from C++ to VC++ Pin
oRion19-Sep-02 3:35
oRion19-Sep-02 3:35 
QuestionWhere to place handler? CView/CDoc/Mainfrm? Pin
oRion17-Sep-02 22:31
oRion17-Sep-02 22:31 
AnswerRe: Where to place handler? CView/CDoc/Mainfrm? Pin
[James Pullicino]17-Sep-02 22:48
[James Pullicino]17-Sep-02 22:48 
AnswerRe: Where to place handler? CView/CDoc/Mainfrm? Pin
jhwurmbach17-Sep-02 22:55
jhwurmbach17-Sep-02 22:55 
GeneralRe: Where to place handler? CView/CDoc/Mainfrm? Pin
oRion18-Sep-02 4:56
oRion18-Sep-02 4:56 
GeneralRe: Where to place handler? CView/CDoc/Mainfrm? Pin
jhwurmbach18-Sep-02 5:25
jhwurmbach18-Sep-02 5:25 
QuestionHow to create Tree Control in leftview of SDI ?? Pin
HiOctane17-Sep-02 22:01
HiOctane17-Sep-02 22:01 
AnswerRe: How to create Tree Control in leftview of SDI ?? Pin
[James Pullicino]17-Sep-02 22:54
[James Pullicino]17-Sep-02 22:54 
GeneralAssigning values to LPCWSTR Pin
abhinarulkar17-Sep-02 21:40
abhinarulkar17-Sep-02 21:40 
GeneralRe: Assigning values to LPCWSTR Pin
includeh1017-Sep-02 21:52
includeh1017-Sep-02 21:52 
GeneralRe: Assigning values to LPCWSTR Pin
Stephane Rodriguez.17-Sep-02 22:00
Stephane Rodriguez.17-Sep-02 22:00 
GeneralRe: Assigning values to LPCWSTR Pin
Anonymous17-Sep-02 22:07
Anonymous17-Sep-02 22:07 

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.