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
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 ...;
>
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?
[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
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)
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
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
> 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
Hello,
has anyone a solution how to change toolbar button states on the fly?
Peter
> 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
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
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
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
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
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
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
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
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
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
>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)
> 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!
> 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:
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
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"
&
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
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
> ---
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
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
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
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
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
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 |
>
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
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
-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
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 =>
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
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
38 matches
Mail list logo