Click here to Skip to main content
15,915,851 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCStdioFile::Find() and CStdioFile::Insert() Pin
Emearg19-May-02 8:19
Emearg19-May-02 8:19 
GeneralRe: CStdioFile::Find() and CStdioFile::Insert() Pin
Joaquín M López Muñoz19-May-02 11:47
Joaquín M López Muñoz19-May-02 11:47 
GeneralRe: CString, not CStdioFile Pin
Emearg19-May-02 15:07
Emearg19-May-02 15:07 
GeneralRe: CString, not CStdioFile Pin
Ravi Bhavnani19-May-02 17:35
professionalRavi Bhavnani19-May-02 17:35 
GeneralBlackJack Pin
nywebhead19-May-02 5:44
nywebhead19-May-02 5:44 
GeneralRe: BlackJack Pin
Paul M Watt19-May-02 6:17
mentorPaul M Watt19-May-02 6:17 
GeneralRe: BlackJack Pin
Mazdak19-May-02 8:07
Mazdak19-May-02 8:07 
GeneralRe: BlackJack Pin
Paul M Watt19-May-02 8:37
mentorPaul M Watt19-May-02 8:37 
Do you want to use the DLL and load the images into your program?

If so, you can first load the DLL that you want to use the images from with LoadLibrary. Save the HMODULE that you recieve from LoadLibrary because you will need to use that handle when you call LoadBitmap or LoadImage to load the image from the DLL. These functions will give you an HBITMAP that you can use in your program.

When you load the bitmap, you will need to know the resource ID of the bitmap that you are interested in. You can determine this by loading the DLL into DevStudio and looking at its resources. Also, you will need to use the MAKEINTRESOURCE macro to properly format the ID for the bitmap load function so that it knows you are passing in an integer rather than a string name.

Good Luck.


Build a man a fire, and he will be warm for a day
Light a man on fire, and he will be warm for the rest of his life!

GeneralRe: BlackJack Pin
Mazdak19-May-02 9:09
Mazdak19-May-02 9:09 
GeneralRe: BlackJack Pin
nywebhead19-May-02 12:24
nywebhead19-May-02 12:24 
GeneralWindow Font Pin
Levon19-May-02 3:53
Levon19-May-02 3:53 
GeneralRe: Window Font Pin
19-May-02 5:05
suss19-May-02 5:05 
GeneralRe: Window Font Pin
19-May-02 5:11
suss19-May-02 5:11 
GeneralRe: Window Font Pin
19-May-02 5:11
suss19-May-02 5:11 
GeneralActiveX Pin
Tzoockee19-May-02 3:43
Tzoockee19-May-02 3:43 
GeneralRe: ActiveX Pin
Bill Wilson20-May-02 8:55
Bill Wilson20-May-02 8:55 
GeneralGet Dialog from View Pin
tongc19-May-02 3:00
tongc19-May-02 3:00 
GeneralRe: Get Dialog from View Pin
Ravi Bhavnani19-May-02 3:37
professionalRavi Bhavnani19-May-02 3:37 
GeneralStupid question about printing Pin
HenrikO19-May-02 1:33
HenrikO19-May-02 1:33 
GeneralRe: Stupid question about printing Pin
19-May-02 3:40
suss19-May-02 3:40 
GeneralRe: Stupid question about printing Pin
HenrikO19-May-02 6:20
HenrikO19-May-02 6:20 
GeneralSee-Through GroupBox Pin
Sara Burns18-May-02 23:08
Sara Burns18-May-02 23:08 
GeneralRe: See-Through GroupBox Pin
Nish Nishant18-May-02 23:10
sitebuilderNish Nishant18-May-02 23:10 
GeneralPassing 2-D array in function Pin
oRion18-May-02 21:01
oRion18-May-02 21:01 
GeneralRe: Passing 2-D array in function Pin
Nish Nishant18-May-02 21:28
sitebuilderNish Nishant18-May-02 21:28 

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.