Jump to content

Search the Community

Showing results for tags 'sistem çubuğu'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • TnC Genel
    • Reklam-Bağış-Sponsorluk
    • Duyurular
  • Modifiye Edilmiş İşletim Sistemleri
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows Diğer
    • Windows Xp
    • Diğer İşletim Sistemleri
    • MultiBoot Sistemler
    • Linux Distributions
  • Bilgisayar Dünyası Genel
    • Her Zaman Gerekliler
    • Yazılım
    • Donanım
    • Sosyal Medya - Anında Mesajlaşma
    • Yararlı Linkler
  • TnC PROGRAM-APPZ
    • TNC-TR Çalışmaları
    • Program-Appz
    • Program-Appz - Ebook İstek
    • AIO
    • Portable Programlar
    • Türkçe Yamalar
    • Katılımsız - Unattended
  • Programlama
    • AutoIT
    • AutoPlay Media Studio
    • C#
  • Webmaster
    • Webmaster Sorunları & Çözüm Yolları
    • Hosting & Domain
  • TnC Multimedya
    • Multimedya Istek
    • Kendi Müziğiniz
  • TnC Oyun - Games
    • Oyun-Games
    • Oyun İstek
  • Cep Telefonu - Mobile
    • GSM Bilgi Paylaşımı
    • GSM Multimedya
    • iPhone / iPod
    • Android
    • Diğer GSM Program & Oyun
  • TnC Diğer
    • Teknoloji Haberleri
    • Alım-Satım
    • Kültür-Sanat
    • Sohbet-Chat
    • Çöp Kutusu
    • Anketler
  • Haberler Deneme
  • Olta Balıkçıları Kulübü's Herkes Ekipmanını Paylaşsın
  • Haritacılar's Konular
  • PUBG Oyuncuları's Konular
  • Satranç - Chess's Konular

Calendars

  • Community Calendar
  • Satranç - Chess's Takvim Etkinlikleri

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Facebook


Skype


Twitter


Google+


Steam



Found 1 result

  1. Slm arkadaslar diyelimki elimde bir gui penceresi var birde buton olsun, o butona basınca guinin sistem traya degilde sadece altta bulunan isim ve ikon varya, sistem cubugundaki, iste orda hicbirseyi olmasın istiyorum, elimde bir ornegi var ama, cok karısık mantıgını anlamadımm ve icinde baska seylerde var, sadece o kodu bulsam yeter, ornek surda; [CODE]#include <GuiConstantsEx.au3> #include <Constants.au3> #include <GuiToolbar.au3> Opt("TrayAutoPause", 0) Opt("TrayMenuMode", 1) Global $hToolbar = _FindToolbarWindow() Global $gui = GUICreate("Test GUI", 200, 100) Global $cbox = GUICtrlCreateCheckbox("Hide my taskbar button", 20, 20) GUISetState() While 1 $msg = GUIGetMsg() Switch $msg Case $cbox Switch BitAND(GUICtrlRead($cbox), $GUI_CHECKED) Case $GUI_CHECKED _HideToolbarButton($gui, $hToolbar) Case Else _HideToolbarButton($gui, $hToolbar, False) EndSwitch Case $GUI_EVENT_MINIMIZE ; hide taskbar button _HideToolbarButton($gui, $hToolbar) Case $GUI_EVENT_CLOSE ExitLoop EndSwitch $msg = TrayGetMsg() Switch $msg Case $TRAY_EVENT_PRIMARYDOWN GUISetState(@SW_RESTORE) If BitAND(GUICtrlRead($cbox), $GUI_CHECKED) <> $GUI_CHECKED Then _HideToolbarButton($gui, $hToolbar, False) EndSwitch WEnd Func _FindToolbarWindow() ; find explorer toolbar window ; XP+ Local $hDesktop = _WinAPI_GetDesktopWindow() Local $hTray = _FindWindowEx($hDesktop, 0, "Shell_TrayWnd", "") Local $hReBar = _FindWindowEx($hTray, 0, "ReBarWindow32", "") Local $hTask = _FindWindowEx($hReBar, 0, "MSTaskSwWClass", "") Return _FindWindowEx($hTask, 0, "ToolbarWindow32", "") EndFunc Func _FindWindowEx($hParent, $hChild, $sClass, $sWindow) ; must create structs and use ptrs to account for passing a true NULL as classname or window title ; simply using "wstr" and "" does NOT work Local $s1, $s2 If $sClass == "" Then $sClass = 0 Else $s1 = DllStructCreate("wchar[256]") DllStructSetData($s1, 1, $sClass) $sClass = DllStructGetPtr($s1) EndIf If $sWindow == "" Then $sWindow = 0 Else $s2 = DllStructCreate("wchar[256]") DllStructSetData($s2, 1, $sWindow) $sWindow = DllStructGetPtr($s2) EndIf Local $ret = DllCall("user32.dll", "hwnd", "FindWindowExW", "hwnd", $hParent, "hwnd", $hChild, "ptr", $sClass, "ptr", $sWindow) $s1 = 0 $s2 = 0 Return $ret[0] EndFunc Func _FindToolbarButton($hwnd, $hTB) Local $return = -1 Local $s = DllStructCreate("ptr") ; open process owning toolbar control Local $PID _WinAPI_GetWindowThreadProcessId($hTB, $PID) Local $hProcess = _WinAPI_OpenProcess(0x410, False, $PID) If $hProcess Then Local $count = _GUICtrlToolbar_ButtonCount($hTB) For $i = 0 To $count - 1 Local $ID = _GUICtrlToolbar_IndexToCommand($hTB, $i) ; button param is ptr to owner's window handle, stored in target process's memory space Local $dwData = _GUICtrlToolbar_GetButtonParam($hTB, $ID) ; read the window handle from the explorer process Local $ret = DllCall("kernel32.dll", "int", "ReadProcessMemory", "ptr", $hProcess, "ptr", $dwData, "ptr", DllStructGetPtr($s), "uint", 4, "uint*", 0) If $ret[5] Then If $hwnd == DllStructGetData($s, 1) Then $return = $ID ExitLoop EndIf EndIf Next _WinAPI_CloseHandle($hProcess) EndIf Return $return EndFunc Func _HideToolbarButton($hwnd, $hTB, $hide = True) Local $ID = _FindToolbarButton($hwnd, $hTB) If $ID <> -1 Then _GUICtrlToolbar_HideButton($hTB, $ID, $hide) EndIf EndFunc[/CODE]
×
×
  • Create New...