View Single Post
Old 02-13-2008, 01:44 PM   #2 (permalink)
DJMaze
Senior Contributor
 
DJMaze's Avatar
 
Join Date: Mar 2005
Posts: 632
DJMaze is on a distinguished road
1. create an resource file (.rc) and write in there
Code:
ID_IMG BITMAP "image.bmp"
Then use
Code:
HBITMAP img = (HBITMAP)LoadImage(HInstance, "ID_IMG", IMAGE_BITMAP, 0, 0, LR_DEFAULTCOLOR|LR_SHARED);
2. read about WNDCLASSEX, lpfnWndProc and RegisterClassEx() in the MSDN Windows SDK
__________________

UT: Ultra-kill... God like!
DJMaze is offline   Reply With Quote