[REBOL] Re: avicap32.dll
From: nick1::musiclessonz::com at: 11-Mar-2008 21:28
Thanks Max and Gregg :)
Gregg, I actually found the part of the solution I needed in your post
at
http://www.rebol.org/cgi-bin/cgiwrap/rebol/ml-display-thread.r?m=rmlMYFJ.
The class name is "REBOLWind", and the FindWindowA function in
user32.dll provides the ID.
This appears to work correctly:
user32.dll: load/library %/C/Windows/System32/user32.dll
find-window-by-class: make routine! [
ClassName [string!]
WindowName [integer!]
return: [integer!]
] user32.dll "FindWindowA"
hwnd: find-window-by-class "REBOLWind" 0
Quoting Gregg Irwin <gregg-pointillistic.com>: