Greetings, Perl Monks :)
I'm learning to add GUI to my Perl application using Win32::GUI. Now I can make the whole title bar disappear by setting the object style to 0x80000000 or change the icon of a Win32 title bar using something like:
$myicon = new Win32::GUI::Icon('myicon.ico'); $myclass=new Win32::GUI::Class( -name=>'myclass', -icon=>$myicon, ); $mydialogbox = new Win32::GUI::DialogBox( -name => 'mydialogbox', -class => $myclass, );
But what about the other stuff, say, the background color, the look and feel of the minimize button?
I googled the subject and found several relevant articles. They talk about stuff like non client area paiting but the code snippets seem to be all written in C or C#, with which I don't have a good familiarity. Actually I'm learning Perl as my first programming language.
How do I customize the win32 title bar or create my own? I was wondering if someone here could kindly share some code snippets written in Perl that deals with the similar situation? Or, is there, hopefully, a Perl module that can facilitate the task? Thanks for any guidance
UPDATE
Can I first make the title bar disappear and then add a label where the original title bar was and then add some other labels as the minimize button and close button? But how can I move the Window object when my mouse is on the label?
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |