| |
|
|
Rolf Koch | Mit dieser Procedimiento puede ser el Handle des Desktops sicher ermitteln. Zuerst Internet Explorer_Server abfragen (para Webdesktop) y si dieser no existiert el Standart: SysListView32
Def XFindWindow(2) ! user32,FindWindowA
Def FindWindowEx(4) ! user32,FindWindowExA
Proc GetDesktop
Declarar h&
h& = XFindWindow(Progman,0)
h& = FindWindowEx(h&, 0, SHELLDLL_DefView,0)
h& = FindWindowEx(h&, 0, Internet Explorer_Server,0)
if h& > 0
Volver h&
más
h& = XFindWindow(Progman,0)
h& = FindWindowEx(h&, 0, SHELLDLL_DefView,0)
h& = FindWindowEx(h&, 0, SysListView32,0)
Volver h&
endif
ENDPROC
|
|
|
| |
|
|
|
|
getDesktop{
volver If(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 | ...y Headerdatei entonces así
$H Windows.ph
Proc Getdesktop
Volver If(~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 ▲ |
|
|
|