Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Can't change icon with win32 module

by palkia (Scribe)
on Sep 22, 2012 at 16:54 UTC ( #995110=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Win32::GUI();
    use Win32::API;
    Win32::API->Import('kernel32','BOOL SetConsoleIcon(HWND icon)');
    SetConsoleIcon( Win32::GUI::Icon->new('box.ico')->{-handle} );
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://995110]
help
Chatterbox?
[jthebarg]: case
[Eily]: :P, the search box is on the top left, or you can use Super Search
[Corion]: jthebarg: There is the switch keyword if you want that, but maybe a dispatch table is closer.

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (11)
As of 2017-09-26 13:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (295 votes). Check out past polls.

    Notices?