Re: Resubmit SetWindowTextA() patch

2005-06-07 Thread Jason Campbell
To do this the "right way" you'd need to write a test case to show what happens on Windows when somebody tries to set the title of another window. This test case has already been written. Almost all Diablo II bots change the window title of the Diablo II process. That's the whole reason wh

Re: Resubmit SetWindowTextA() patch

2005-06-06 Thread Mike McCormack
Jason Campbell wrote: set it. (Possibly this is what Windows really does, I'm not sure?) If it Possibly, a few more test cases would show you what how it works more clearly? Mike

Re: Resubmit SetWindowTextA() patch

2005-06-06 Thread Mike McCormack
Jason Campbell wrote: +/* FIXME( "cannot set text %s of other process window %p\n", debugstr_a(lpString), hwnd ); SetLastError( ERROR_ACCESS_DENIED ); return FALSE; +*/ + FIXME( "not allowed by MSDN but some apps programmed this way" ); } return (BOO