Total Commander Forum Index Total Commander
Форум поддержки пользователей Total Commander
Сайты: Все о Total Commander | Totalcmd.net | Ghisler.com | RU.TCKB
 
 RulesRules   SearchSearch   FAQFAQ   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Single Post  Topic: Активация окна Total Commander движением мыши 
Author Message
Loopback



PostPosted: Tue Jun 01, 2010 16:32    Post subject: Reply with quote

Flasher
Даже в движении. У себя ничего с полноэкранными окнами без заголовка не нашел, поэтому создаю окно скриптом. Тестовый скрипт такой (впрочем, он виден и на видео):
Code:

#include <WindowsConstants.au3>

$hGUI = GUICreate("Тест", 200, 200, -1, -1, $WS_POPUP)
$hExit = GUICtrlCreateButton("Выход", 20, 20)
GUISetState()
Sleep(500)
WinSetState($hGUI, "", @SW_MAXIMIZE)
Sleep(500)

While 1
   If GUIGetMsg() = $hExit Then Exit
   $mpos = MouseGetPos()
    If ($mpos[0] > @DesktopWidth - 2) Then
       WinSetState("[CLASS:BaseBar]", "", @SW_SHOW)
       WinSetOnTop("[CLASS:BaseBar]", "", 1)
    ElseIf ($mpos[0] < @DesktopWidth - 27) Then
       WinSetOnTop("[CLASS:BaseBar]", "", 0)
       WinSetState("[CLASS:BaseBar]", "", @SW_HIDE)
    EndIf
Wend
View user's profile Send private message


Powered by phpBB © 2001, 2005 phpBB Group