Hi,
I intend to use WIn32::GUI mainly to control existing windows and programs.
So far I get handles for existing windows, can SetForegroundWindow, can
GetPerlWindow, Hide and Show any of them.
But when I try
$hWnd = GUI::FindWindow( '', $sTitle );
GUI::SetForegroundWindow( $hWnd );
$hWnd->GUI::Resize( $iWidth, $iHeight );
I get
"Can't call method "GUI::Resize" without a package or object
reference"
for GUI::Resize. GUI::SetForegroundWindow works as expected.
I suppose, I'm doing something basically wrong, but I'm neither a Windows
programmer nor an OO guy, so forgive me, if this is a stupid question.
Thx and bye.
Michael.