[perl-win32-gui-users] Win32::GUI::AxControl and Media Player 7-9 object model

2004-02-03 Thread Chris Whiting
Does Win32::GUI::AxControl, which provides ActiveX Control container, work with an object model, such as that used by Media Player version 7 and above? If I can get a yes or no, then maybe I can stop wasting my time (and yours). thanks, Chris

Re: [perl-win32-gui-users] XP "Look and Feel" - Success.

2004-02-03 Thread Jez White
Success! Thanks Robert - your reply made it clear what needed to be done - simple when you know how:) Before I mention the solution, there are couple of bugs - some of the controls have a white background - which I suspect is due to the XP color fix that went in a few builds ago. I will do more te

RE: [perl-win32-gui-users] Memory Usage

2004-02-03 Thread Stephen Pick
To make things fair I compared a script that makes and shows 10 windows with a script that makes and shows 1000 windows and I'm happy to report that the memory usage per window is, on average, 1.612kb. The script that showed 1000 windows used about 6mb of memory. The windows were created with on

[perl-win32-gui-users] XP "Look and Feel"

2004-02-03 Thread Jez White
Hi, There have been a few mails in the past about getting XP "look and feel" working with Win32::GUI. I came across the following while searching for something completely different: http://search.cpan.org/~mbarbon/Wx-0.18/Wx.pm#Windows_XP_look It is an example of what need to be done for the w

Re: [perl-win32-gui-users] Memory Usage

2004-02-03 Thread Jez White
Thanks for the detailed reply. I broke my app down and found it was taking about 2 meg for all the controls/windows - the rest was due to my code or other modules. I'm considering using a new design approach were I'll be using child windows as containers for groups of controls - potentially the

RE: [perl-win32-gui-users] Memory Usage

2004-02-03 Thread Stephen Pick
Yep, there's a "PERLWIN32GUI_USERDATA" structure for every control and window. This structure is chunky, and has references off to other structures in it, such as window names, cursors, accelerator tables, NEM events, etc. It could probably be optimized down. The reason it uses more memory is