Hi all !! I m trying to load a Bitmap image through visual c++. By surfing the net, i got these lines to be included in my code.
Can any one please make me understand the arguments of the LoadImage function
<code>
HBITMAP hbitmap=(HBITMAP) ::LoadImage(NULL, filename, IMAGE_BITMAP, 0, 0, LR_LOADFROMFILE|LR_CREATEDIBSECTION );
HBITMAP hbitmap=(HBITMAP) ::LoadImage(AfxGetInstanceHandle(), filename, IMAGE_BITMAP, 0, 0, LR_LOADFROMFILE|LR_CREATEDIBSECTION);
</code>
Thanks in advance, Please help me in the understading
HBITMAP LoadImage Constructor
Page 1 of 1
HBITMAP LoadImage Constructor Loading bitmap in visual c++
#2
Posted 17 May 2009 - 02:54 AM
Have a look here for more information on the function LoadImage:
http://msdn.microsof...y/ms648045.aspx
http://msdn.microsof...y/ms648045.aspx
Page 1 of 1

Start a new topic
Add Reply




MultiQuote
| 


