Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Karl-Heinz" Newsgroups: comp.lang.clipper.visual-objects Subject: Re: Stop a window from moving Date: Fri, 7 Sep 2018 12:38:53 +0200 Lines: 20 Message-ID: References: <9c17839e-ef94-4b6a-bd94-2ee38dc0fe6b@googlegroups.com> <6e3e86ab-8501-481a-a837-62e21cfa1a68@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=original Content-Transfer-Encoding: 8bit X-Trace: individual.net T+Xd5WdEh1bWwjN6HkKviADwOfPOtHSf8cpY4GLr197tk5R3w= Cancel-Lock: sha1:3BHzmWHVPf2vRDhyRa1EkwmDV6k= In-Reply-To: <6e3e86ab-8501-481a-a837-62e21cfa1a68@googlegroups.com> X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Newsreader: Microsoft Windows Live Mail 16.4.3564.1216 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3564.1216 Xref: csiph.com comp.lang.clipper.visual-objects:11892 Hi Jeff, remove/deactivate the "move" item of the systemmenu. Than you don´t need that strange timer anymore. Add to your window postinit(): LOCAL hSysMenu AS PTR hSysMenu := GetSystemMenu(SELF:Handle(0),FALSE) RemoveMenu(hSysMenu, SC_MOVE, MF_BYCOMMAND) Let me know, if you´re still able to move the window. regards Karl-Heinz