Closing a filepro application Window
Kenneth Brody
kenbrody at bestweb.net
Thu Sep 27 09:06:40 PDT 2007
Quoting Bob Rasmussen (Thu, 27 Sep 2007 08:51:24 -0700 (PDT)):
> On Thu, 27 Sep 2007, Kenneth Brody wrote:
>
>> Quoting Bob Rasmussen (Thu, 27 Sep 2007 06:18:50 -0700 (PDT)):
[...]
>> >So if you GetWindowLong, turn off bit 80000, and SetWindowLong, you'll
>> >remove the X box completely.
>>
>> Good in theory. In actuality, SetWindowLong() fails with error 5
>> ("access denied") when attempting to clear WS_SYSMENU. In fact, just
>> passing the same style back gives an error 5.
>
> It works for me. Are you trying it from within the same window, or from a
> separate program/window? Are you in Vista?
This is XP SP2, from within the window. Remember, however, that this
is a console window.
(Source and project files for test sent offlist under separate cover.)
--
KenBrody at BestWeb dot net spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com
More information about the Filepro-list
mailing list