titlebar - How do I completely change the appearance of a Win32 title bar from Perl? -


I'm learning to add a GUI to my Perl program. Now I can change the icon of a Win32 title bar like this:

  $ myicon = new Win32 :: GUI :: Icon ('myicon.ico'); $ Myclass = new Win32 :: GUI :: class (-name = & gt; 'myclass', -icon = & gt; $ myicon,); $ Mydialogbox = new Win32 :: GUI :: dialog box (-name = & gt; 'mydialogbox', -class = & gt; $ myclass,);  

But what about other stuff, what is said, background color, at least the button looks and what does it feel?

I goggle this topic and found many potentially relevant articles. They talk about stuff like paiting non-client area etc. But pieces of code seem to be written in all C, with which I am not a good acquaintance.

I was wondering if anyone could here please share some of the code snippets written in Perl that are related to the situation like this? Or, what is the hope, a Pearl module that can provide work facility?

Thanks for any guidance :)

**** UPDATE1 ****

was the original title bar and then at least to add some other buttons Turn off the object and

The problem now is: How can I move a window object when my mouse is on the label?

**** UPDATE2 ****

I have met some VB code snippets that I want to complete in Perl. Does anyone please help me write again in Win32 :: GUI?

  option to clear API functions personal promotional function ReleaseCapture Lib "user32" () Long form of private promotional function SendMessage Lib "user32" aka "SendMessageA" (ByVal hwnd) In: In the form of the following VB code is Long, ByVal as wMsg Long, ByVal as wParam Long, lParam in any form), as long as the personal publicity function SetWindowText Lib "user32" aka "SetWindowTextA" ( ByVal hwnd long, byVal as lpString string) for longer than 'API' constant CONST HTMLAPTION = 2 PERSONAL KNOW WM_NCLBUTTONDOWN = & amp; as private call form. HA1 Personal Sub Form_Load () Dim Retval as Long retval = SetWindowText (Me.hwnd, Label1) End Sub Personal Sub Label1_MouseDown (Button Integer, as shift integer, X as Single, Y as in the form of Single) Rial Capture Sendams HWD, WM_NCLBUTT Endon, HTC App, 0 and O Window decoration is prepared by the operating system according to the user's preferences.  They (ideally) are standardized in all applications, and make it quick and easy to know new applications 

In addition to this, some users have problems with poor vision or older devices. Adjust the nature of window decoration to compensate.

Is an excellent and noteworthy significant that, in some detail, the explanation of its reasons is overriding the default operating system look and it seems bad, and how it may be the problem.

The existing interfaces provided by the operating system produces a variety of decision-making problems to relinquish control. For example, the decision to not provide a title bar, Windows users at the loss of standard window management controls will find that the player does not give any visual indication as a way to move, minimize or maximize the player window. ..


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -