damian666 Posted February 23, 2010 Author Share Posted February 23, 2010 so, im looking at the source, and i see it is really made stupid.it loads all graphic files in memory, but instead of using them to load in for example, mapeditor, it reloads the real graphic in the form >.<so, i want to load the mapeditor with the existing tile surfaces. but seeying im really bad at DX, i need a bit of help.this is what i tried, and failed btw xD```For I = 0 To 10 If frmMapEditor.Option1(I).value = True Then Call BltToDC(frmMapEditor.picBackSelect.hDC, DD_TileSurf(I), frmMapEditor.picBackSelect.hDC) EditorSet = I End If Next```question is, is this the way to use it? i dont think so to be honest, and also, how can i retrieve the height and width of the surface so i can set that?Edit, updated code, this is the thing i need to use i believe, but it now tells me that blttodc is not recognized, is there anyreferance i have to add?any help is appriciated ^^Damian666 Link to comment Share on other sites More sharing options...
damian666 Posted February 23, 2010 Author Share Posted February 23, 2010 nvm, i got it xDdamian666 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now