Link to home
Start Free TrialLog in
Avatar of Murugan
Murugan

asked on

Unable to get pixel from the hidden picture box

Hi,
  I need to get pixel from the picture box that visible property is set to false. I can get the pixels from that when the visible property is set to true. Any help be appreciated. Thanks!
Avatar of Murugan
Murugan

ASKER

thanks
Do you use API Calls?
That is the way it is unfortunately. When the picture box is not visible you cannot obtain the value for Picture.Point(x,y)

Instead of making the picturebox invisible, why don't you simply move it off-screen

Picture.Move Me.Width + 100,Me.Height + 100
ASKER CERTIFIED SOLUTION
Avatar of andyclap
andyclap
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial