469,593 Members | 1,927 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,593 developers. It's quick & easy.

PictureBox Class, BorderStyle, Mouse Events

I am migrating a VB 6 PictureBox control to VB.NET. In VB
6, this control modified its border style during the mouse
down and up events to provide user feedback that it was
selected. Once selected its position was adjusted in
accordance with the mouse move events.

After migrating it to VB.NET I tried setting the
PictureBox class's BorderStyle to Fixed3D or FixedSingle
during the Mouse Down event. However, doing so seems to
prevent the control from receiving mouse move events once
the mouse moves off the PictureBox control. NOT setting
this property allows the control to track the mouse's
position even if the mouse is over some other app's window.

Can I not use this border style property to provide
feedback to the user or do I need to use some other method
if I want to track mouse movements?

Thank-you.

Stephen
Jul 19 '05 #1
0 2396

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Stephen Williams | last post: by
reply views Thread by Stephen Williams | last post: by
1 post views Thread by David M | last post: by
reply views Thread by akh | last post: by
reply views Thread by =?Utf-8?B?RG9jdG9y?= | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.