🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.lang.vbasic
1 messages
1 total messages Started by Janusz Thu, 20 Jan 2011 20:47
Lista Wszystkich otwartych okien
#102276
Author: Janusz
Date: Thu, 20 Jan 2011 20:47
22 lines
555 bytes
Witam,
chce pobrac liste wszytkich otwartch okien tzn tych ktore sa na pasku
zadan.

Dim pList() As Process = Process.GetProcesses
    For Each proc As System.Diagnostics.Process In pList
        If  proc.MainWindowTitle.Length > 0  Then
    	...........
        End If
    Next

Powyzszy programik dziala ale gdy mam otwartych kilka okien np firfoxa
czy explorera to program wychwytuje tylko jednego firefoxa i jednen
explorer ( nawet bez warunku proc.MainWindowTitle.Length > 0 ).

Jak pobrac liste wszystkich okien (konkretnie tytulow)?


Janusz



Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads