Posted on 2010-09-10
When a user resizes my app I trap the WMSize to make sure the app doesn't grow wider than the workspace. I need to keep a maximized app from going over the Vista sidebar if it is "stay on top".
We have a customer who is using a laptop. At work this laptop is used with a docking station.
When I call Screen.MonitorFromWindow it sometimes throws an AV on his laptop. Can anyone tell me why and how to fix? I am assuming it has to do with the docking station since have we no other customer reporting this problem.