|
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
|