Hi folks,
I have a Dlg with two picture controls in them - Pic1, Pic2 - and what I would like to be able to do is this :-When the mouse cursor is in a particular location of Pic1 (say the top half) an image is shown in Pic2. If the mouse is then moved to the lower half of Pic1, a different picture is then shown in Pic2.
The aim of the dlg is to display a street map(bmp, jpg or metafile) in pic1, and then show another image(bmp, jpg or metafile) displaying in greater detail what is at the location on the map in Pic1, depending on the mouse position. A sort of auto-zoom feature.
Any direction in which I should look to complete this would be appreciated. Consideration has been given to ImageList, Devicecontexts, MousePosition and the BN_CLICKED function of the Pic1 picture control.
Thanks in advance.
I have a Dlg with two picture controls in them - Pic1, Pic2 - and what I would like to be able to do is this :-When the mouse cursor is in a particular location of Pic1 (say the top half) an image is shown in Pic2. If the mouse is then moved to the lower half of Pic1, a different picture is then shown in Pic2.
The aim of the dlg is to display a street map(bmp, jpg or metafile) in pic1, and then show another image(bmp, jpg or metafile) displaying in greater detail what is at the location on the map in Pic1, depending on the mouse position. A sort of auto-zoom feature.
Any direction in which I should look to complete this would be appreciated. Consideration has been given to ImageList, Devicecontexts, MousePosition and the BN_CLICKED function of the Pic1 picture control.
Thanks in advance.