From 292ba91ce7de90047473002d92d76101268e950d Mon Sep 17 00:00:00 2001 From: mösi Date: Tue, 23 Feb 2010 15:30:17 +0000 Subject: Alte und neue BST deaktivieren sich jetzt gegenseitig bei der eigenen Aktivierung, um gleichzeitige Aktivierung und Probleme bei der Reaktivierung zu vermeiden. git-svn-id: https://svn.neo-layout.org@2173 b9310e46-f624-0410-8ea1-cfbb3a30dc96 --- windows/neo-vars/src/source/screenkeyboard.ahk | 3 +++ windows/neo-vars/src/source/screenkeyboard_new.ahk | 3 +++ 2 files changed, 6 insertions(+) (limited to 'windows') diff --git a/windows/neo-vars/src/source/screenkeyboard.ahk b/windows/neo-vars/src/source/screenkeyboard.ahk index b4e2199..bacc3b8 100644 --- a/windows/neo-vars/src/source/screenkeyboard.ahk +++ b/windows/neo-vars/src/source/screenkeyboard.ahk @@ -48,6 +48,9 @@ BSTToggle() { GuiCurrent := "" Gui, Destroy } else { + if (GuiCurrent!="") + %GuiCurrent%OnClose() + SysGet, WorkArea, MonitorWorkArea yPosition := WorkAreaBottom - 230 Gui, Color, FFFFFF diff --git a/windows/neo-vars/src/source/screenkeyboard_new.ahk b/windows/neo-vars/src/source/screenkeyboard_new.ahk index b0a9a55..bb3f567 100644 --- a/windows/neo-vars/src/source/screenkeyboard_new.ahk +++ b/windows/neo-vars/src/source/screenkeyboard_new.ahk @@ -113,6 +113,9 @@ CharProc_BSTN0() { CharProc_BSTN1() { global + if (GuiCurrent!="") + %GuiCurrent%OnClose() + if (FileExist(ResourceFolder)!="") { FileInstall,ebene0.png,%ResourceFolder%\ebene0.png,1 } -- cgit v1.2.3