Sundar Raman wrote:
>Is there a way to change the mousepointer in Win32::GUI?  i want to change
>the icon to the standard hourglass when processing, and return to the
>arrow.
>
>simple, but i don't seem to be able to figure it out!

well... Cursors are there, but they aren't "standardized" yet ;-)

to load a cursor go like this:

    $C = new Win32::GUI::Bitmap("arrow.cur", 2); # 2 stands for cursor

then supposing your window is named $W, to set the cursor go like this:

    $W->SetCursor($C);

you can also:

    $W->GetCursor();


of course, next build will have a Win32::GUI::Cursor class ;-)

HTH

bye,
Aldo Calpini
<[EMAIL PROTECTED]>

 LIBERA ME DOMINE DE MORTE AETERNA
 IN DIE ILLA TREMENDA
 QUANDO COELI MOVENDI SUNT 
 ET TERRA




Reply via email to