Jump to content

Guı Create Biçimleri...


Ex_treme
 Share

Recommended Posts

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 ?

Link to comment
Share on other sites

#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.

Link to comment
Share on other sites

#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...

Link to comment
Share on other sites

#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...

Link to comment
Share on other sites

    #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.

Link to comment
Share on other sites

    #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 by Ex_treme
Link to comment
Share on other sites

#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 by Ex_treme
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...