RE: [perl-win32-gui-users] Docs (List of missing desired widgets)

2003-06-18 Thread Burak Gürsoy
thanks for the info :)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Johan
Lindstrom
Sent: Wednesday, June 18, 2003 12:42 AM
To: perl-win32-gui-users@lists.sourceforge.net
Subject: RE: [perl-win32-gui-users] Docs (List of missing desired widgets)


At 22:33 2003-06-17 +0300, Burak Gürsoy wrote:
>maybe a silly question, but... what is a "wiki"?

Basically a web site that anyone (yes anyone) can edit and contribute to.
It usually has a very simple markup language. These two things together
makes it something very special.

The original:
http://c2.com/cgi/wiki


/J

 --  --- -- --  --  -- -  - -
Johan LindströmSourcerer @ Boss Casinos [EMAIL PROTECTED]

Latest bookmark: "Hacking and Refactoring"
http://www.artima.com/weblogs/viewpost.jsp?thread=5342
dmoz (1 of 23): /Computers/Hacking/Ethics/ 43




---
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
___
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users




Re: [perl-win32-gui-users] Docs (List of missing desired widgets)

2003-06-18 Thread Erick Bourgeois
On Tue, 17 Jun 2003 23:41:41 +0200, Johan Lindstrom <[EMAIL PROTECTED]> said:

> Basically a web site that anyone (yes anyone) can edit and contribute to. 
> It usually has a very simple markup language. These two things together 
> makes it something very special.

I am in the process of using WebGUI to construct the Win32::GUI Documentation
section to my site. Allowing people to edit the documentation would be trivial,
but I believe that it would be quite a security risk in allowing anyone
to edit the documentation. So I can give certain users permission to edit them.

erick



[perl-win32-gui-users] extract icons from shell32.dll and use it in image list

2003-06-18 Thread sam . dela . cruz
Hi Win32 GUI Experts,

This is in connection with Alex Lee's postings last year about 
Win32::GUI::DIBitmap.  I tried doing the following, but it doesn't work. 
Was there any solution for this one?

my $A = 0;
my $B = 'shimgvw.dll';
my $apiExecute = new Win32::API("Shell32", "ExtractIcon", 
['P','P','N'],'N');
my $hIcon= $apiExecute->Call($A,$B,1);
use Win32::GUI::DIBitmap;
my $dib = newFromBitmap Win32::GUI::DIBitmap($hIcon) or die "no $!";
$hbitmap = $dib->ConvertToBitmap();
$IL = new GUI::ImageList(16, 16, 24, 3, 10);
$IL->Add("folder.bmp");
$IL->Add($hbitmap);

There is this small utility that I'm gonna send to my users network wide, 
but I don't want to send it together with a bunch of bmp files.  So, I 
wanted to use the Windows icon stock in Shell32.dll to dynamically create 
the images.  Is there any other way of doing this?  Or perhaps, it is 
possible to include the bmp files in the executables using PDK4, PerlApp 
utility?


Thanks and Regards,
Sam Dela Cruz




Re: [perl-win32-gui-users] extract icons from shell32.dll and use it in image list

2003-06-18 Thread Jeremy White

You could try Win32::GUI::BitmapInline, from the docs:

This module can be used to "inline" a bitmap file in your script, so
that it doesn't need to be accompained by several external files
(less hassle when you need to redistribute your script or move it
to another location).

cheers,

jez.

From: [EMAIL PROTECTED]
To: perl-win32-gui-users@lists.sourceforge.net
Subject: [perl-win32-gui-users] extract icons from shell32.dll and use it 
in image list

Date: Wed, 18 Jun 2003 10:44:51 -0700

Hi Win32 GUI Experts,

This is in connection with Alex Lee's postings last year about
Win32::GUI::DIBitmap.  I tried doing the following, but it doesn't work.
Was there any solution for this one?

my $A = 0;
my $B = 'shimgvw.dll';
my $apiExecute = new Win32::API("Shell32", "ExtractIcon",
['P','P','N'],'N');
my $hIcon= $apiExecute->Call($A,$B,1);
use Win32::GUI::DIBitmap;
my $dib = newFromBitmap Win32::GUI::DIBitmap($hIcon) or die "no $!";
$hbitmap = $dib->ConvertToBitmap();
$IL = new GUI::ImageList(16, 16, 24, 3, 10);
$IL->Add("folder.bmp");
$IL->Add($hbitmap);

There is this small utility that I'm gonna send to my users network wide,
but I don't want to send it together with a bunch of bmp files.  So, I
wanted to use the Windows icon stock in Shell32.dll to dynamically create
the images.  Is there any other way of doing this?  Or perhaps, it is
possible to include the bmp files in the executables using PDK4, PerlApp
utility?


Thanks and Regards,
Sam Dela Cruz



---
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
___
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users


_
Sign-up for a FREE BT Broadband connection today! 
http://www.msn.co.uk/specials/btbroadband





Re: [perl-win32-gui-users] extract icons from shell32.dll and use it in image list

2003-06-18 Thread sam . dela . cruz
Win32::GUI::BitmapInline worked really well.  Thanks!

Regards,
Sam Dela Cruz


You could try Win32::GUI::BitmapInline, from the docs:

This module can be used to "inline" a bitmap file in your script, so
that it doesn't need to be accompained by several external files
(less hassle when you need to redistribute your script or move it
to another location).

cheers,

jez.
>From: [EMAIL PROTECTED]
>To: perl-win32-gui-users@lists.sourceforge.net
>Subject: [perl-win32-gui-users] extract icons from shell32.dll and use it 

>in image list
>Date: Wed, 18 Jun 2003 10:44:51 -0700
>
>Hi Win32 GUI Experts,
>
>This is in connection with Alex Lee's postings last year about
>Win32::GUI::DIBitmap.  I tried doing the following, but it doesn't work.
>Was there any solution for this one?
>
>my $A = 0;
>my $B = 'shimgvw.dll';
>my $apiExecute = new Win32::API("Shell32", "ExtractIcon",
>['P','P','N'],'N');
>my $hIcon= $apiExecute->Call($A,$B,1);
>use Win32::GUI::DIBitmap;
>my $dib = newFromBitmap Win32::GUI::DIBitmap($hIcon) or die "no $!";
>$hbitmap = $dib->ConvertToBitmap();
>$IL = new GUI::ImageList(16, 16, 24, 3, 10);
>$IL->Add("folder.bmp");
>$IL->Add($hbitmap);
>
>There is this small utility that I'm gonna send to my users network wide,
>but I don't want to send it together with a bunch of bmp files.  So, I
>wanted to use the Windows icon stock in Shell32.dll to dynamically create
>the images.  Is there any other way of doing this?  Or perhaps, it is
>possible to include the bmp files in the executables using PDK4, PerlApp
>utility?
>
>
>Thanks and Regards,
>Sam Dela Cruz



[perl-win32-gui-users] Refreshing ListView with updated data?

2003-06-18 Thread tivolinewbie
I am having problems with updating a listview.  It
seems everytime I do a $LV->Hide and subsequently do a
$LV->Show the thing act weird.  It appears to put in a
bunch of new columns headings as a result.  That is
column headings without any data underneath.

The way I am doing it is, I create a AddTabStrip and on
the first tabstrip, I place a Listview.  On the second
tabstrip I do other stuffs.  So technically I can
switch between the two tabs and the refresh should be
done properly.  Well, if I go to tab 2 and then switch
back to tab one where Listview object is.  The listview
seems to duplicate set of the existing columns.  Any
ideas?  Better still any got sample code of listview
Show and then Hide and Show and Hide working properly?



[perl-win32-gui-users] Multiple colours in a Listview items?

2003-06-18 Thread tivolinewbie
WOuld it be possible to have different colour inside a
listview items?  Lets say I displayed 30 rows of items
ina  list view, and wanted to have alternative rows to
have different colours instead of one colour.  How
would I go about doing this?

By the way what is the strategy for updating a
listview?  Suppose my listview is the report of a
database table.  When the database itself updates, I
would like to be able to refresh the listview.  My
attempts so far has resulted in new blank columns
appearing on the right handside.  Seems that it is
putting in repeting column with headings only and no
data.  Any help is appreciated.