By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,504 Members | 1,146 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,504 IT Pros & Developers. It's quick & easy.

PictureBox Class, BorderStyle, Mouse Events

P: n/a
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?


Jul 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.