[perl-win32-gui-hackers] CVS Update

2003-11-19 Thread Laurent ROCHER
> Laurent ROCHER wrote: > > I have play a little with CVS, and i think i can setup CVS like this. > > good news. I can play with CVS, but I know almost nothing about > branches. > > > 1) Tag current CVS source code as Win32-GUI-0_0_622. > >I have notice a probl

[perl-win32-gui-hackers] Re: [perl-win32-gui-users] CVS Update

2003-11-20 Thread Laurent ROCHER
I found those patch in win32-gui mailing list. Commit in Win32-GUI-0_0_665-Fix : + [Steve Pick] GUI.pm: Fix ImageList bug + [Glenn Linderman] MessageLoops.cpp: Fix Window Cursor bug I contiue to look in mail archive for more fix. Laurent.

Re: [perl-win32-gui-users] Re: [perl-win32-gui-hackers] additional fix for cursors

2003-11-21 Thread Laurent ROCHER
Hi, I haven't commit exact Glenn patch. I have commmit this : case WM_SETCURSOR: { WORD nHitTest = LOWORD( lParam ); if( nHitTest == HTCLIENT ) { // only diddle cursor in client areas LPPERLWIN32GUI_USERDATA perlud; perlud = (LP

Re: [perl-win32-gui-hackers] Fix for PeekMessage

2003-11-21 Thread Laurent ROCHER
For "A" problem, i don't think it's a else problem. You can call PeekMessage without a message parameter. In this case message == &PL_sv_undef, and no warming it's necessary. If you specify a message parameter, then we need a reference (SvROK) and must be a Array reference. I think it's better to

perl-win32-gui-hackers@lists.sourceforge.net

2003-11-21 Thread Laurent ROCHER
h next version. Laurent. > At 21:34 2003-11-20, Laurent ROCHER wrote: > >I contiue to look in mail archive for more fix. > > Please add my drag-n-drop patch, both the XS code and the Perl code. No > need for a separate module, just integrate it into the regular source. > >

Re: [perl-win32-gui-users] Re: [perl-win32-gui-hackers] additional fix for cursors

2003-11-21 Thread Laurent ROCHER
Hi, > The only quibble I have then, is that when you said you committed my > patch, that opens the door for confusion ... because people saw my patch > on-line. And then, when we coordinate other patches (like the > accelerator keys) there would be surprises in the diffs. > > So, I think it would

Re: [perl-win32-gui-hackers] Changelog on commit please

2003-11-22 Thread Laurent ROCHER
Hi, Actually, i have commit only this, in 665-Fix branch : + [Laurent Rocher] Add build with MinGW and ExtUtils-FakeConfig support. You can build Win32-GUI for ActiveState Perl with Free MingW Compiler. See HowTo : http://perso.club-internet.fr/rocherl/Win32GUI.html + [Steve Pick] GUI.pm

Re: [perl-win32-gui-hackers] Changelog on commit please

2003-11-22 Thread Laurent ROCHER
Hi, In some other SourceForge project, i see a special mailing-list with all cvs commit change. I'm looking in Sourceforge documentation, and i found this : http://sourceforge.net/docman/display_doc.php?docid=772&group_id=1#mailsend It's possible to send all CVS commit to a mail adresse. It's t

Re: [perl-win32-gui-hackers] Changelog on commit please

2003-11-23 Thread Laurent ROCHER
I have move changelog lines from ReadMe.txt to a specific CHANGELOG file. Now, when commit something, we need to add a line in this file. Laurent. > > changelog would be nice, just for a record of what's been done. >

Re: [perl-win32-gui-hackers] Fix for PeekMessage

2003-11-23 Thread Laurent ROCHER
Commit in CVS (665-Fix). Laurent. > BOOL > PeekMessage(handle, min=0, max=0, message=&PL_sv_undef) > HWND handle > UINT min > UINT max > SV* message > PREINIT: > MSG msg; > CODE: > ZeroMemory(&msg, sizeof(msg)); > RETVAL = PeekMessage(&msg, handle, min, max, PM_NOREMO

Re: [perl-win32-gui-hackers] Changelog on commit please

2003-11-23 Thread Laurent ROCHER
I made a test by adding those 2 lines in loginfo file with my sourceforge mail adress. It's work great. Aldo, can you create a specific mailling list for this. I read in Sourceforge documentation, if we call 'cvs' or 'commit' no mail archive is done. Laurent. > Yes, the send of

Re: [perl-win32-gui-hackers] accelerator keys patch

2003-11-29 Thread Laurent ROCHER
Glenn, I try to merge and apply your patch on 665-Fix branch this week-end. I quick read your patch and i see this : ! #ifdef PERLWIN32GUI_GLBREAK ! printf("XS(Create): %s\n", perlcs.cs.lpszName ); ! if ( perlcs.cs.lpszName ! && strcmp ( perlcs.cs.lpszName, "findlist.pl Ma

[perl-win32-gui-hackers] CVS Commit

2003-11-29 Thread Laurent ROCHER
Hi all, I commit this : + [Glenn Linderman] Accelerator key patch, Correct NotifyIcon DESTROY, add PM_* constants for use with TrackPopupMenu. + [Laurent Rocher] Fix some warnings, Remove unused variables, remove constants.c file. + [Trevor Garside] Add new RichEdit methods. + [Steve Pick

Re: [perl-win32-gui-hackers] Methods for datetime control

2003-12-01 Thread Laurent ROCHER
Commit on CVS I also add some DateTime Style constants : DTS_UPDOWN DTS_SHOWNONE DTS_SHORTDATEFORMAT DTS_LONGDATEFORMAT DTS_TIMEFORMAT DTS_APPCANPARSE DTS_RIGHTALIGN Laurent. > All, > > I've got a couple of new methods for the datetime control that could be > inclu

Re: [perl-win32-gui-hackers] CVS Commit

2003-12-02 Thread Laurent ROCHER
Hi, 1. Aldo make a change in GUI.pm for correct XP color but don't work for me on Win98Se. In Win32::GUI::Class new # figure out the correct background color # (to avoid the "white background" syndrome on XP) if(not exists $args{-color}) { my($undef, $major, $minor) = Win32::Ge

Re: [perl-win32-gui-hackers] CVS Commit

2003-12-02 Thread Laurent ROCHER
> > 5. > > If -style need to be deprecated, i don't think it's a good idea to > > a add -forcestyle. > > We keep -style without deprecated warning message. > > Or, we remove it and force people to use registered class for fix > > a default style. > > > > For me, -style don't need to

Re: FIXES: [perl-win32-gui-hackers] CVS Commit

2003-12-02 Thread Laurent ROCHER
. Laurent. - Original Message - From: Steve Pick To: Laurent ROCHER ; Win32 GUI Hackers Sent: Wednesday, December 03, 2003 12:15 AM Subject: FIXES: [perl-win32-gui-hackers] CVS Commit I have fixed the following bugs: 1. Rehashed the way Win32::GUI::Class constructor detects

Re: [perl-win32-gui-hackers] CVS Commit

2003-12-03 Thread Laurent ROCHER
On my Win98Se (major 4, minor 10). COLOR_BTNFACE+1 and COLOR_WINDOW look to work well. I have a grey background. Laurent > I will change this in the next commit. > > Steve > > > So then it really needs to read: > > > > if ( $major == 5 && $minor > 0 || $major > 5 ) > > > > since Win2k is 5.

[perl-win32-gui-hackers] [CVS Commit]

2003-12-03 Thread Laurent ROCHER
+ [Laurent Rocher] - GUI.pm : Fix -prompt option for TextField, correct color option for class (Win98SE). - GUI_Options.cpp : Correct -popstyle and -popexstyle like options. + [Glenn Linderman] GUI_Options.cpp : Correct menu -enabled option. - Original Message - From: "Steve

Re: [perl-win32-gui-hackers] [CVS Commit]

2003-12-03 Thread Laurent ROCHER
Sorry, previous mail send unfinish I have commit this : + [Laurent Rocher] - GUI.pm : Fix -prompt option for TextField, correct color option for class (Win98SE). => Correct Label and Textfield position when use -prompt. Add support for -pos and -size options. => For color cl

Re: [perl-win32-gui-hackers] DoEvents() bug.

2003-12-10 Thread Laurent ROCHER
> Glenn Linderman wrote: > > But I think if you use Win32::API to call call PeekMessage with the > > PM_REMOVE set, that you may not get the repeated behavior... me thinks > > the bug is inside DoEvents, somehow it just hit me... maybe the > > PM_REMOVE constant is wrong? (Pure speculation her

Re: [perl-win32-gui-hackers] DoEvents() bug -> CVS.

2003-12-10 Thread Laurent ROCHER
Hi, I commit DoEvents and some little change : - GUI.pm : Add AddDatetime, AddGraphics methods - GUI.xs : Fix DoEvents double event, add some DateTime methods (GetTime, SetTime, SetNone, IsNone). - GUI_Options.cpp : Add option parsing for DateTime control (-align, -format, -shownone, -

[perl-win32-gui-hackers] CVS Commit

2003-12-11 Thread Laurent ROCHER
I commit : [Laurent Rocher] - GUI.pm : Change version to 0.0.670 - GUI.h : Set NO_XSLOCKS for perl 5.005 - GUI_MessageLoops.cpp : Fix for perl 5.005 Now Win32::GUI work for ActivePerl 5.005 Does someone have something to add on CVS ? Where upload new package release

Re: [perl-win32-gui-hackers] CVS Commit -> Win32-GUI-0_0_667

2003-12-12 Thread Laurent ROCHER
Hi, > Do you mean that you don't have the rights to create a new package name? I think only administrator can create new donwload package name. I think i have only right to upload release file on existing package name. Never try before. > Is that something that only Aldo can do? Maybe Aldo will

Re: [perl-win32-gui-hackers] Success with flicker-free windows!

2003-12-14 Thread Laurent ROCHER
Hi, Garside Trevor say on win32::GUI Users list flicker problem when resize window can be remove by set default class style to 0. In GUI.xs, RegisterClassEx : wcx.style = 0; // CS_HREDRAW | CS_VREDRAW; // TODO (default class style...) It's look better when resize main window.

Re: [perl-win32-gui-hackers] bugfixed some cvs

2003-12-15 Thread Laurent ROCHER
Hi, > Just fixed a bug with windows that had the -parent option given, and were > then positioned with the Left() and Top() methods. These methods were > detecting that the window had a parent and were translating X (in the case > of Top() ) and Y (in the case of Left() ) into the current X or Y >

Re: [perl-win32-gui-hackers] CVS Commit

2003-12-16 Thread Laurent ROCHER
> why 670? No special reason, only sound better than 666 ;o) > > > Does someone have something to add on CVS ? > > yes me! Sorry, i realise, i have probably release new version to fast. But, with Christmas and new year comming soon, i have think a new release before was good idea. Forgive, m

Re: [perl-win32-gui-hackers] bugfixed some cvs

2003-12-16 Thread Laurent ROCHER
OK, i understand your problem now. I agree Main window and Dialog box have screen coordinate. Dialog box have a parent window but it's not a child window. No translation must be done. But, you change break use of -parent option for normal child window (show in my sample). In this case, it's bette

Re: [perl-win32-gui-hackers] New Method for TabStrip

2003-12-17 Thread Laurent ROCHER
I commit it on CVS. I add some new methods too and add documentation for all methods. New Methods are : SetImageList GetImageList RemoveImage SetCurSel GetCurSel SetCurFocus GetCurFocus HighlightItem It's some missing TabCtrl macro found in msdn : http://msdn.microsoft.com/library/default.asp?u

Re: [perl-win32-gui-hackers] bugfixed some cvs

2003-12-17 Thread Laurent ROCHER
> I like your IsChild() method much better than my kludge. > You're welcome to replace my changes in the CVS with your method of doing it. It seems a much more elegant solution. OK, i commit IsChild solution on CVS. Laurent.

Re: [perl-win32-gui-hackers] -noflicker Feedback/bugs

2003-12-17 Thread Laurent ROCHER
Win32::GUI::Grid is based on MFCGrid. WM_PRINTCLIENT isn't handle by default with MFC. I made change for support it in next release. Grid work nice now with -noflicker option enabled. I need to see for Scintilla control. Laurent. - Original Message - From: Jez White To: Stephe

Re: [perl-win32-gui-hackers] Patch for GUI.pm

2004-01-02 Thread Laurent ROCHER
Hi, I commit it to CVS. Happy new year, Laurent. > Laurent, and others, > > Here is a patch that gives a default event name to every item for which > the user supplies an empty string, instead of just the ones that have a > text string of '-'. It even saves a little code, I think. >

Re: [perl-win32-gui-hackers] Which CVS branch are we supposed to use?

2004-01-05 Thread Laurent ROCHER
Which CVS branch are we supposed to use?Hi, I continue to commit on 665-Fix branch. Latest sourcecode is on this branch. Win32-GUI-0_0_670 is a tag on Win32-GUI-665-Fix branch. Main branch it's keep for next Aldo code base. Laurent. > Now there's a CVS branch for 670 and 665-Fix. Wh

Re: [perl-win32-gui-hackers] Menu enhancement patch for gui_options

2004-01-14 Thread Laurent ROCHER
Oups. I don't know what i have do, but i have already commit it on CVS last time. But, i forgot to add a line in CHANGELOG and reply to your mail :-0 Sorry, Laurent. > Hi Laurent, and others, > > Here is a patch to enhance menus, by exposing more Windows options to Perl.

[perl-win32-gui-hackers] Win32::GUI Dev PPM

2004-01-18 Thread Laurent ROCHER
Hi All, I have made PPM build from Sourceforge Win32::GUI CVS. I build it from my local dev directory with last CVS source (18/01/2004). I have made 5.6 and 5.8 PPM (don't build for 5.005), and a source zip file from my dev directory. See : http://perso.club-internet.fr/rocherl/Win32-GUI-Dev/i

Re: [perl-win32-gui-hackers] Rebar.xs - Some Changes

2004-01-23 Thread Laurent ROCHER
I try to commit on CVS but Developer CVS access will be offline for maintenance :( I found and correct BandInfo crash. I have add some new methods too. See change in attached file. For me, HeightChange don't work only if you use NEM in main window and OEM for Rebar. It work in pure OEM model or

Re: [perl-win32-gui-hackers] Rebar.xs - Some Changes

2004-01-23 Thread Laurent ROCHER
No, this option exist since NEN is add to Win32::GUI. It's enable using of both NEM/OEM model. Valid value are 'byname' (OEM), 'byref' (NEM) and 'both' (OEM/NEM) Laurent. - Original Message - From: Jez White To: Laurent ROCHER ; Win32 GUI Hacker

Re: [perl-win32-gui-hackers] Rebar.xs - Some Changes

2004-01-26 Thread Laurent ROCHER
Laurent. - Original Message - From: Jez White To: Laurent ROCHER ; Win32 GUI Hackers Sent: Friday, January 23, 2004 9:47 PM Subject: Re: [perl-win32-gui-hackers] Rebar.xs - Some Changes Well, you learn something new everyday:) I just did a quick search and there is no documentatio

[perl-win32-gui-hackers] Win32::GUI Dev PPM

2004-03-08 Thread Laurent ROCHER
Hi All, I have made new PPM build from Sourceforge Win32::GUI CVS. I build it from my local dev directory with last CVS source (8/03/2004). I have made 5.6 and 5.8 PPM and a source zip file from my dev directory. See : http://perso.club-internet.fr/rocherl/Win32-GUI-Dev/index.html Laurent

[perl-win32-gui-hackers] Time for a new Release ? and start next Win32::GUI implementation

2004-03-14 Thread Laurent ROCHER
Hi All, It's probably time to made a new Win32::GUI release based on Win32-GUI-0_0_665-fix branch. I can create a Win32-GUI-0.0.671 from this branch. Does someone have something to put in this branch before release ? After, it's probably time to stop working on this branch and st

Re: [perl-win32-gui-hackers] Time for a new Release ? and start next Win32::GUI implementation

2004-03-16 Thread Laurent ROCHER
Hi, > So the set of #defines named PERLWIN32GUI_NEM_* are mostly to do with > that bit field. The DEACTIVATE, ACTIVATE, TERMINATE, MINIMIZE, > MAXIMIZE, and RESIZE seem to have two bits set... but no special > consideration is given to that in the code, as far as I can tell. So if > any of thes

Re: [perl-win32-gui-hackers] Time for a new Release ? and start next Win32::GUI implementation

2004-03-21 Thread Laurent ROCHER
Hi All, > On approximately 3/14/2004 8:00 PM, came the following characters from > the keyboard of Glenn Linderman: > > > I'd rather not hold anything up, > > but I need NotifyIcon support if I'm going to use NEM. > > Please don't hold up a release on my account. I've chosen to back out > my att

Re: [perl-win32-gui-hackers] Time for a new Release ? and start next Win32::GUI implementation

2004-03-22 Thread Laurent ROCHER
> Apologies, I haven't read your code yet, so I might have asked something > obvious in the below. You are "on a roll" Laurent! It all sounds good! > > On approximately 3/21/2004 11:02 AM, came the following characters from > the keyboard of Laurent ROCHE

Re: [perl-win32-gui-hackers] Time for a new Release ? and start next Win32::GUI implementation

2004-03-22 Thread Laurent ROCHER
> Good work Laurent! I had a quick glance through your dev codeline, and it > looks good. I'm quite interested in the DoModal stuff:) I've got quite a few > test scripts, so once you've committed these changes I'll run through them. If this script isn't too complex it's could be nice to add it i

Re: [perl-win32-gui-hackers] Time for a new Release ? and start next Win32::GUI implementation

2004-03-22 Thread Laurent ROCHER
> > If this script isn't too complex it's could be nice to add it in Samples > > directory. > > I think to add this directory in main CVS for provide nice samples with > > Win32::GUI. > Most of my test scripts are simple, they just test a single control or > various GUI concepts. > > If you create

[perl-win32-gui-hackers] Win32-GUI Release 0.0.671

2004-03-22 Thread Laurent ROCHER
Hi All, A new Win32::GUI release is availlable. This release come from 0.0.665 Fix CVS branch. See on sourceforge for sources and PPM for ActivePerl 5.005, 5.6 & 5.8. http://sourceforge.net/projects/perl-win32-gui This release of Win32::GUI introduces many bug fix and new features : New : -

Re: [perl-win32-gui-hackers] Odd problem with 671

2004-03-23 Thread Laurent ROCHER
Yes it's very strange. What version do you use (5.005, 5.6, 5.8) ? Do you have a small sample with this problem ? What is you child window ? (button, ...) I made some test and don't reproduce your problem. Laurent. - Original Message - From: Jez White To: guihackers Sent: Tue

Re: [perl-win32-gui-hackers] Odd problem with 671

2004-03-23 Thread Laurent ROCHER
I have the backgound paint problem only in perl 5.6 with VC. But, work nice in perl5.005 (VC), perl56 (MinGW) and perl 5.8 (VC & MINGW). I don't know what wrong. Laurent. > Today has been one of those days - if it can go wrong, it has! > > Anyway, I've retested - and there is a problem - althoug

Re: [perl-win32-gui-hackers] Odd problem with 671

2004-03-24 Thread Laurent ROCHER
I think i found problem. I solve multiple problem of uninitialised variable. I have commit my change on 655-Fix CVS. - GUI_MessageLoops.cpp : Fix multiple problem with NEM event and painting problem. - GUI.xs : Correct problem with wndprocPreNEM changed two time. - GUI_Options.cpp : Co

[perl-win32-gui-hackers] New Win32::GUI code in MAIN CVS.

2004-03-25 Thread Laurent ROCHER
Hi all, I have commit new Win32::GUI code in CVS [Module : Win32-GUI, Branch : HEAD]. Changelog : - New Base code : + Separate each control in a specific XS file. + Add callback function for each control (onPreCreate, onParseOption, onPostCreate, onParseEvent, OnEvent).

Re: [perl-win32-gui-hackers] New Win32::GUI code in MAIN CVS.

2004-03-26 Thread Laurent ROCHER
Hi, I correct and commit some little bug. Changelog : - GUI.h : PERLUD_FROM_WND macro return now 0 (MinGW Warning). - GUI.pm : + new Graphic method use standard _new creation (and replace hard coded constant) + Fix timer DESTROY - Window.xs : Graphic_onEvent return Per

Re: [perl-win32-gui-hackers] New Win32::GUI code in MAIN CVS.

2004-03-28 Thread Laurent ROCHER
Hi All, I commit new stuff. I add reference of Sourceforge Tracker BUG and RFE in changelog. I close someone but need to check if other can be already close or fix. Changelog : [#627779] : Not able use with embedded perl [#918896] : No [Dbl]RightClick events in NEM [#921170] : 670: D

Re: [perl-win32-gui-hackers] Examples for future builds

2004-03-28 Thread Laurent ROCHER
I think we need to keep caution than sample must be commented, well designed and don't show bad thing ;o) I suggest not have hard coded constant or strange -style option, replace sendmessage by standard method (if availlable)... We probably need small basic sample and more complex sample. Why n

Re: [perl-win32-gui-hackers] New Win32::GUI code in MAIN CVS.

2004-03-28 Thread Laurent ROCHER
Hi, Some small bug fix : - UpDown : + Fix Scroll event. - GUI_Events.cpp : + In DoEvent_* functions : PERLWIN32GUI_EVENTHANDLING is set after event call. I looking for NEM support for accelerator and i don't know if my current implementation was good. If you look in sample

Re: [perl-win32-gui-hackers] New Win32::GUI code in MAIN CVS.

2004-03-29 Thread Laurent ROCHER
Hi all, If i resume, Accelerator event implement could be : 1) if accelerator define like : "key" => sub { } or "key" => \&mysub - Call this function with Window Self + accelerator name. 2) if accelerator define like : "Key" => "Name" - Find a window called "Name" in current window hierarch

Re: [perl-win32-gui-hackers] New Win32::GUI code in MAIN CVS.

2004-03-29 Thread Laurent ROCHER
I add some add-on to DoModal method. - Prevent re-call DoModal on same dialog. - Add a parameter flag for disable all top window (By default only parent/active window is disable). And fix a problem with MinGW. Changelog : - GUI.h : + Add Animate_OpenEx macro for MinGW +

Re: [perl-win32-gui-hackers] New Win32::GUI code in MAIN CVS.

2004-03-30 Thread Laurent ROCHER
Hi, I commit new Accelerator event handling. - GUI.h : + Add FindChildWindowsProc prototype and search typedef struct. - GUI_Events.cpp : + Rewrite DoEvent_Accelerator. - GUI_Helpers.cpp : + Add FindChildWindowsProc for search a child with specific name. > > >

Re: [perl-win32-gui-hackers] New Win32::GUI code in MAIN CVS.

2004-04-04 Thread Laurent ROCHER
I commit new thing. Changelog : Complet API and documentation - Combobox.xs, DateTime.xs, GUI.pm, GUI.xs : + Add some documentation - DC.xs : + Add lot of new methods - GUI.h : + Add some new prototype - GUI_Options.cpp + Add new parse options funct

Re: [perl-win32-gui-hackers] New Win32::GUI code in MAIN CVS.

2004-04-06 Thread Laurent ROCHER
New stuff on CVS : Changelog : Complet Tooltip API. - GUI.h : + Add new prototype. - GUI_Options.cpp : + Add ParseTooltipOptions. - ToolTip.xs : + Complet API. Laurent.

Re: [perl-win32-gui-hackers] New Win32::GUI code in MAIN CVS.

2004-04-08 Thread Laurent ROCHER
New changes on CVS : Changelog : Complet ImageList and TabStrip API. - Font.xs : + Improve parsing font options. - GUI.h : + Add new prototype. - GUI.pm : + Add method AddMasked for ImageList. + Add method Change for NotifyIcon. - ImageList.xs:

Re: [perl-win32-gui-hackers] New Win32::GUI code in MAIN CVS.

2004-04-12 Thread Laurent ROCHER
f you want i can make a zip with only include and lib directory (7mo). Laurent > On approximately 4/8/2004 2:36 PM, came the following characters from > the keyboard of Laurent ROCHER: > > New changes on CVS : > > Hi Laurent, You've been putting some many nice new featur

Re: [perl-win32-gui-hackers] New Win32::GUI code in MAIN CVS.

2004-04-17 Thread Laurent ROCHER
New changes on CVS : Changelog : Add new options and documentation. - Button.xs : + Add new style option and documentation. - Combobox.xs + Add new style option and documentation. - Header.xs + Add new style option and documentation. - GUI_Helper.cpp :

[perl-win32-gui-hackers] Win32::GUI Dev PPM

2004-04-17 Thread Laurent ROCHER
Hi All, I have made PPM build from Sourceforge Win32::GUI CVS Main branch. a.. Completely new base code. b.. Full NEM/OEM support. c.. Lot of control Win32 API method. d.. Preserved Perl context. e.. New DoModal. f.. More documentation. g.. ... I build it from my local dev dir

Re: [perl-win32-gui-hackers] New Win32::GUI code in MAIN CVS.

2004-04-19 Thread Laurent ROCHER
Hi, Yes, you right, i break TIED window property. You can reactivate it by changing in _new methods : my $self = tie %tier, $class, $oself; By : tie %tier, $class, $oself; my $self = bless \%tier, $class; I mode this change when i want to add Window destruuction when undef a perl wind

Re: [perl-win32-gui-hackers] New Win32::GUI code in MAIN CVS.

2004-04-26 Thread Laurent ROCHER
Hi All, I commit new changes. - Window properties now re-work. - Handle correctly Window life and Perl variable life (i hope it work because i loose my hair on it ;o) - Add MDI window support (3 new class MDIFrame, MDIClient and MDIChild). For MDI, i have

Re: [perl-win32-gui-hackers] New Win32::GUI code in MAIN CVS.

2004-04-26 Thread Laurent ROCHER
Hi I restore AUTOLOAD sub in Win32::GUI::Window. I understand now what this sub do. It's permit to directly call a child window procedure like this : $Win->Child->Show; it's do same job as : $Win->{Child}->Show; ChangeLog : Restore AUTOLOAD - GUI.pm :

Re: [perl-win32-gui-hackers] New Win32::GUI code in MAIN CVS.

2004-04-27 Thread Laurent ROCHER
S_VSCROLL | WS_HSCROLL, -classname => 'MDICLIENT', -name => 'mdi_window', -parent => $mw, -text => 'MDI', -top => 0, -left => 0, -width => $mwsw, -height => $mwsh - 40, ); Laurent. > On approximately 4/26/2004 9:40 AM,

Re: [perl-win32-gui-hackers] New Win32::GUI code in MAIN CVS.

2004-04-29 Thread Laurent ROCHER
> I tried to add VERSION checking code to my application so I could easily > keep it working under both old and new GUI versions... but the CVS > currently identifies itself as 0.0.671. This is less than the older > versions 0.0.680 0.0.680 ?? Don't know this version. > I think the CVS vers

Re: [perl-win32-gui-hackers] New Win32::GUI code in MAIN CVS.

2004-04-30 Thread Laurent ROCHER
Hi all, I have commit fix for problem with MDiClient and Menu ID for child. I update MDI.pl sample too for show how add Window Child menuitem to mainframe menu. ChangeLog : Fix IdFirstChild option for MDIClient. - GUI.pm : + Remove registered class for MDIClient. - GUI.xs

Re: [perl-win32-gui-hackers] New Win32::GUI code in MAIN CVS.

2004-05-08 Thread Laurent ROCHER
Hi all, I commit new stuff on CVS - Add MonthCal control - Fix TextField -prompt option ChangeLog : + [Laurent Rocher] : Add MonthCal Control - MonthCall.xs : New file - GUI.h : + Add new event argtype for SV*. + New MonthCall control callback

[perl-win32-gui-hackers] Win32::GUI Dev PPM

2004-05-08 Thread Laurent ROCHER
Hi All, I have made PPM build from Sourceforge Win32::GUI CVS Main branch. Change since last time : a.. MDI support. b.. New MonthCal control. c.. New treeView events : BeginLabelEdit, EndLabelEdit d.. Fix TextField -prompt option. e.. New methods and bug fix. I build it from my local

Re: [perl-win32-gui-hackers] GetOpenFileName enhancement

2004-05-14 Thread Laurent ROCHER
> > So then I think your point, translated to implementation requirements, > would be to: > > 1) Use a 256 byte buffer for -multisel => 0 (why waste memory) > 2) Use a 4000 byte buffer for -multisel => 1 (allow more files to be > selected normally, even if the user hasn't caught on to doing memor

Re: [perl-win32-gui-hackers] GUI samples

2004-05-14 Thread Laurent ROCHER
> > More complex sample program ideas: > > Program like Notepad using Win32::GUI > Program like Paint using Win32::GUI > Calculator program using Win32::GUI > I have started a notepad clone in Win32::GUI. I add it when finished ;o) Laurent.

Re: [perl-win32-gui-hackers] GetOpenFileName enhancement

2004-05-14 Thread Laurent ROCHER
> > > I think it's not a problem to upgrade default stack buffer to 4096 by > > default. > > Stack allocation is generally same speed for 256 and 4096. > > And only dynamicly allocate a buffer when desired size isn't enough. > > Something like that : > > void > > GetOpenFileName(...) > > PPCODE: >

Re: [perl-win32-gui-hackers] GUI.xs (BeginPaint and EndPaint)

2004-05-18 Thread Laurent ROCHER
Hi, Graphic control it's a specialized window for painting issue. Graphic was created only for provide Paint event for user wanted to draw specific stuff. Paint event, it's not usefull for standard/common control (button, listbox, ...). And, for doing owner draw control, it's not WM_PAINT

[perl-win32-gui-hackers] MAIN CVS Commit

2004-05-31 Thread Laurent ROCHER
Hi, I commit new things. * A new InitMenu event for Window. This event is fire when user first select a menuitem. It's usefull for refresh menuitem (enable/disable menuitem). * Add some helpfull methods for textfield too. * A Notepad sample. It's actually not exact

Re: [perl-win32-gui-hackers] new build

2004-06-01 Thread Laurent ROCHER
Try, to clean you build environement and regenerate makefile. nmake clean perl Makefile.pl or perl Makefile_m.pl nmake install Laurent. - Original Message - From: Jez White To: Win32 GUI Hackers Sent: Tuesday, June 01, 2004 11:34 AM Subject: [perl-win32-gui-hackers] new build

Re: [perl-win32-gui-hackers] AcceleratorTable documentation error

2004-06-11 Thread Laurent ROCHER
Hi, When you use a string as an accelerator function name, it's call _Click event. It's not try to call an "S3" sub but an "S3_Click" Sub. Just change : sub S3 { $W->Caption("Shift-3"); } By : sub S3_Click { $W->Caption("Shift-3"); } And it's work ;o) Laurent. PS : From last

Re: [perl-win32-gui-hackers] About time for a release?

2004-09-28 Thread Laurent ROCHER
Hi all, Sorry, i read mailling list, but have less time for work on Win32::GUI now. But, i can take time for make a new release and publish it on sourceforge. I see two bug report in hacker list : - Color problem - Text problem It's probably good to correct it before.

Re: [perl-win32-gui-hackers] About time for a release?

2004-09-29 Thread Laurent ROCHER
> > Laurent, you can also submit the new release to CPAN and proclaim > yourself the current Win32::GUI maintainer, I don't mind. I, for myself, > would call the release 0.99_01, but feel free to change it as you see fit. > Hi Aldo, Happy to read you :o) I have a CPAN directory as LROCHE

Re: [perl-win32-gui-hackers] Color broken?

2004-09-29 Thread Laurent ROCHER
Hi, This an old bug report :o) -color for Win32::GUI::Class only handle system color as background brush. I add a new option -brush for use a Win32::GUI::BRUSH. Common -background option take a color, but it's work only for some control (Label, Edit, Button, ListBox). Laurent. > [Everythin

[perl-win32-gui-hackers] Main Commit

2004-09-29 Thread Laurent ROCHER
Hi, Changelog - MakeFile.pl, MakeFile_m.pl + Use tab as space in rule for use with dmake - GUI.pm, GUI.xs + Add -brush option for Win32::GUI::Class. - GUI_Helper.cpp + classname_From and handle_From : Replace strlen as static string length. - Window.xs, GU

Re: [perl-win32-gui-hackers] bug in Text()

2004-10-01 Thread Laurent ROCHER
Hi, I think "problem" it's linked with change i made in Win32::GUI for automaticly destroy window when it's perl variable reference count be null. In you samples your main window go out of scope, then it's window be destroyed. But, because it's a parent windows all it's child windows

Re: [perl-win32-gui-hackers] Main Commit

2004-10-01 Thread Laurent ROCHER
Hi, I commit some change in TreeView made by Glenn W Munroe. Changelog - TreeView.xs : + Add more events and new style flag. Laurent.

Re: [perl-win32-gui-hackers] GUI 1.0.0 ?

2004-10-02 Thread Laurent ROCHER
Hi, I prepare all for made a 0.99_1 release for a first 1.0 release candidate. I publish it on sourceforge and try to publish it on CPAN too. Laurent > > Is there anything else stopping us from making Win32::GUI 1.0.0 ? And > putting it on CPAN, even, if you have that figured out? >

[perl-win32-gui-hackers] Win32::GUI 0.99_1

2004-10-02 Thread Laurent ROCHER
Hi Win32::GUI users, A new version 0.99_1 of Win32::GUI is availlable at Sourceforge. This is first Release candidate for Win32::GUI 1.0. This version come from main developpement branch of Win32::GUI. - Completely new base code. - Full NEM/OEM support. - L

Re: [perl-win32-gui-hackers] bug in Text()

2004-10-02 Thread Laurent ROCHER
> > Not something we should hold up the release for; seeing as there seems > to be a new release, I guess Laurent agreed on that point! > I agree, i just finish upload Win32::GUI 0.99_1 at sourceforge :) Laurent

Re: [perl-win32-gui-hackers] Win32::GUI::Button align problem

2004-10-07 Thread Laurent ROCHER
Hi Blair, Fix and commit on CVS. Problem come from BS_CENTER style is BS_LEFT | BS_RIGHT so SwitchBit order it's important. I rewrite like this : if(strcmp(option, "-align") == 0) { // BS_CENTER is BS_LEFT | BS_RIGHT if(strcmp(SvPV_nolen(value), "left") == 0) {

Re: [perl-win32-gui-hackers] Win32::GUI::Button align problem

2004-10-08 Thread Laurent ROCHER
Oups, correct and test it too fast :o) It's work when i test because center is default. > > > >> Hi Blair, > >> > >> Fix and commit on CVS. > > or alternately (to expose that BS_CENTER is BS_LEFT | BS_RIGHT) > > > > SwitchBit(perlcs->cs.style, BS_RIGHT, 1); > > Sw

Re: [perl-win32-gui-hackers] TGL 0.25 released

2004-11-09 Thread Laurent ROCHER
Hi, > Glenn Linderman schrieb: > > Yo, Laurent-- can you spare a few minutes to finish up the release of > > 1.0 ??? > > > > 0.99_1 has been out there for a little more than a month, Johan has TGL > > working with it and released, and there've been no howls of protest from > > the rest of the cogn

[perl-win32-gui-hackers] Win32::GUI 1.0

2004-11-12 Thread Laurent ROCHER
Hi Win32::GUI users, Win32::GUI version 1.0 is availlable at Sourceforge. This version come from main developpement branch of Win32::GUI. - Completely new base code. - Full NEM/OEM support. - Lot of control Win32 API method. - Preserved Perl context.