How do I use PointToScreen on multiple screens - it seems to bugger up.

I developing a .net application in VB.net 2005 (.Net Framework V2).

My workstation has 2 screens and I have noticed that the return value of control:PointToScreen is unpredictable when the point to be converted is not on the primary screen.

Does anyone know to deal with this condition

I have already discovered the screen shared methods which allow me to identify the screen the target point is on but that does not seem to get me anywhere.

Much thanks in advance if anyone can help me with this.

Ted




Answer this question

How do I use PointToScreen on multiple screens - it seems to bugger up.

  • MEHRAN_AZIMI

    Do you have any sample code that shows this bugginess Are you using some 3rd party application that does weird things with your desktop space I've been using 2 and 3 monitor since the days of 95/98 and I've yet to experience any bugginess in this aspect.

  • tuck

    MarcD wrote:
    Do you have any sample code that shows this bugginess Are you using some 3rd party application that does weird things with your desktop space I've been using 2 and 3 monitor since the days of 95/98 and I've yet to experience any bugginess in this aspect.

    Doh...

    You are right the the PointToScreen works fine acroos multiple screens.

    The problem was a bug in my own code which I discoverred when I created example code.

    Thanks for you help.

    Ted



  • How do I use PointToScreen on multiple screens - it seems to bugger up.