[perl-win32-gui-users] How to fix an image to a window ?

2002-02-20 Thread Guillem Cunillera Wefers
Hi, I'm doing a graphical inside a window, but when I move the window out the borders or when I put another window over the first, the image is cutted. I attach the module and I am sure that there is an easy solution. Thanks, package Mailtool::calculc; use Mailtool::msg; use Mailtool::acceswe

RE: [perl-win32-gui-users] How to fix an image to a window ?

2002-02-23 Thread Guillem Cunillera Wefers
at is to say, it redraw all the graphical every time that OS sends a WM_PAINT message to the window. There is another way to do it ? Excuses for my english if there are some mistake... Guillem Cunillera i Wefers >At 19:36 2002-02-20 +0100, Guillem Cunillera Wefers wrote: >>Hi, I'

[perl-win32-gui-users] How I have to separe the Win32::GUI between pm modules

2002-02-26 Thread Guillem Cunillera Wefers
I am doing a program with different perl modules(.pm) where everyone has his own Window and events, and it works fine. There are some events that call to the beggin procedure of another pm and I Include "return 0" after the call. Of course, I put the correct name for each window, such as-nam

RE: [perl-win32-gui-users] How I have to separe the Win32::GUI between pm module

2002-02-26 Thread Guillem Cunillera Wefers
Thank you for your attention, but these 2 possible problems doesn't appear in my program. I think I have a more basic problem. Let me present how I distribute in pseudocode, for a module that can easy be extended to more modules. --- module_a.pm --- # all window de

RE: [perl-win32-gui-users] How I have to separe the Win32::GUI between pmmodule

2002-02-26 Thread Guillem Cunillera Wefers
ou if you want to have a look. > >Cheers, > >Kev. > > > >|-+------------> >| | "Guillem Cunillera Wefers" | >| | <[EMAIL PROTECTED]>| >| | Sent by:

RE: [perl-win32-gui-users] How I have to separe the Win32::GUI between pm module

2002-02-26 Thread Guillem Cunillera Wefers
modules and placing it in the main >application, where it is called only once. Ok !! That's I really want, only one Win32::GUI::Dialog to prevent errors. Cheers Regards from Catalonia Guillem Cunillera Wefers

[perl-win32-gui-users] Waiting the user to continue the download of information from the web

2002-02-28 Thread Guillem Cunillera Wefers
Hello again, In my aplication I have to acces a lot of times to a web information, but I don't want to die my apllication if a non is_succes and I want to put a message error and waiting the answer of the user if he wants to insist or abort. I don't know if maybe yesterday I drunk too much but

RE: [perl-win32-gui-users] Waiting the user to continue the download of information from the web

2002-02-28 Thread Guillem Cunillera Wefers
answer me. Excuses. Guillem Cunillera i Wefers. -Mensaje original- De: Guillem Cunillera Wefers <[EMAIL PROTECTED]> Para: perl-win32-gui-users@lists.sourceforge.net Fecha: dijous, 28 / febrer / 2002 12:25 Asunto: [perl-win32-gui-users] Waiting the user to continue the downl

[perl-win32-gui-users] Waiting a result from a window

2002-03-01 Thread Guillem Cunillera Wefers
Yesterday, I resolve a question with the use of MessageBox, but now I am in similar circumstancies, and I can't use MessageBox. The question is: How is possible for a script to obtain a result that can be obtained from the user. That is to say, the script doesn't continue until the window return

[perl-win32-gui-users] Using a \t in a text of a treeview

2002-04-11 Thread Guillem Cunillera Wefers
Hi again, I'm using a TreeView and I would like to include a tab inside every branch to separate the text. $ref_bust->{Info}[$dinspos]{Arbre} = $TV->InsertItem( -parent=>$ref_assign->{Arbre}{$est_alu->{Nom}} , -text=>$ref_bust->{Nom}."\t".$ref_bust->{Info}[$dinspo

RE: [perl-win32-gui-users] Using a \t in a text of a treeview

2002-04-11 Thread Guillem Cunillera Wefers
ust->{Info}[$dinspos]{Ultimacces}", -image => 0, -selected => 0, -checkboxes => 0,); -Mensaje original- De: Guillem Cunillera Wefers <[EMAIL PROTECTED]> Para: perl-win32-gui-users@lists.sourceforge.net

RE: [perl-win32-gui-users] Using a \t in a text of a treeview

2002-04-12 Thread Guillem Cunillera Wefers
Ok, I tried before to make a monospaced font...but I didn't know how to do it.but now ...it works. I use Courier New font (a monospaced font) our $fo_fixa =Win32::GUI::Font->new (-bold => 0,-name=>"Courier New",-size=>13); and counting length. The tree: $TV = $w_tutor->AddTreeView(

[perl-win32-gui-users] Dinamic windows...

2002-04-15 Thread Guillem Cunillera Wefers
Maybe the subject is a litlle ambigous but... Well, in this case I'm an trying to create and use a set of Windows with the same behaviour, that's to say: $w_analisi{$est_alu->{Nom}} = Win32::GUI::Window->new ( -top => 0, -left => 0, -width => 600, -height=> 400, -minsize

RE: [perl-win32-gui-users] Dinamic windows...

2002-04-15 Thread Guillem Cunillera Wefers
I'm going to tryand...a lot of thanks again... Guillem Cunillera i Wefers -Mensaje original- De: Aldo Calpini <[EMAIL PROTECTED]> Para: Guillem Cunillera Wefers <[EMAIL PROTECTED]>; perlwin32gui Fecha: dilluns, 15 / abril / 2002 12:33 Asunto: Re: [perl-win32-g

RE: [perl-win32-gui-users] Dinamic windows...

2002-04-15 Thread Guillem Cunillera Wefers
Ok,now it worksafter changing $est->alu->{Nom} for other variable that doesn't contains any spaces Best regards from Catalonia Guillem Cunillera i Wefers -Mensaje original- De: Aldo Calpini <[EMAIL PROTECTED]> Para: Guillem Cunillera Wefers <[EMAIL PROTE

[perl-win32-gui-users] (no subject)

2002-04-16 Thread Guillem Cunillera Wefers
How can be force that one Window is always over an other ?, without having to disable the second one. I'm going to end my actual program in few days and I hope that few questions you will see Regards from Catalonia, Guillem Cunillera i Wefers

RE: [perl-win32-gui-users] (no subject)

2002-04-16 Thread Guillem Cunillera Wefers
-topmost is not good for me because I can't see for instance some DialogBox... >You could also use the Activate event of the window beneath to set the focus to >the window on top, but then you wouldn't be able to do anything in the >window beneath, which would defeat the purpose of not disabling i

RE: [perl-win32-gui-users] (no subject)

2002-04-16 Thread Guillem Cunillera Wefers
I have tried also: $w_analisi[$posdinsalu]->Show(); $w_analisi[$posdinsalu]->SetForegroundWindow(); $w_analisi[$posdinsalu]->BringWindowToTop(); but no results -Mensaje original- De: Guillem Cunillera Wefers <[EMAIL PROTECTED]> Para: perl-win32-gui-users@lists.

RE: [perl-win32-gui-users] (no subject)

2002-04-16 Thread Guillem Cunillera Wefers
RE: [perl-win32-gui-users] (no subject)It works ...but then DialogBox goes beneath my other Windows... Guillem Cunillera i Wefers. -Mensaje original- De: Peter Eisengrein <[EMAIL PROTECTED]> Para: 'Guillem Cunillera Wefers' <[EMAIL PROTECTED]>;

[perl-win32-gui-users] Vertical font ??

2002-04-16 Thread Guillem Cunillera Wefers
Does anybody created a vertical font with Win32::GUI ? Is possible ? Any kind of vertical font for me is good. thanks. Guillem Cunillera i Wefers.

RE: [perl-win32-gui-users] (no subject)

2002-04-16 Thread Guillem Cunillera Wefers
Well, firstly I'm very glad for all the indications that I receive from everybody.If it was possible I will pay a beer to everybody.or more than one in more than one case :) >$win->btnHide()->SetFocus(); #fails on run-time, btnHide? I'm going to include the event that is sorrounding my

[perl-win32-gui-users] Dinamic windows

2002-04-17 Thread Guillem Cunillera Wefers
Firstly...I put a subject on this e-mail. Well, I'm still having problems with my Tree_NodeClick event when this create some windows inside of it. This always go beneath the window which contains the TreeView.When ? This happens when the event ends (with return 0 / 1). Maybe the use of Tree

[perl-win32-gui-users] Testing fork() , because I want to download with lwp

2002-04-22 Thread Guillem Cunillera Wefers
I include this simple program because I want to download some web pages without losing the user interaction. How I have to change this code in order to avoid the error in the second click ? If someone have some example for doing this I will be very very happy ! ##Interfície gràfica pel Parsev70

[perl-win32-gui-users] Listview with columns in a pm module doesn't work

2002-04-26 Thread Guillem Cunillera Wefers
Today is one day that sometimes I feel I'm turning crazy I make a Listview in a simple program but when I put in my main program in a pm module ListView doesn't work (is don't show) and the complete name is done. This problem has not appear with other widgets...and before put a ListView th

[perl-win32-gui-users] Dc to the printer

2002-04-26 Thread Guillem Cunillera Wefers
Everybody knows some way to send a DC graphic to the printer ? I can accept taking all the Window. Thanks. Guillem Cunillera i Wefers

RE: [perl-win32-gui-users] Listview with columns in a pm module doesn't work --->Resolved

2002-04-26 Thread Guillem Cunillera Wefers
Well, in this case, I resolved my problem changing -style for -addstyle... Guillem -Mensaje original- De: Guillem Cunillera Wefers <[EMAIL PROTECTED]> Para: perlwin32gui Fecha: divendres, 26 / abril / 2002 17:40 Asunto: [perl-win32-gui-users] Listview with columns i

RE: [perl-win32-gui-users] Dc to the printer

2002-04-27 Thread Guillem Cunillera Wefers
Win32::GUI::DIBitmap ($DC,0, 0, 700, 570); $dibuix->SaveToFile("imatge.jpg",Win32::GUI::FIF_JPEG,Win32::GUI::JPEG_QUALITYGOOD); Thanks, Guillem Cunillera i Wefers -Mensaje original- De: Guillem Cunillera Wefers <[EMAIL PROTECTED]> Para: perlwin32gui Fecha: di

RE: [perl-win32-gui-users] Dc to the printer

2002-04-29 Thread Guillem Cunillera Wefers
I don't remember where I found this module, but I Included here if anyone wants to try to do something with it. This not use gui interface. The code that Darek Adamkiewics put in this list works correctly, this gui is done in order to select the Printer. Well, I have an image, I know the printer,

[perl-win32-gui-users] RichEdit in a pm module

2002-04-29 Thread Guillem Cunillera Wefers
In my program I want to put some helps windows. I thinked of using RichEdit in order to Include some rtf files, but when I used in a pm modules the var thats is used to created the RichEdit is don't recognised, for example: our $Textbox = new Win32::GUI::RichEdit($w_principal,-name => "Mailtool

RE: [perl-win32-gui-users] RichEdit in a pm module

2002-04-29 Thread Guillem Cunillera Wefers
TECTED]> Para: Guillem Cunillera Wefers <[EMAIL PROTECTED]>; [EMAIL PROTECTED] <[EMAIL PROTECTED]> Fecha: dilluns, 29 / abril / 2002 12:26 Asunto: Re: [perl-win32-gui-users] RichEdit in a pm module >Hello, > >do you use Win32::OLE in your script, too? I found some problems rega

RE: [perl-win32-gui-users] RichEdit in a pm module

2002-04-29 Thread Guillem Cunillera Wefers
Sean, I have tried different methods of use $Textbox var ,the same error appears, for example using Load: Can't call method "Load" on an undefined value at C:/Perl/lib/Mailtool/seleccio.pm line 48. I think Peter Köller is in the rigth way, because went I put out the different "use" in the modu

[perl-win32-gui-users] Is possible to modify LWP module in order to avoid a frozen window ?

2002-04-29 Thread Guillem Cunillera Wefers
Firstly thanks to Kevin in my problem of downloading web pages with LWP while Win32::GUI::Dialog is running. Maybe there is a solution using fork(), but this will implies a lot of changes of my code, and I don't have time to do it Another possibility I think is to modify LWP module in order

RE: [perl-win32-gui-users] Is possible to modify LWP module in order to avoid a frozen window ?

2002-04-29 Thread Guillem Cunillera Wefers
frozen window, but It works good. Thanks again ! -Mensaje original- De: Flame <[EMAIL PROTECTED]> Para: Guillem Cunillera Wefers <[EMAIL PROTECTED]> CC: perlwin32gui Fecha: dilluns, 29 / abril / 2002 21:01 Asunto: Re: [perl-win32-gui-users] Is possible to modify LWP module i

RE: [perl-win32-gui-users] Dc to the printer

2002-04-29 Thread Guillem Cunillera Wefers
t;[EMAIL PROTECTED]> Para: Guillem Cunillera Wefers <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] <[EMAIL PROTECTED]>; perlwin32gui Fecha: dimarts, 30 / abril / 2002 00:00 Asunto: RE: [perl-win32-gui-users] Dc to the printer > >postscript?.maybe? > &

[perl-win32-gui-users] How to clean a window from previous dinamic labels ?

2002-05-07 Thread Guillem Cunillera Wefers
I'm using a window which displays some information with labels, these are created inside a "while", but when i reuse the same window the labels are still there. I'm sure there is an easy way to delete a part of a window, but I don't know how to do it know. Thanks, Regards from Catalonia, Guill

[perl-win32-gui-users] Strange end of my program when I roll the wheel of my mouse while downloading information from the web

2002-05-17 Thread Guillem Cunillera Wefers
I use a great TreeView in a Window, and this window uses LWP to download information of the web, but when I roll the wheel of my mouse, the program ends suddenly !. It only happen when I am downloading information from the web, if not no ends success. More info: This window also uses progressba

RE: [perl-win32-gui-users] Strange end of my program when I roll the wheel of my mouse while downloading information from the web

2002-05-17 Thread Guillem Cunillera Wefers
ROTECTED]> Para: Perl-Win32-GUI-Users@lists.sourceforge.net Fecha: divendres, 17 / maig / 2002 11:37 Asunto: Re: [perl-win32-gui-users] Strange end of my program when I roll the wheel of my mouse while downloading information from the web >At 11:26 2002-05-17 +0200, Guillem Cunillera Wefers wr

RE: [perl-win32-gui-users] Strange end of my program when I roll the wheel of my mouse while downloading information from the web

2002-05-17 Thread Guillem Cunillera Wefers
e end of my program when I roll the wheel of my mouse while downloading information from the web >At 11:57 2002-05-17 +0200, Guillem Cunillera Wefers wrote: >>I only use the NodeClick, and it seems to go wrigth, but: >>- Some NodeClick events are send when I haven't done, for in

[perl-win32-gui-users] The correct way to put -addstyles in pm modules

2002-05-22 Thread Guillem Cunillera Wefers
I am testing my program in order to avoid the warnings of -w option. Firslty question: Is possible to avoid the continous warning which appears when the program call Win32::GUI::Dialog ? Second : Which is the correct way to reference the constant in .pm modules ? I find people who w

RE: [perl-win32-gui-users] smoothing of edges

2002-05-22 Thread Guillem Cunillera Wefers
Maybe is that or not that you want: If your intention is to group some widgets, the easy solution to feel "group sensation" is using a label with -etched option at the correct position around the widgets. For example: my $f3 =$w_dades->AddLabel( -frame=>etched, -foreground => [0, 0, 0

[perl-win32-gui-users] Change Window properties from external module

2002-06-05 Thread Guillem Cunillera Wefers
Hi again, In this case I would like to Disable a Window from a external module, I have declared a Window with "Our". package Mailtool::gethttp; our $WindowGet = Win32::GUI::Window->new ( ... Is this possible to change his properties externaly, I have tried thinks such as: package Mailtool::

RE: [perl-win32-gui-users] Change Window properties from external module : Don't read my last question, thanks

2002-06-05 Thread Guillem Cunillera Wefers
Don't read my last question. We are humans...and sometimes we do/make stupid errors :( Guillem -Mensaje original- De: Guillem Cunillera Wefers <[EMAIL PROTECTED]> Para: Perl-Win32-GUI-Users@lists.sourceforge.net Fecha: dimecres, 5 / juny / 2002 20:46 Asunto:

[perl-win32-gui-users] Changing a the topmost Window property

2002-06-10 Thread Guillem Cunillera Wefers
I would like to change the property "topmost" of a Window which is declared with -topmost =>1 I have tried this two sentences: $WindowVis->Change($WindowVis, -topmost =>0); $WindowVis->Change(-topmost =>0); but no results... What's wrong ? Guilem

Re: [perl-win32-gui-users] This group

2002-10-23 Thread Guillem Cunillera Wefers
There are some things that aren't excelent in this software group. But, if I take in consideration how the people of this group has helped me when I used Win32::GUI the only think that comes to my head is THANKS. Guillem Cunillera i Wefers Computer Engineer