RE: Re[2]: [wxperl-users] Simple Messagebox . . . Take 2

-----Original Message-----
From:	Mattia Barbon [mailto:mbarbon@dsi.unive.it]
Sent:	Saturday, December 07, 2002 4:07 AM
To:	'DH'; 'wxperl-users@lists.sourceforge.net'; Everett, Toby
Subject:	Re[2]: [wxperl-users] Simple Messagebox . . . Take 2

> No, it is designed to be used as a modal dialog.
Given that, is there a way to ask for a feature to be added that would let
the programmer request that the dialog be brought to the foreground when
"ShowModal" is called?  I realize that this is probably more of a Wx feature
request than a wxPerl feature . . .  In my situation, I'm using Wx to throw
up GUI error messages from a script that normally doesn't have a GUI (it's a
shim for opening pipe-delimited files with Excel - it automatically starts
Excel, connects to it using Win32::OLE, and then uses Workbooks::OpenText to
open the file properly).  Normally it runs silently without a console window
as a result of the associations in HKEY_CLASSES_ROOT, but I needed a way to
throw up error messages, and this works.  Except that if the user switches
to another window while it's running, it pops up the error messages behind
everything else, and so they probably won't notice them (the only sign is an
entry on the TaskBar).  Thoughts?

--Toby Everett


0
TEverett
12/9/2002 8:46:05 PM
perl.wxperl.users 3070 articles. 0 followers. Follow

1 Replies
522 Views

Similar Articles

[PageSpeed] 7

On Mon, 9 Dec 2002 11:44:43 -0900  "Everett, Toby" <TEverett@ALASCOM.ATT.com> wrote:

> -----Original Message-----
> From:        Mattia Barbon [mailto:mbarbon@dsi.unive.it]
> Sent:        Saturday, December 07, 2002 4:07 AM
> To:        'DH'; 'wxperl-users@lists.sourceforge.net'; Everett, Toby
> Subject:        Re[2]: [wxperl-users] Simple Messagebox . . . Take 2
> 
> > No, it is designed to be used as a modal dialog.
> Given that, is there a way to ask for a feature to be added that would
> let
> the programmer request that the dialog be brought to the foreground when
> "ShowModal" is called?  I realize that this is probably more of a Wx
> feature
> request than a wxPerl feature 
  Yes, you should direct it to wx-users@lists.wxwindows.org

> . . .  In my situation, I'm using Wx to
> throw
> up GUI error messages from a script that normally doesn't have a GUI
> (it's a
> shim for opening pipe-delimited files with Excel - it automatically
> starts
> Excel, connects to it using Win32::OLE, and then uses
> Workbooks::OpenText to
> open the file properly).  Normally it runs silently without a console
> window
> as a result of the associations in HKEY_CLASSES_ROOT, but I needed a way
> to
> throw up error messages, and this works.  Except that if the user
> switches
> to another window while it's running, it pops up the error messages
> behind
> everything else, and so they probably won't notice them (the only sign
> is an
> entry on the TaskBar).  Thoughts?
  I can't remember how to do it, sorry. (I know this is a rahter useless response...)

Regards
Mattia


0
mbarbon
12/10/2002 9:19:33 PM
Reply:

Similar Artilces:

RE: [wxperl-users] Simple Messagebox . . . Take 2
-----Original Message----- From: DH [mailto:crazyinsomniac@yahoo.com] Sent: Friday, December 06, 2002 7:18 AM To: Everett, Toby; wxperl-users@lists.sourceforge.net Subject: Re: [wxperl-users] Simple Messagebox . . . Take 2 > I was going to suggest > > require Wx; > import Wx qw(:everything); > *Wx::App::OnInit = sub {1}; > my $app = Wx::App->new(); > my $dlg = Wx::MessageDialog->new(undef, $msg, $title, > wxOK|wxICON_INFORMATION); > > $dlg->SetFocus(); > $dlg->ShowModal(); > # $dlg->Show(1); > # ...

RE: [wxperl-users] Re: wxValidator available via wxPerl #2
Dear Mattia, Thanks - this works a treat! I was so close... Anyway, now I'm up and running. I had noticed the 'Attempt to free unreferenced...' error - will await a fix. Now that I've got things working, what do you suggest/would you like? I feel that validators are the way to go when it comes to transferring data to/from controls (rather than explicit GetValue/SetValue calls all over the place) - I have had to implement a similar concept (though not as elegant) in a very large Perl/Tk application which we have developed. I see that you think we should create...

RE: Re[2]: [wxperl-users] Wx::PreviewFrame issues #2
Hello, > Something that I have found ... I can do the following: > = > <snip> > package PrintingDemoControlBar; > use base 'Wx::PlPrevie= wControlBar'; > sub CreateButtons { > Wx::LogMessage( 'PrintingDe= moControlBar::CreateButtons' ); > shift->SUPER::CreateButtons; > = } > </snip> > > But the following: > > <snip> > package Printing= DemoPreviewFrame; > use base 'Wx::PlPreviewFrame'; > sub Initialize {= > shift->SUPER::Initialize( @_ ); ...

RE: Re[2]: [wxperl-users] Installation on FreeBSD 5.3 #2
Hello, > > > > Can anyone point me in the right direction? > > =0D = > > > Not without some more information... > > > what ExtUtils::MakeMa= ker version do you have? > > > > $VERSION =3D '6.17'; > > > > > Wh= at is the output of > > > make > > > > ./cpp/helpers.h:27: error: `wx= OutputStream' does not name a type > > ./cpp/helpers.h:37: error: expect= ed `,' or `...' before '*' token > > ./cpp/helpers.h:37: error: ISO C++ = forbids declarati...

RE: Re[4]: [wxperl-users] [OT, or maybe not?] wxPerl T-Shirt? #2
Extending this idea, we could have the ASCII art camel on a "green = screen". Then the graphical camel would be shown in three separate = windows below, one in each of the OS flavors (GTK, Win32, Mac OS X). --Toby Ovod-Everett -----Original Message----- From: Ovod-Everett, Toby=20 Sent: Monday, July 28, 2003 10:45 AM To: wxperl-users@lists.sourceforge.net Subject: RE: Re[4]: [wxperl-users] [OT, or maybe not?] wxPerl T-Shirt? What about an ASCII art camel on top (assuming O'Reilly gives a thumbs = up). Then a "use Wx;" Then a very n...

RE: [wxperl-users] Plans for wxPerl 0.23, wxWidgets 2.6.0 #2
Hello, > I tried to compile wxPerl CVS against 2.6.0 and I got the = errors as below. > > I am compiling on WinXP using MSVC6. Should this = work? Have others > successfully compiled? Yes, but with MSVC 5 and= GCC (various versions), not MSVC 6. Are you up to date with MSVC servic= e packs? > C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils/xsubpp = -noprototypes > -nolinen <snip> > Grid.c(390) : warning C4189: 'CLAS= S' : local variable is initialized but not > referenced > Grid.c(464) := fatal error C1001: INTERNA...

RE: [wxperl-users] Building wxPerl with wxWindows 2.3.1, and usingXML resources #2
Dear Mattia, Thanks for the info - I'm getting further! I've built xrc using: nmake -f makefile.vx FINAL=3D1 to create wxxrc.lib (rather than wxxrcd.lib), and this worked fine. However, when I try building wxPerl, using: nmake=20 perl Makefile.PL nmake=20 I get the following errors (I've snipped sections out to give the gist, as it goes on quite a bit): link -out:..\..\blib\arch\auto\Wx\XRC\XRC.dll -dll -nologo -nodefaultlib -release -libpath:"c:\perl\5.6.1\lib\MSWin32-x86-multi-thread\CORE" -machine:x86 XRC.obj ..\..\blib\arch\auto\Wx\Wx.lib C:\p...

Re: [wxperl-users] wxPerl on wxX11 ? #2
> --- John Ralls <jralls@ceridwen.fremont.ca.us> wrote: > > > > > On Jul 11, 2006, at 5:31 PM, Sergei Steshenko wrote: > > > > > Hello All, > > > > > > is it possible to compile wxPerl on wxX11 rather than on wxGTK ? > > > > > > If yes, will it be functional ? > > > > > > Thanks, > > > Sergei. > > > > If wxX11 works (which is to say, if you can build it and run some of = > > the samples), then wxPerl will work fine with it. wxPerl doesn't care= ...

RE: Re[2]: [wxperl-users] ToggleButton
Thank you. -----Original Message----- From: Mattia Barbon [mailto:mbarbon@dsi.unive.it] Sent: Tuesday, February 04, 2003 1:47 PM To: wxPerl users ML; Ismail Mutlu Subject: Re[2]: [wxperl-users] ToggleButton [ please keep replies on-list, thanks! ] On Tue, 4 Feb 2003 13:36:53 -0800 Ismail Mutlu <imutlu@pechanga.com> = wrote: > Hi Mattia, >=20 > Please bear with me as I am new to both wxPErl and OO, but here is = what > I am doing. Well, after looking at the code, you are right, and I am wrong: = GetValue isn't (and can't be inherited). I w...

Re:[wxperl-users] wxPerl-0.20 Source Build on OSX.3.5/wxPython 2.5.2.7
> I've just built wxPerl 0.20 as indicated in the subject, and I had a =0D = > few issues: > > First, the syntax for wx-config used in > Any_wx_c= onfig.pm::get_core_libs_25 seems to have changed: Instead of > "--libs=3D= list" it's now "--libs list". yes, it was changes in wxWidgets CVS l= ast week. > Next, Makemaker is building the root Makefile with both b= libdirs: and Which MakeMaker version? If 6.22, downgrade to 6.17 or= use the snapshot at makemaker.org. > blibdirs::. That produces an = error. Cha...

Re: [wxperl-users] wxPerl-0.20 Source Build on OSX.3.5/wxPython 2.5.2.7
> MakeMaker 6.21. Sorry. Below I meant to write: "If 6.21, downgrad= e to 6.17 or use the snapshot at makemaker.org." ^^^^ Regards=0D = Mattia > On Aug 18, 2004, at 11:56 PM, mattia.barbon@libero.it wrote:=0D = > ''' > >> Next, Makemaker is building the root Makefile with both blibd= irs: and > > > > Which MakeMaker version? If 6.22, downgrade to 6.17 = or > > use the snapshot at makemaker.org. > > > ... > > Thanks! > > = Mattia > > > > > > > > > &g...

Re: [wxperl-users] Re: wxperl
yes !! its really time to help more mattia. things i could offer are beside bug reports is to help to buil a better brwosable doku, this is one of my long time wish so are so. herbert "Graciliano M. P." <gmpowers@terra.com.br> schrieb am 11.12.04 03:29:27: > > > hey all, > > > > I just tried downloading the cvs snapshot, Wx-0.20, Wx-0.19, and Wx-0.18 > > and trying to install them on solaris (without luck). I tried both > wxAll-2.4.2 > > and wxWidgets-2.5.3. > > > > Furthermore, I went to the wikis for more in...

RE: [wxperl-users] Using wxConfig in wxPerl #2
Mattia, Thanks - will await the next build/release. James > -----Original Message----- > From: Mattia Barbon [mailto:mbarbon@dsi.unive.it] > Sent: 11 December 2001 14:26 > To: James Lavery > Cc: wxperl-users@lists.sourceforge.net > Subject: RE: [wxperl-users] Using wxConfig in wxPerl >=20 >=20 > > Dear Mattia, > > I don't think there is a Wx::Config, either (at least, not on my > > machine)! =20 > Well, you are right ( and why was I so sure I had wrapped > wxConfig? ); Now in the todo for the next version. >=20 > &g...

RE: [wxperl-users] New wxPerl beta #2
> >I couldn't use your binaries since I need Wx::ActiveX. So I=20 > built Wx::ActiveX outside the wxPerl core. > > That was quite easy with your Wx::Sample::XS sample. I=20 > needed a copy of > > the main cpp/typedef.h. Did I do something wrong or is this=20 > something > > that should be included in Wx/build? > Graciliano has a new Wx::ActiveX that builds flawlessly with the new > wxPerl (and does not need cpp/typdef.h). cpp/typedef.h is not needed > anymore, and no new code should be using it. Great, are the gcc patches integrated? ...

Web resources about - RE: Re[2]: [wxperl-users] Simple Messagebox . . . Take 2 - perl.wxperl.users

O'Reilly Open Source Convention 2007 • July 23-27, 2007 • Portland, Oregon
O'Reilly Open Source Convention 2007 - July 23-27, 2007 - Portland, Oregon

Resources last updated: 1/13/2016 11:58:44 PM