CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2003
    Location
    Ellesmere Port, UK
    Posts
    26

    PictureBox_OnClick?

    Is it possible to retrieve to co ords of the area click on a picture box in the OnClick sub?

  2. #2
    Join Date
    Jan 2003
    Location
    Amsterdam, Netherlands
    Posts
    97
    Not in the OnClick, but in the OnMouseDown you can.
    There you have an argument, e As System.Windows.Forms.MouseEventArgs, that provides the kind of information you want.

    Danny

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured