Ex_treme Posted November 30, 2015 Share Posted November 30, 2015 Bir Gui Oluşturdum Fakat Tam Olarak İstedigimi Yapamadım... 400,40 Boyutlarında Bir Normal Bir Gui Oluşturdum ve Bu GUİ yi Hiç Bir Şekilde Yer Degiştiremesinler İstiyorum , Birde Pop-Up($WS_POPUP) GUI Stilindeki Gibi Hep Ön Planda Dursun İstiyorum Bunu Nasıl Gerçekleştirebilirim ? Quote Link to comment Share on other sites More sharing options...
DivaneTR Posted November 30, 2015 Share Posted November 30, 2015 #include <GUIConstantsEx.au3> Const $WM_SYSCOMMAND = 0x0112 Const $SC_MOVE = 0xF010 $gui = GUICreate("Stuck Here") GUISetState() GUIRegisterMsg($WM_SYSCOMMAND, "On_WM_SYSCOMMAND") WinSetOnTop($gui,"",1) While GUIGetMsg() <> -3 WEnd Func On_WM_SYSCOMMAND($hWnd, $Msg, $wParam, $lParam) If BitAND($wParam, 0xFFF0) = $SC_MOVE Then Return False;stop moves Return $GUI_RUNDEFMSG EndFunc Autoit forumunda böyle bir şey buldum, işini görür. Quote Link to comment Share on other sites More sharing options...
Ex_treme Posted November 30, 2015 Author Share Posted November 30, 2015 #include <GUIConstantsEx.au3> Const $WM_SYSCOMMAND = 0x0112 Const $SC_MOVE = 0xF010 $gui = GUICreate("Stuck Here") GUISetState() GUIRegisterMsg($WM_SYSCOMMAND, "On_WM_SYSCOMMAND") WinSetOnTop($gui,"",1) While GUIGetMsg() <> -3 WEnd Func On_WM_SYSCOMMAND($hWnd, $Msg, $wParam, $lParam) If BitAND($wParam, 0xFFF0) = $SC_MOVE Then Return False;stop moves Return $GUI_RUNDEFMSG EndFunc Autoit forumunda böyle bir şey buldum, işini görür. Teşekkürler , Çalışmasını Çözebilirsem , Uyarlayacagım Kendime Göre... Quote Link to comment Share on other sites More sharing options...
Ex_treme Posted November 30, 2015 Author Share Posted November 30, 2015 #include <GUIConstantsEx.au3> Const $WM_SYSCOMMAND = 0x0112 Const $SC_MOVE = 0xF010 $gui = GUICreate("Stuck Here") GUISetState() GUIRegisterMsg($WM_SYSCOMMAND, "On_WM_SYSCOMMAND") WinSetOnTop($gui,"",1) While GUIGetMsg() <> -3 WEnd Func On_WM_SYSCOMMAND($hWnd, $Msg, $wParam, $lParam) If BitAND($wParam, 0xFFF0) = $SC_MOVE Then Return False;stop moves Return $GUI_RUNDEFMSG EndFunc Autoit forumunda böyle bir şey buldum, işini görür. Hocam Başka Bir Alternatifi Var Mı Yerini Degiştirememesinde Bi Sıkıntı Yok , Lakin Sürekli Görünür Degil Bazı Durumlarda Arka Plana Geçiyor Arayüz... Quote Link to comment Share on other sites More sharing options...
DivaneTR Posted November 30, 2015 Share Posted November 30, 2015 #include <GUIConstantsEx.au3> Const $WM_SYSCOMMAND = 0x0112 Const $SC_MOVE = 0xF010 $gui = GUICreate("Stuck Here") GUISetState() GUIRegisterMsg($WM_SYSCOMMAND, "On_WM_SYSCOMMAND") While GUIGetMsg() <> -3 WinSetOnTop($gui,"",1) WEnd Func On_WM_SYSCOMMAND($hWnd, $Msg, $wParam, $lParam) If BitAND($wParam, 0xFFF0) = $SC_MOVE Then Return False;stop moves Return $GUI_RUNDEFMSG EndFunc Bu şekilde de bir dener misiniz. Quote Link to comment Share on other sites More sharing options...
Ex_treme Posted November 30, 2015 Author Share Posted November 30, 2015 (edited) #include <GUIConstantsEx.au3> Const $WM_SYSCOMMAND = 0x0112 Const $SC_MOVE = 0xF010 $gui = GUICreate("Stuck Here") GUISetState() GUIRegisterMsg($WM_SYSCOMMAND, "On_WM_SYSCOMMAND") While GUIGetMsg() <> -3 WinSetOnTop($gui,"",1) WEnd Func On_WM_SYSCOMMAND($hWnd, $Msg, $wParam, $lParam) If BitAND($wParam, 0xFFF0) = $SC_MOVE Then Return False;stop moves Return $GUI_RUNDEFMSG EndFunc Bu şekilde de bir dener misiniz. Hocam HerŞey İçin Teşekkürler , Konumunu Degiştirdim GUI nin Böyle Bir Çözüm Buldum... Kodunuzuda Denedim Fakat Sonuç Aynı Arkaplana Geçiyor Alttaki Başlat Menüsü Çubugunda... Hocam En Yakın Yüksek Tam Sayıya Nasıl Yuvarlarım ? 28.4 Mesela 29 a Yuvarlayacak... Bu Kodu Denedim ama Olmadı Round($sayi, 1) Edited November 30, 2015 by Ex_treme Quote Link to comment Share on other sites More sharing options...
DivaneTR Posted November 30, 2015 Share Posted November 30, 2015 Floor(28.4)+1 Quote Link to comment Share on other sites More sharing options...
MostWanted Posted November 30, 2015 Share Posted November 30, 2015 (edited) yada Ceiling(28.4) ;eksi sayılar için de çalışır Edited November 30, 2015 by MostWanted Quote Link to comment Share on other sites More sharing options...
Ex_treme Posted December 1, 2015 Author Share Posted December 1, 2015 (edited) #include <GUIConstantsEx.au3> Const $WM_SYSCOMMAND = 0x0112 Const $SC_MOVE = 0xF010 $gui = GUICreate("Stuck Here") GUISetState() GUIRegisterMsg($WM_SYSCOMMAND, "On_WM_SYSCOMMAND") WinSetOnTop($gui,"",1) While GUIGetMsg() <> -3 WEnd Func On_WM_SYSCOMMAND($hWnd, $Msg, $wParam, $lParam) If BitAND($wParam, 0xFFF0) = $SC_MOVE Then Return False;stop moves Return $GUI_RUNDEFMSG EndFunc Autoit forumunda böyle bir şey buldum, işini görür. Sanki Bu Kod Kasma ve Lag Yapıyormuş Gibime Geldi... Kaynagınıda Buldum Fonksiyondan Kaynaklı , Fakat Fonksiyonu Silemem Pencere Yer Degişimini Engelliyor. Nasıl Çözebilirim Fikri Olan Var Mı ? Edited December 1, 2015 by Ex_treme Quote Link to comment Share on other sites More sharing options...
MostWanted Posted December 1, 2015 Share Posted December 1, 2015 Benim bilgisayarımda herhangi bir kasma yapmadı fakat istiyorsan while içine sleep koyabilirsin. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.