Re: [perl-win32-gui-users] accelerator keys - now working

2003-11-14 Thread Jeremy White

I would be more than willing to bring the files together and serve
them up on jeb.ca


Erick, are you able to generate flat html files which could be included 
automatically in new builds?


3) I'd be willing to incorporate patches into my version, if someone 
identifies them, and sends me the patches, they aren't too cumbersome to 
apply, and make the merged binary distribution available.


There were a couple of fixes for the splitter control that were mentioned a 
while back, I'll see if I can dig them out. I've also got a small extension 
to the datetime control that could go in to.


I created the account and sent you a private note about that.  It depends 
on how hard it is to learn your process for updating information.  I'm 
trying to stay heads down on a project to get it done... but for sure after 
that I'd be willing to update.


I've got some time available to help with documentation, and write a few 
examples. My back end skills are a bit limited unfortunately.


Cheers,

jez.

_
Hotmail messages direct to your mobile phone http://www.msn.co.uk/msnmobile




[perl-win32-gui-users] Color of text in Button

2003-11-14 Thread Jangale V-S SPEL-TIT
Hi All,

Is there any way to change color of text in Button control ?

With Best Regards,

Vidyadhar



RE: [perl-win32-gui-users] accelerator keys - now working

2003-11-14 Thread Frazier, Joe Jr
> -Original Message-
> From: Jeremy White [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 14, 2003 3:54 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Cc: perl-win32-gui-users@lists.sourceforge.net
> Subject: Re: [perl-win32-gui-users] accelerator keys - now working



> There were a couple of fixes for the splitter control that 
> were mentioned a 
> while back, I'll see if I can dig them out. I've also got a 
> small extension 
> to the datetime control that could go in to.

What did you do to the datetime?  I have need to have a change event on this 
control since there is not one natively.  I tried using a class, but was unsure 
of the functionality and could not get it to work.



RE: [perl-win32-gui-users] accelerator keys - now working

2003-11-14 Thread Jeremy White

> There were a couple of fixes for the splitter control that
> were mentioned a
> while back, I'll see if I can dig them out. I've also got a
> small extension
> to the datetime control that could go in to.

What did you do to the datetime?  I have need to have a change event on 
this control since there is not one natively.  I tried using a class, but 
was unsure of the functionality and could not get it to work.


Added (with the help from Laurent Rocher) the ability to set and read the 
time.


Cheers,

jez.

_
Tired of 56k? Get a FREE BT Broadband connection 
http://www.msn.co.uk/specials/btbroadband





Re: [perl-win32-gui-users] Change menu text

2003-11-14 Thread Jonathan Southwick

Thanks, that worked.  One question though, just because I am curious:

What does the 'x26' do?

Jonathan

At 11/13/2003  03:52 PM, Glenn Linderman wrote:

On approximately 11/13/2003 1:20 PM, came the following characters from
the keyboard of Jonathan Southwick:

Is it possible to change the text on a menu?  I want to change a menu 
item from "Refresh workgroups" to "Refresh clients" depending on what 
view they are currently at.  I am already keeping track of the view I 
just need to change the menu text.


  $m_config->{'sGetDataDir'}->Change( -text =>
"\x26reset data directory ($datadir)" );

Your menu object will be different than mine ($m_config), and your menu 
item will be different than mine (sGetDataDir), and the text you want to 
display will be different than mine ("\x26reset data directory 
($datadir)", but this should give you the idea.


--
Glenn -- http://nevcal.com/
===
Like almost everyone, I receive a lot of spam every day, much of it
offering to help me get out of debt or get rich quick.  It's ridiculous.
-- Bill Gates



---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
___
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users



Jonathan Southwick
[EMAIL PROTECTED]
Technical & Network Services
Allegheny College
Meadville, PA 16335
(814) 332-2755




Re: [perl-win32-gui-users] accelerator keys - now working

2003-11-14 Thread Laurent ROCHER
Hi All,

> >>>Perhaps we should try and move forward somehow. I've just looked
> >>>through the mailing list and there are several other bug fixes that
> >>>should be applied to any new build.
> >>
> >>In the short term,
> >>
> >>1) I'd be glad to contribute my fixes to anyone that cares, that would
> >>be willing to CVS-ize them, and make them generally available.
> >
> > I would be more than willing to bring the files together and serve
> > them up on jeb.ca
>
> Not sure whether this includes CVS-ing them?  I'm guessing that it
> doesn't, but would do the other half, of making them generally available.

I'm registered as developper on Win32::GUI SoureForge project.
Theoricly, i have CVS access for commit change and tag version (not tested).

Aldo say on this mailing-list (7 april 2003 in Re: [perl-win32-gui-users]
The status of win32::gui)

> > What is the status of win32::gui - is it being actively developed? I
emailed
> > httptech a couple of days ago and just go lots of undeliverable
messages.

> yes, it is being actively developed. I'm currently working on the
> internals and I expect to have version 1.00 ready for Easter (but
> don't hold your breath on it).

> > It seems a few people in the last few days (Laurent Rocher and
Trevor
> > Garside) could actually move the project on if they had access to
the site.
>
> that's perfectly fine for me. please, anybody who want full access to
> the project on SourceForge (including CVS, file release, etc.) drop me
> a line with your SF username and I'll do it.

I'm waiting for new Win32-GUI Aldo's release.
But it's possible to fix some bug/miss on current release.
So I assume, Aldo agree for use sourceforge CVS to do this.

I think it's probably good to :
1) Tag current CVS source as 0.0.558
2) Commit and tag 0.0.665 sources
3) Commit new change over 0.0.665 source code (in a specific branch ?)

I'm not a CVS expert so i need to study how to do this.
If i can do step 1 and 2.
I can merge and apply your (and others) change to CVS.
I'm not here this week-end but can start to study this next week.

> >>2) I'd be willing to make available my binary distribution to anyone
> >>that wants my fixes (I've called it 0.0.668, since there were 3 fixes
> >>applied to 0.0.665), but I'm working on 0.0.669, adding more keys to the
> >>legal set of accelerator keys... all keys are legal accelerator keys to
> >>Windows, and only a subset were implemented in Win32::GUI.
>
> So would you put the .ppd and .tar.gz files up to, in a manner that PPM
> could use?

I have a PPM repository set on my Web Site.
I can put on it.

> >>3) I'd be willing to incorporate patches into my version, if someone
> >>identifies them, and sends me the patches, they aren't too cumbersome to
> >>apply, and make the merged binary distribution available.

I have made some change in 0.0.665 source code for build it for Perl
ActiveState with free MinGW compiler.
I think it's usefull for people want to build/contribute to Win32::GUI
source code without need of Visual C++.

Laurent.




Re: [perl-win32-gui-users] accelerator keys - now working

2003-11-14 Thread Glenn Linderman


On approximately 11/14/2003 12:53 AM, came the following characters from
the keyboard of Jeremy White:


I would be more than willing to bring the files together and serve
them up on jeb.ca



Erick, are you able to generate flat html files which could be included 
automatically in new builds?


Speaking of flat HTML files, I know that there are a bunch of HTML files 
that are included with the source distribution that are not included 
with the binary distribution.


Laurent's instructions for making the binary distribution, which worked 
great overall (Thanks Laurent), include making a few pod2html files and 
including them in the distribution.


I noticed that running pod2html on gui.pm produces an error (no title 
for GUI.pm) and that the corresponding GUI.html file is rather limited.


I've mostly ignored POD in my Perl coding, so I don't have a clue what 
should be done to fix that... but maybe it isn't necessary since under 
docs/html there is a GUI.html which is the top logical layer of all the 
other HTML files in the distribution... so if those other HTML files 
could be included in the binary distribution in such a way that they 
appear as part of the ActivePerl documentation tree, that would be a 
much better solution, perhaps, than fixing the POD in GUI.pm


From the way Laurent packaged the other two HTML files in his 
distribution, it would seem that it is just a matter of copying them to 
the appropriate subtree under blib\html\lib\Win32 


It appears that is set up to allow for one HTML file for each package? 
Yet GUI.pm hyperlinks to other HTML files... some of which are for 
subpackages, and some of which are not.  How does one handle the ones 
that are not?


If we get more documentation into the distribution, then perhaps Erick 
could organize his site a little differently, to automatically include 
the distributed documentation (which it appears a lot of the 
documentation there is from the source distribution, but then there is 
more... at least the FAQ and code samples, I haven't compared all he 
other stuff against what is in the source distribution.)


Maybe including documantation for several different releases?

Maybe including a list of differences between different releases?

I've lost track of the list of differences between 0.0.558 and 0.0.665, 
for example.   I know the (incomplete) NEM was introduced, but what else?


3) I'd be willing to incorporate patches into my version, if someone 
identifies them, and sends me the patches, they aren't too 
cumbersome to apply, and make the merged binary distribution available.



There were a couple of fixes for the splitter control that were 
mentioned a while back, I'll see if I can dig them out. I've also got a 
small extension to the datetime control that could go in to.


I'd be willing to incorporate these if you can find them and email them 
to me.


--
Glenn -- http://nevcal.com/
===
Like almost everyone, I receive a lot of spam every day, much of it
offering to help me get out of debt or get rich quick.  It's ridiculous.
-- Bill Gates

And here is why it is ridiculous:
 The division that includes Windows posted an operating profit of $2.26 
 billion on revenue of $2.81 billion.
 --from Reuters via 
http://biz.yahoo.com/rc/031113/tech_microsoft_msn_1.html


So that's profit of over 400% of investment... with a bit more 
investment in Windows technology, particularly in the area of 
reliability, the profit percentage might go down, but so might the bugs 
and security problems?  Seems like it would be a reasonable tradeoff. 
WalMart earnings are 3.4% of investment.





Re: [perl-win32-gui-users] Change menu text

2003-11-14 Thread Glenn Linderman
The \x26 is a hex escape for & which Windows uses to alert users to the 
menu selection key.


Why I used \x26 instead of just saying & in that particular example text 
string probably exceeds the bounds of your curiosity it has to do 
with other tools I use that scan the source code looking for &, and 
which aren't really smart enough at parsing Perl to figure out if an & 
is in a comment or a string or whatever.



On approximately 11/14/2003 6:34 AM, came the following characters from
the keyboard of Jonathan Southwick:



Thanks, that worked.  One question though, just because I am curious:

What does the 'x26' do?

Jonathan

At 11/13/2003  03:52 PM, Glenn Linderman wrote:


On approximately 11/13/2003 1:20 PM, came the following characters from
the keyboard of Jonathan Southwick:

Is it possible to change the text on a menu?  I want to change a menu 
item from "Refresh workgroups" to "Refresh clients" depending on what 
view they are currently at.  I am already keeping track of the view I 
just need to change the menu text.



  $m_config->{'sGetDataDir'}->Change( -text =>
"\x26reset data directory ($datadir)" );

Your menu object will be different than mine ($m_config), and your 
menu item will be different than mine (sGetDataDir), and the text you 
want to display will be different than mine ("\x26reset data directory 
($datadir)", but this should give you the idea.


--
Glenn -- http://nevcal.com/
===
Like almost everyone, I receive a lot of spam every day, much of it
offering to help me get out of debt or get rich quick.  It's ridiculous.
-- Bill Gates



---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
___
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users




Jonathan Southwick
[EMAIL PROTECTED]
Technical & Network Services
Allegheny College
Meadville, PA 16335
(814) 332-2755



---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
___
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users




--
Glenn -- http://nevcal.com/
===
Like almost everyone, I receive a lot of spam every day, much of it
offering to help me get out of debt or get rich quick.  It's ridiculous.
-- Bill Gates

And here is why it is ridiculous:
 The division that includes Windows posted an operating profit of $2.26 
 billion on revenue of $2.81 billion.
 --from Reuters via 
http://biz.yahoo.com/rc/031113/tech_microsoft_msn_1.html


So that's profit of over 400% of investment... with a bit more 
investment in Windows technology, particularly in the area of 
reliability, the profit percentage might go down, but so might the bugs 
and security problems?  Seems like it would be a reasonable tradeoff. 
WalMart earnings are 3.4% of investment.





Re: [perl-win32-gui-users] accelerator keys - now working

2003-11-14 Thread Erick Bourgeois
On Fri, 14 Nov 2003 08:53:30 +, "Jeremy White" <[EMAIL PROTECTED]> said:

> >>I would be more than willing to bring the files together and serve
> >>them up on jeb.ca
> 
> Erick, are you able to generate flat html files which could be included 
> automatically in new builds?

Jeremy, I seems redundant to create HTML files for the distro and have online 
ones.
I was under the impression that creating this documentation project, we would be
seperating the 2 and thus certain people could concentrate on that which they
want to contribute.

My site actually contains not one single HTML file, it is all stored in a DB, 
therefore creating the "flat" HTML files would require a little more work.
If people really want HTML with the src/binary, then I can arrange
something that will suck out all the docs on my site to flat files that could 
be added
to a top level directory in the src/binary package, for example, "docs".

Note: I added a "Print this page" image to the top right of the pages. Clicking 
this
image will open up that page minus all the extra stuff, like my logo, the main 
nav
and the crumb trail. These "printable" pages are almost identical to the current
documentation Aldo bundles in the src.

-- 
Erick