I am learning Direct draw, and i would like to make a map editor for an Rpg. Can anyone help me here? I dont know where to start...A few things the editor would need
For my first editor, these few simple things would work

-load a bmp (tile set)
-create a new bmp with user defined width and height
-Let the user (mainly me) drag the cursor on the tileset to select a tile in 16/16 intervals (all my tiles are big, but 16/16 intervals)
-Save as new bmp

Can anyone help me with this? Or at least point me somewhere to help me?