View Single Post

  #2 (permalink)  
Old 06-24-2004
Anonymous Anonymous is offline
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Hi, I had the same issue a while back & found no truly slick solution….maybe someone here has one for both of us.

You could of course pump the images out into temp files at run time.

What I ended up doing was just loading the custom images by hand into a “blank” map and using it as a starting point…notionally as a sub-class of NewMap.

Another note…you may already know…it is worth setting up usable names for your symbols and referring to them in code by name rather than index. Aside from being easer to read, it saves you from having to check the MP version to calculate the starting base for custom symbols. You can also trap the errors is something is missing. Setting up an enum works really nice….MyEnum.ASymbol.ToString gives you the name and keeps your typing strong.
Reply With Quote