Hi, I'm trying to have in .NET 2.0 a transparent form, that stays on top, is invisible for mouse clicks but is possible to draw on it. I can easily reach this by setting the TransparencyKey to background color of the form. But there is one very
easy to reproduce problem common for all java programs (e.g. JDownloader, Vuze, Open Office): sometime when context menu is shown it leaves the part of (or whole) menu still visible after I click somewhere else. It is physically closed because it is not possible
to click on any item, but the image of it stays visible.
I thought that my top invisible form is not correctly redrawn, but manual refresh, invalidate and neither repainting the background of my form via FillRectangle cannot erase the rest of the context menu. The only way how to erase it is to move over
it with some another window.
I would be very grateful for any help.
View Complete Post