in reply to Re: How do I customize the win32 title bar or create my own in Perl way?
in thread How do I customize the win32 title bar or create my own in Perl way?

Thanks, Anonymous Monk. Looks like there're some good step by step tutorials on how to do the job in C or C# or similar. But I don't know how to rewrite them in Perl.
  • Comment on Re^2: How do I customize the win32 title bar or create my own in Perl way?

Replies are listed 'Best First'.
Re^3: How do I customize the win32 title bar or create my own in Perl way?
by Anonymous Monk on Jan 26, 2010 at 04:32 UTC
    Find code written for the bare Win32 API, and load functions with Win32::API->Import, eg
    Win32::API->Import( # http://msdn.microsoft.com/en-us/library/ms644950%28VS.85%29.aspx user32=>'LRESULT SendMessage( HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam )');
      If he's using Win32::GUI, much of that code is already wrapped
        Win32::GUI is woefully incomplete. And the docs are worse. (But it's better than nothing.)

        Once I got familiar with it, I found it easier to grep METHOD *.xs and compare what was (partially) implemented there to MSDN than working off of examples that almost did what I wanted and docs that misled me. (Not that MSDN doesn't mislead, itself.)

      Thanks a lot for the guidance, Anonymous Monk :)