Versione 2
ID thread = Prendi thread di processo identifier_ (Riquadro di navigazione ipertestuale 1. Prendi handle finestra (), ID processo) handle hook = set system hook_ (7, & funzione hook, 0, ID thread)
.funzione hook di sottoroutine, tipo intero .parametro codice hook, tipo intero .Parametro Parametro 1, tipo intero .Parametro Parametro 2, tipo intero .maniglia a focus variabile locale, tipo intero .locale variabile nome classe, tipo di testo
Nome della classe = Prendere testo vuoto (255) Focus Handle = Get Focus Window_ () Prendi la Classe Name_ (Focus Handle, Nome Classe, 256) Se vero (nome classe = "Internet Explorer_Server" e parametro uno = 517) Indietro (1) Se davvero finisce Return (chiama il prossimo hook_ (handle hook, codice hook, argomento uno, argomento due))
|