Evc3.0 place small bitmaps or icons at x,y

Discuss topics that apply across the products, such as the PocketC language, or development in general

Postby marce002 on Mon Nov 15, 2004 3:15 pm

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);
marce002
 
Posts: 1
Joined: Mon Nov 15, 2004 3:12 pm

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron