Original Post
I have a Question about loading a bitmap as a resource from within my app,instead of from disk.
Its for a custom dialog box that starts up before the game,and lets the user choose the display mode etc.
----------------------------------------------------------------
background.lbHatch =
(long) LoadImage(GetModuleHandle(NULL),"MyImage.bmp", IMAGE_BITMAP, 0,
0, LR_LOADFROMFILE);
----------------------------------------------------------------
Is it possible to load the bitmap as a resource? instead of from a file on disk? something like how the icon is done below.
----------------------------------------------------------------
LoadIcon(GetModuleHandle(NULL),MAKEINTRESOURCE(IDI_MY_ICON));//standardicon
----------------------------------------------------------------
I couldn''t get it to do it.
Any help would be great.
Thanks.