MessageBox perlem pod win32
Pavel Šmerk
xsmerk na fi.muni.cz
Čtvrtek Květen 18 12:26:21 MEST 2000
Rychetský Pavel PharmDr wrote:
> Zkuste
>
> use Win32::API;
>
> $function1 = new Win32::API("user32", "GetActiveWindow", [], N);
> $handle = $function1->Call();
>
> $function = new Win32::API("user32", "MessageBoxA", [N, P, P, N], N);
> #$handle = "";
> $ahoj = "Ahoj";
> $function->Call($handle, $ahoj, $ahoj, 4112);
Jo, dekuju moc, uz mi to bezi, mezitim jsem na to dalsimi nahodnymi pokusy
taky prisel, mylne jsem myslel, ze handle okna je pointer.
P.
Další informace o konferenci Perl