Page 1 of 1

PostPosted: Mon Nov 15, 2004 3:15 pm
by marce002
Hi, is anyone who can simply explain how to insert a bitmap or an icon into an hdc where is a vectorial map placed. I have x,y in coordinate control units from lat,lon. The points might be POI?Ǭ¥s point of interest small 12x12 icons or bitmapas as internal resources. EVC3.0 . im using this but cant see anything:

HINSTANCE hinst; // handle to current instance
HBITMAP hBitmap; // icon handle
hBitmap = (HBITMAP) LoadImage (hinst,MAKEINTRESOURCE (IDB_HOTEL),IMAGE_BITMAP,20,20,0);
SelectObject(hdc, hBitmap);