Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
Focus
I have an mdichild called Image which uses your picture control. I am using it to display a user specified image.
If I switch focus to another mdichild, I can not get focus back to the image by clicking on the ole control. Anywhere else in the mdichild works but clicking on any part of the image, which is 99% of the window does not. The mdichild does not move to the foreground not does it get focus.
?
If I switch focus to another mdichild, I can not get focus back to the image by clicking on the ole control. Anywhere else in the mdichild works but clicking on any part of the image, which is 99% of the window does not. The mdichild does not move to the foreground not does it get focus.
?
Comments
Switched to Pan mode and focus works correctly (no new version required).
This might work as is, if zoom works. I hold down the control key the mouse changes to something that looks like it might zoom, but using the scroll wheel with the control held down does nothing, even though is larger than the window and scroll bars are present.
BTW ideally I like to use Shrink or Thumbnail.
What brand of mouse and driver are you using? My Logitech mouse works well with the scroll wheel. I have a Microsoft mouse at the office I can test with tomorrow.
Also, what about "Shrink or Thumbnail" is ideal for you? I don't understand how that fits in with this thread. Are you saying that it would be ideal to be able to click on the Picture control with different Layout options?
Logitech Performance MX
Setpoint version 6.32.7
Driver version 5.33.14
Do you have a similar version etc? I think mine is the latest but I could be wrong.
I just called Andy (my co-worker in Boston) I wanted to see how it works on his system, I'll let you know what I find out when he calls me back.
What I would like to happen is the image to open and fill the entire window (or at least the entire ole control). I'd like the user to be able to then re-size the window and have the image re-size to the new window size. Which would work if I used the Layout property with Shrink or Thumbnail. With Layout set to Pan, the images being viewed might well vary dramatically in size and constantly zooming in and out might make it hard to use.
My info:
Windows 7 64 bit
Logitech G9 Laser
Microsoft driver (I forgot to install the Logitech driver) v.6.1.7601.17514
Call Set_Property("SYSTEM", "FOCUS", "IMAGE")
to the OnClick event.