I have a set of tools written in vb.net that use VSTO to interact with MSP. As part of their operation, they have to turn off the MSP screen in order to avoid flickering while items are updated. Since ScreenUpdating = false doesn't work in add-ins, I'm using the WWM_SETREDRAW Windows API message to turn screen updates off. This works perfectly in Windows 7. The problem is that when I run my program on Windows 8.1 (haven't been able to try 8) the table part of the MSP screen blanks out when the locking code is called. Also, at times, a prior screen bleeds through the frozen area. If I go to print preview and then return to the main screen and run a tool that locks the screen, for example, the print preview bleeds through the locked screen.
I've tried using LockWindowUpdate which also doesn't work. I've also tried capturing the screen and drawing an image over the screen after the lock but that doesn't work either.
Has anyone else had this experience? Have you come up with a work-around?
Thanks.