[perl-win32-gui-users] Model-View-Controller (MVC) with Win32::GUI?

2001-05-06 Thread Peter Köller
Hello, has anyone an approach how to use Win32::GUI with the Model-View-Controller (MVC) principle? Or if that would be impossible: What would be the best way to separate business code and gui? Sincerely Peter

Re: [perl-win32-gui-users] Win32::GUI::Icon and Win32::Console - an icon for a console

2001-05-16 Thread Peter Köller
Johan Lindstrom wrote: > Jeremy Aiyadurai wrote: > >how do i get an icon to work for a console window...eg. i want to get rid > >of the console-window-dos-prompt icon when i run my console program. > > Untested, but try something like this: > > my $icoDOS = ... create your icon object here ...; >

[perl-win32-gui-users] What are the parameters in the Toolbar::AddButtons for?

2001-05-16 Thread Peter Köller
Hello, has anyone an idea of the parameters in the ToolBar::AddButtons method? The example toolbar.pl does the following: $TB->AddButtons( 3, 0, 1, 4, 0, 0, 1, 2, 4, 0, 1, 2, 3, 4, 0, 2, ); What is the meaning of the parameters and is it possible to make toolbar items disabled?

Re: [perl-win32-gui-users] What are the parameters in the Toolbar::AddButtons for?

2001-05-16 Thread Peter Köller
[EMAIL PROTECTED] wrote: > A long time ago, I went through and figured this out. Luckily, I > saved the results as a comment in my toolbar.pl file. Thanks for the comment. This was a great help! > I'm sure it must be > possible to disable toolbar buttins on the fly, but I don't know how > (perha

[perl-win32-gui-users] Changing visibility problem with buttons

2001-05-17 Thread Peter Köller
Hello, I am writing a calendar dialog having lots of buttons. For some reason I have to make some buttons visible or invisible. Therefore I use the Change method with -visible => 1 or 0. If I do that after $win->Show(), then the buttons don't disappear. I tried $win->DoEvents(), $win->SetRedraw(1)

Re: [perl-win32-gui-users] Changing visibility problem with buttons

2001-05-17 Thread Peter Köller
Piske, Harald wrote: > The -visible option is only for the initial state, subsequent showing and > hiding is done with Show and Hide ... erm, pardon my confusion, but what's > the problem? If you found Show and Hide to be working, what more do you > need? Thank you. This does the job perfect. No

[perl-win32-gui-users] Changing items in a ListView with columns?

2001-05-30 Thread Peter Köller
Hello, I don't know if this has been asked before. Sorry, if there is already a solution. How can items, especially single columns of an item in a ListView be changed, without removing and re-inserting the whole item? Thanks in advance, Peter

[perl-win32-gui-users] Re: Changing items in a ListView with columns?

2001-06-01 Thread Peter Köller
> How can items, especially single columns of an item in a ListView > be changed, without removing and re-inserting the whole item? Now I am able to give the answer to my own question I asked some days ago :-) $win->listview->ChangeItem(-item => $index, -subitem => 1, -text => 'Foo'); Peter

[perl-win32-gui-users] Changing the states of toolbar buttons?

2001-06-02 Thread Peter Köller
Hello, has anyone a solution how to change toolbar button states on the fly? Peter

Win32::GUI::Modalizer (was Re: [perl-win32-gui-users] wait for user input)

2001-07-17 Thread Peter Köller
> If you can't get it to work, try the Win32::GUI::Modalizer module at: > > http://www.bahnhof.se/~johanl/perl/Win32GUI/ > > It does what you want, although in a sligthly different way. I've had > reports of it not working 100% properly under Win95, so if anyone using > that platform would care

Re: Win32::GUI::Modalizer (was Re: [perl-win32-gui-users] wait for user input)

2001-07-17 Thread Peter Köller
Johan wrote: > In what way? Did it just not make the window modal? Or did it > freeze/crash > anything? > I have never experienced this first hand myself, so... :) First: Am I right when I think that you use the Win32::GUI::Modalizer in Oasis to make dialogs modal? Then it is the problem I menti

Re: Win32::GUI::Modalizer (was Re: [perl-win32-gui-users] wait for user input)

2001-07-17 Thread Peter Köller
Johan wrote: > don't have access to :) A guess is that the Deactivate or Activate event > is triggered differently on Win98 than on NT. Perhaps, I don't know. > /J - thinking of how to implement a "real" modal dialog using Inline::CPP > (it should be doable) I would like a real modal dialog pac

[perl-win32-gui-users] Searching testers for Win32-GUI Application

2001-07-26 Thread Peter Köller
Hello, I am searching for people who are interested in testing a Win32-GUI app. It is an german application which manages ebay auctions from german ebay - a little workflow managment system. It does the following: - collecting auction emails from ebay through Microsoft Outlook 98 - displaying fi

[perl-win32-gui-users] Label Bugs?

2001-07-29 Thread Peter Köller
Hello, are the two following problems with labels well known? 1. If ..->AddLabel is called with no -text value pair or with an empty -text value, then ...->Change(-text => "...") won't change the Label text. 2. If -align is specified, then the background color specified by -background will be ig

[perl-win32-gui-users] Window without border and icons for a splash screen?

2001-08-01 Thread Peter Köller
Hello Win32-GUI users, is there a solution for creating splash screens without the windows border and icons (e. g. like Opera). Thanks in advance, Peter

Re: [perl-win32-gui-users] Window without border and icons for a splash screen?

2001-08-06 Thread Peter Köller
Great work, Johan! This did the trick. Thanks, Peter > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Auftrag von > Johan Lindstrom > Gesendet am: Sonntag, 5. August 2001 23:00 > An: perl-win32-gui-users@lists.sourceforge.net > Betreff: Re: [perl-win32-gu

[perl-win32-gui-users] Win32::GUI Application with Win32::OLE (Outlook) problem!

2001-08-15 Thread Peter Köller
Hello, I have written an application with Win32::GUI which connects to Microsoft Outlook using Win32::OLE. It gets the mails from the inbox and displays them. All works fine if Outlook is open, bevor my script connects to Outlook. But there is a problem, if Outlook is not open: The sub which ret

[perl-win32-gui-users] Success: Disabling or Enabling Toolbar Buttons

2001-08-17 Thread Peter Köller
Hello, perhaps there are other people interested in disabling and later enabling Toolbar Buttons. Now I have found a solution: Send with SendMessage the message TB_ENABLEBUTTON (0x0401) and 0 or 1 Example: # TB_ENABLEBUTTON, button number (the same that will be passed to the _Click event), 0/1

[perl-win32-gui-users] Win32::GUI with Win32::OLE and RichEdit PROBLEM

2001-08-18 Thread Peter Köller
Hello! When using Win32::OLE and a Win32::GUI RichEdit, I get an "Can't locate auto/al" error. I have searched through the mailing list and found the following: -- [EMAIL PROTECTED] wrote: > Has anyone tried using the GUI module with imported > OLE contants? I'm finding that if I try to

RE: [perl-win32-gui-users] Single select in listview?

2001-10-11 Thread Peter Köller
>How can I make a listview control where the user can only select one item at a time? -singlesel => 1 Peter http://sourceforge.net/projects/auctioneer/ (Win32::GUI App for Auctions on the German eBay Marketplace)

RE: [perl-win32-gui-users] ACK!! Sputter Cough... say it isn't so!

2001-11-04 Thread Peter Köller
> Tonight I really started to build a serious heavy-duty Win32::GUI > application, and I immediately hit a wall: I had no problems with "use strict" (you can have a look at my source code http://sourceforge.net/projects/auctioneer/) But I hit a wall with Win32::GUI in connection with Win32::OLE!

RE: [perl-win32-gui-users] Drag-n-Drop?

2001-11-04 Thread Peter Köller
> But a Win32::GUI 0.0.559 with DnD-support would be nice. Aldo? First, I would appreciate a Win32::GUI which works with Win32::OLE ;-) Aldo? Peter > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > Johan Lindstrom > Sent: Sunday, November 04, 2001 4:

RE: [perl-win32-gui-users] GUI & OLE (WAS: Drag-n-Drop?)

2001-11-04 Thread Peter Köller
t to Outlook >my $Outlook = Win32::OLE->new('Outlook.Application', ''); > ># Connect to active session & Get subject of first message >my $namespace = $Outlook->GetNamespace("MAPI"); >my $folder = $namespace->GetDefaultFold

RE: [perl-win32-gui-users] GUI & OLE

2001-11-10 Thread Peter Köller
ode on his own. A big project for just one > person I'd say. Anyone sufficiently competent with XS to lend a hand? > Sadly, my attempts at XS haven't got me very far. > > Kev. > > > > > > "Peter Köller" &

[perl-win32-gui-users] Multiple lines in ListView and how to initalize ListViews checkboxes

2001-12-28 Thread Peter Köller
Hello, 1. I think nobody had tried before to use items in ListViews that have multiple lines? Anyone else who wanted items with linebreaks and solved that? 2. I remember that there was a question for "How to make the initial state in checkboxes?" Is there a solution? I wish a happy new year 2002

AW: [perl-win32-gui-users] win32-gui and perl2exe

2002-01-25 Thread Peter Köller
Hello! > Does anyone have any success creating free standing .exe files from > Win32::gui scripts using > either perl2exe? Yes, here is my work. Perl2Exe works. The sourcecode is distributed, too. So you can have a look at that. http://sourceforge.net/projects/auctioneer/ Regards, Peter > ---

Re: [perl-win32-gui-users] test

2002-02-08 Thread Peter Köller
Hallo Aldo! > if you read this, please can you reply to my mail ([EMAIL PROTECTED]) to > ensure that everything is fine? It work's. But I am still looking for a Win32::GUI Version with working checkboxes (ItemCheck) in ListViews and no side effects with Win32::OLE :-) Will there be an updated r

[perl-win32-gui-users] Tooltip Feature and Win32::GUI thoughts

2002-02-18 Thread Peter Köller
Hello all Win32::GUI Users! Yes, I would like the Tooltip Feature, too. But, I think bug fixes are more interesting. I am working on a big Win32::GUI app and stepped into some serious bugs. I spend more time looking for Win32::GUI workarounds than for the app development. This isn't productive an

Re: [perl-win32-gui-users] Re: Tooltip Feature and Win32::GUI thoughts

2002-02-19 Thread Peter Köller
cumented features I can help you with that I received from > Aldo thru direct communication with him back then. I'll try to > help anyway. > > Eric > Dallas, Texas USA > > >>> "Peter Köller" <[EMAIL PROTECTED]> 02/19/02 12:57AM >>> > Hell

[perl-win32-gui-users] Re: ListView Checkboxes Workaround

2002-02-21 Thread Peter Köller
Hello Eric and Paul! First I want to say thank you to Eric for his creative idea. I am sure, that I would have used his workaround, if there wasn't Paul. A great idea Eric!!! But Paul mailed his solution and this is straight forward, so I used it. It works, too! Thank you both, Peter

Re: [perl-win32-gui-users] ActivePerl 5.6.1 build 631 with Win32-GUI 0.0.558

2002-02-23 Thread Peter Köller
Hello Eric, I have a solution: Try to insert the magic spell "-style => WS_CHILD | WS_VISIBLE | 1" in the AddListView. This worked for me. Peter > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Auftrag von > Eric Hansen > Gesendet am: Freitag, 22. Februar

Re: [perl-win32-gui-users] ActivePerl 5.6.1 build 631 withWin32-GUI 0.0.558

2002-02-25 Thread Peter Köller
as of 1 year ago, the last time I upgraded. I had no > problems then. > > Eric > > > >>> "Peter Köller" <[EMAIL PROTECTED]> 02/23/02 02:05AM >>> > Hello Eric, > > I have a solution: Try to insert the magic spell "-style => WS_CHILD | >

Re: [perl-win32-gui-users] Tabbing between controls

2002-04-26 Thread Peter Köller
Hello! Yes, "tabstop => 1" only works with windows. But why? Isn't it reasonable to use it with both? I use dialogs to get rid of icons in the taskbar for every child window. Or should I upgrade from 558 to 665? (By the way: What's about real modal dialogs with 665?) Regards, Peter > -Ur

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

2002-04-29 Thread Peter Köller
Hello! > 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. Perhaps you found it there: http://tmtowtdi.com/ :-) I did a search with google. Regards, Peter > -Ursprüngliche Nachricht- > Von: [EMA

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

2002-04-29 Thread Peter Köller
-users] RichEdit in a pm module > > Yes , in others pm modules I use Win32::OLE. Then, there is any other > primitive(?) than "use" in Perl that resolves this problem ? > > As are you see...the problem could be Win32::OLE and no the pm module. > > Regards, > &g

[perl-win32-gui-users] Problems with TabStrip

2002-09-29 Thread Peter Köller
Hello, I have problems using Win32::GUI 0.0.665 and TabStrip "Change" events. If I click 12 times between two of my tab strips I get this error: "panic: corrupt saved stack index at xyz" In the line number xyz is "Win32::GUI::Dialog()" I use AddTabStrip like this -events =>

RE: [perl-win32-gui-users] printer support

2002-10-26 Thread Peter Köller
Hello! >http://cpan.org/modules/by-category/22_Microsoft_Windows_Modules/Win32/IFROL/ Great! Is there a ppm-distribution available, too? Regards, Peter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Darek Adamkiewicz Sent: Saturday, October 26, 2002 4:1

[perl-win32-gui-users] Development activity and strange issues

2003-01-08 Thread Peter Köller
Hello list, first of all I wish a good new year to all! And now some questions :-) 1) I tried to port my app to the new event model, but not all events were thrown (e. g. I think click on StatusBar was not fired). So I gave up. 2) I read that mixing the old and new event model would be possible