Win 9x SetWindow Rgn Problem
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I am working on a project where I need to set the region of numerous windows not owned by my application. This works great on 2000 but in testing on a 98se box, I found it gives an "invalid parameter" error(87) when the winow handle passed into setwindowrgn is no associatd with the application calling the function. I cannot find any documentation from MS that eludes to the fact this is not allowed and only occurs on 9x boxes. Does anyone know of a workaround or way to correct this issue. To test - create an app that sets a window region and use FindWindow to get the handle of a running instance of Notepad and try to change the shape of notepad. Keep in mind this works fine on 2000 but not on my 98se machine. Thanks in Advance.....