| |
|
|
Rolf Koch | avec cette Procédure peux on cela Handle des Desktops sûrement ermitteln. d'abord Internet Explorer_Server abfragen (pour Webdesktop) et si cette pas existiert den Standart: SysListView32
Def XFindWindow(2) ! user32,FindWindowA
Def FindWindowEx(4) ! user32,FindWindowExA
Proc GetDesktop
Déclarer h&
h& = XFindWindow(Progman,0)
h& = FindWindowEx(h&, 0, SHELLDLL_DefView,0)
h& = FindWindowEx(h&, 0, Internet Explorer_Server,0)
si h& > 0
Retour h&
d'autre
h& = XFindWindow(Progman,0)
h& = FindWindowEx(h&, 0, SHELLDLL_DefView,0)
h& = FindWindowEx(h&, 0, SysListView32,0)
Retour h&
endif
ENDPROC
|
|
|
| |
|
|
|
|
getDesktop{
return Si(findWindowEx(findWindowEx(FindWindowEx(,,progman,),,SHELLDLL_DefView,),,Internet Explorer_Server,)>0,findWindowEx(findWindowEx(findWindowEx(,,progman,),,SHELLDLL_DefView,),,Internet Explorer_Server,),findWindowEx(findWindowEx(findWindowEx(,,progman,),,SHELLDLL_DefView,),,SysListView32,))
}
|
|
|
| |
|
|
|
Michael Wodrich | ...et Headerdatei ensuite so
$H Windows.ph
Proc Getdesktop
Retour Si(~FindWindowExA(~FindWindowExA(~FindWindowExA(0,0,progman,0),0,SHELLDLL_DefView,0),0,Internet Explorer_Server,0)>0,~FindWindowExA(~FindWindowExA(~FindWindowExA(0,0,progman,0),0,SHELLDLL_DefView,0),0,Internet Explorer_Server,0),~FindWindowExA(~FindWindowExA(~FindWindowExA(0,0,progman,0),0,SHELLDLL_DefView,0),0,SysListView32,0))
ENDPROC
|
|
|
| Programmieren, das spannendste Detektivspiel der Welt. | 03.07.2005 ▲ |
|
|
|