I have created a dialog box, which will display a map reading the data from the file. A single dialog can display more than one map, with the user specifying which map is in the front and which map in the back. (like the drawings in MS Word, which can be put to front or back). Also the user can zoom in or zoom out.
For this i would like to create a draw bitmap store it in a member variable of the dialog class. If the user zoom in or zoom out, the bitmap has to be only stretched (using StretchBlt() ). Only if a map changes from foreground to background or vice-versa, the bitmap has to be redrawn.
Can anyone suggest how to do create a bitmap and store in variable.(a sample code if possible)
Thanks in advance.
raochetan
For this i would like to create a draw bitmap store it in a member variable of the dialog class. If the user zoom in or zoom out, the bitmap has to be only stretched (using StretchBlt() ). Only if a map changes from foreground to background or vice-versa, the bitmap has to be redrawn.
Can anyone suggest how to do create a bitmap and store in variable.(a sample code if possible)
Thanks in advance.
raochetan