Visualizzazione dei risultati da 1 a 2 su 2
  1. #1
    Utente di HTML.it L'avatar di hkproj
    Registrato dal
    Jul 2006
    Messaggi
    250

    [.NET]Avere l'handle della barra start di Windows

    Ciao a tutti, vorrei avere l'handle della barra start di windows, qualcuno di voi sa come posso?
    Grazie mille.
    --------------------HkProj------------------

  2. #2
    codice:
    Public Declare Auto Function FindWindow Lib "user32.dll"(ByVal WindowClass As String, ByVal WindowTitle As String) As IntPtr
    '...
    Dim handleStart As IntPtr
    '...
    handleStart = FindWindow("Shell_TrayWnd", "")
    Tieni però conto che non è garantito che funzioni su tutti i sistemi operativi Microsoft futuri.
    Amaro C++, il gusto pieno dell'undefined behavior.

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.