From: "gff gffg"
>
> Hi,
> I'm working on a project and i added the multilanguage support.
> Perl : (v5.12.2) MSWin32-x86 build 1203 294165,OS : Windows 7 x86,Installed
> languages in OS : English,Turkish
> How to display the unicode charset in Win32::GUI Label->Text?Example; added
> "russian l
Hi,
I have tried the following code:
my @files = Win32::GUI::GetOpenFileName(
-title => "Select the FLV files",
-directory => "$FindBin::Bin",
-filter => ["FLV files", "*.flv", "All files", "*.*"],
-defaultfilter => 0,
-filemustexist => 1,
-multisel => 1,
);
The program works fine if the user se
Hi Kevin,
I was asking this because all the standard controls which can be created with
Win32::GUI are accessible without doing anything special.
Octavian
- Original Message -
From: "Kevin Marshall"
To: "Octavian Rasnita"
Cc:
Sent: Saturday, August 28, 2010
Hi Kevin,
Congratulations for the program!
I have tested it with a screen reader and it works. I added the -dialogui => 1
option to the $winMain object to be able to use the keyboard for changing the
focus.
The only problem, which is an important one, is that if I arrow up or down in
the list
I thought only the main thread can be used to create GUI elements reliably.
Isn't that true?
Octavian
- Original Message -
From: "Perl Rob" <[EMAIL PROTECTED]>
To:
Sent: Thursday, November 06, 2008 6:52 PM
Subject: [perl-win32-gui-users] Threads
> Hi all,
>
>
>
> Am I susceptible to
You can call your program with a parameter and if the program sees that it
was called with that parameter, it could first execute some code then exit,
without reaching to the part where it creates the GUI.
Octavian
- Original Message -
From: "dwinkjr" <[EMAIL PROTECTED]>
To:
Sent: Wed
If I remember well, you need to use
\par
in the RTF document for specifying a new line.
Find and read the RTF specifications. It will help you to do more other
things.
Octavian
- Original Message -
From: "Raphael Stoeckli" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, November 05, 2008 10:
Hi,
Can you please tell me where from I can get Win32::GUI 1.06?
I have the Theoryx repository set in ppm, but the latest available version
is 1.03 there.
I have also tried to compile Win32::GUI using the cpan shell (I have VS6)
but as usually, it gave some compiling errors that I don't know ho
Thread safe or not, unlike a Win32::GUI object, a $dbh object can't be
shared among more threads.
Does anyone know why? Because of DBI, of DBD::mysql, or because a database
connection can't be shared among more threads, or something else?
Octavian
- Original Message -
From: "Charles Al
Hi,
How can I change the volume of a Media Player control used in a Win32::GUI
application?
(By code, of course)
Is it possible?
Thank you.
Octavian
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through
Hi,
I know that Win32::GUI doesn't support UTF-8 characters and maybe it won't
support it very soon, but is it possible to use characters in other european
languages in a Win32::GUI program?
I just want to use the charset ISO-8859-2 instead of ISO-8859-1, or... the
Windows1052/1050.
Is it pos
Hi,
Is it possible to display a Flash annimation in a window created with
Win32::GUI?
If yes, please tell me how. I think that it should be possible to do it
using Win32::GUI::AxWindow but I don't know what control name to use in
the -control option.
BTW, for other type of controls, where
rt May" <[EMAIL PROTECTED]>
To: "Octavian Rasnita" <[EMAIL PROTECTED]>
Cc:
Sent: Wednesday, June 20, 2007 10:05 PM
Subject: Re: [perl-win32-gui-users] creating a child window
On 20/06/07, Octavian Rasnita <[EMAIL PROTECTED]> wrote:
I have tried to create
ROTECTED]>
Hi,
have a look at the examples in your perl-lib-path.
j.
Original-Nachricht
Datum: Wed, 20 Jun 2007 15:34:03 +0300
Von: "Octavian Rasnita" <[EMAIL PROTECTED]>
An: perl-win32-gui-users@lists.sourceforge.net
Betreff: [perl-win32-gui-users] creating a
Hi,
I have tried to create a child window, but when I close it, the entire
application closes.
I open it with an option from the menu of the parent window that has
a -onClick => \&Config, and I returned 0 or 1 from the sub Config {}
subroutine, but the application still closes when closing t
Hi,
Where can we find details about all those constants?
(I hope not on MSDN. :-)
Thanks.
Octavian
- Original Message -
From: "Robert May" <[EMAIL PROTECTED]>
To: "Brian Rowlands (Greymouth High School)" <[EMAIL PROTECTED]>
Cc:
Sent: Tuesday, June 05, 2007 11:32 PM
Subject: Re: [per
Hi Sean,
Thank you for your help. I hope I will be able to do it.
Octavian
- Original Message -
From: "Sean Healy" <[EMAIL PROTECTED]>
To:
Sent: Sunday, April 22, 2007 7:08 PM
Subject: Re: [perl-win32-gui-users] Rich text field
I have already tried it, but I cannot store more than
From: "Jason Plum" <[EMAIL PROTECTED]>
Hi,
Yes, I believe it is quite possible, as unless I am mistaken, I have had
> 1MB loaded into a rich edit in one of my widely used programs.
The easy way to test it would simply be to create it, and load in > 200KB
of text from some file (or randomly e
Hi,
Is it possible to create a big Richtext field using Win32::GUI?
For example to hold more than 200 KB.
Thank you.
Octavian
I have not tried with Install Shield, but only with Null Soft installer
(which is free) and you can do this very simple.
You just need to put an "exec [program name]" in the configuration script,
and the installer will launch that program.
Of course you can close the installer while the progr
And one more thing that might be important for some users...
The programs created with Tk are not accessible for the blind computer users
at all, while the programs created with Win32::GUI are fully accessible for
screen readers.
Octavian
- Original Message -
From: <[EMAIL PROTECTED]>
To
I need to make a program that works always, no matter
the settings of Windows.
I think I will make a few tests with WXPerl, then maybe I will pass to C#
that surely works.
Octavian
- Original Message -
From: "Glenn Linderman" <[EMAIL PROTECTED]>
To: "Octavian
From: "Glenn Linderman" <[EMAIL PROTECTED]>
Yes, maybe, or no.
How often and it how many different places do you need to display
characters that don't get displayed properly?
I need to display those strings in many places, because I need to create
interfaces in romanian language. For examp
Ok, thanks for confirming what I thought.
Too bad that I will need to start using other libraries which are less
accessible.
Octavian
- Original Message -
From: "Glenn Linderman" <[EMAIL PROTECTED]>
To: "Octavian Rasnita" <[EMAIL PROTECTED]>
Cc:
Sent: W
So I modified Dan's code as below, and it almost works...
I got a blank window, until I initialized the label with a non-empty
string value... probably due to length calculations somewhere.
Unfortunately, only the first accented character retains it accent...
the other 3 do not. The other t
.
Octavian
- Original Message -
From: "Glenn Linderman" <[EMAIL PROTECTED]>
To: "Santeri Paavolainen" <[EMAIL PROTECTED]>
Cc: ; "Octavian Rasnita"
<[EMAIL PROTECTED]>
Sent: Tuesday, November 28, 2006 10:08 AM
Subject: Re: [perl-win32-gui-user
> >
> > Yes I also think that it should work. The big problem is that it already
> > works, but only on my computer. :-)
> > I have tested under Win 2k and Win XP and it works, but other users say
that
> > the special chars are not displayed correctly under their computers.
> >
> > Thank you for an
>
> OK. I was under the impression that Dan had had some success with the
> code he posted. I guess I misunderstood... by suggesting adding
> documentation links to the Win32::GUI documentation, I thought he'd
> found some clever way to bypass the limitations of Win32::GUI... which
> has been kno
> I can't actually help you here, off the top of my head, but it is an
> area that I am interested in. Have you noted Dan Dascalescu's post on
>
> Date: Sat, 18 Nov 2006 18:44:57 -0800
Hi,
Yes, I have also "talked" on private with Dan. He told me that he tried to
initialize some fonts, and to s
Hi,
I know that Win32::GUI doesn't support UTF-8, but can you tell me if it is
possible to display characters from other charsets than ISO-8859-1?
I want to create the menus, labels, and so on, using ISO-8859-2.
More specificly, I need to be able to print the following special chars:
staîâSTA
Hi,
I want to specify in a certain menu element that I want to right-align the
hotkey that can be used to activate that menu item, like:
CopyControl+C
Cut Control+X
Delete Control+D
Is it possible to do it with Win32::GUI in a better way than simply using
more spaces?
Thanks.
Teddy
Hi,
I have seen that the option -extensiondifferent of the GetSaveFileName
method doesn't have any effect, no matter if it is set to 0 or 1.
The user can choose any extension wants, and it is set instead of setting
the default extension.
The default extension is added to the file name only if the
Hi,
Can you tell me if I can find somewhere a sample code that shows how to
check/uncheck some menu items, and if it is possible to change the status
bar text when the user moves the mouse cursor through the menus?
Also, where can I find the list of events that can be handled for a Richedit
contr
Hi,
I want to create a RichEdit field that handles the keyboard and mouse
events, and other events (like ENM_LINK).
I have imported all the events I want using:
use Win32::GUI qw(MB_OK MB_YESNO MB_ICONEXCLAMATION MB_ICONHAND ENM_CHANGE
ENM_KEYEVENTS ENM_LINK ENM_MOUSEEVENTS ENM_SELCHANGE);
Then
Thank you very much for this code.
I will try to test it, although I am not sure that I know how to apply that
patch.
Teddy
- Original Message -
From: "Kind, Uwe (AGIS)" <[EMAIL PROTECTED]>
To:
Sent: Sunday, October 29, 2006 1:35 AM
Subject: Re: [perl-win32-gui-users] Combobox
> Hi Te
Hi,
Is the method UserData() thread safe?
Can it be used for associating some data with a certain window in a thread,
then read that data from another thread?
Thank you.
Teddy
Hi,
I want to create a combo box that has a visible edit box in which I can type
words, and a listbox that can be opened and that can hold the typed words
in.
And I want that each time when I type a part of a word, it should select the
first match from its list and copy it to the edit box.
I have
Hi,
I have seen that
if the window has the -dialogui => 1 and
if it contains a RichEdit field and
if the focus is in that RichEdit field and
if the user presses escape,
the window closes but the application doesn't finish.
I have tried to kill the application using control+C and control+break, and
Hi,
Can you tell me how can I set the wanted charset for a certain web page I
want to display in an AxWindow object?
I want to set it to UTF-8.
I have tried some ways, but they are not OK.
I have printed the html page into a temporary file with the .htm extension
then I have given the path to tha
Hi,
I want to remember the object that has the focus, so the next time the user
switches to the application, the focus is set to the last object that had
the focus when the application was put in the background (with alt+tab).
I don't know if I have used the right method, but here is what I've do
Hi,
I have installed Win32::GUI 1.04 using ppm, but the POD docs were not
installed.
How can I get the documentation for this version?
Should I copy it from the source, or there is a more elegant way?
Thanks.
Teddy
Congratulations for Win32::GUI 1.04 to all who have developed it. I have
just seen some improvements and they are great!
(Until now I have tested only some samples of AxWindow)
Teddy
Hi,
I have tried the test script below, and if I press enter on the text field,
the onKeyUp event is not handled at all.
If I press other keys, that event appears, but not if I press enter.
onKeyUp is handled, but I also need the onKeyUp event.
Is it a bug, or am I doing something wrong?
Thank
Hi,
I have a default button on a form that I want to be pressed when I hit enter
on a few controls like textfields and list boxes, but I don't want to be
press when hitting enter on a few other list boxes. In the case of those
controls, I want to be able to process their onClick event and not pres
u" <[EMAIL PROTECTED]>
To: "Octavian Rasnita" <[EMAIL PROTECTED]>
Cc:
Sent: Friday, October 13, 2006 2:47 AM
Subject: Re: [perl-win32-gui-users] printing UTF-8
> I built an application that displays UTF-8 successfully using
> Win32::GUI::RichEdit.
> As I'm not su
Hi Rob,
> Win32::GUI has almost no support for UTF-8/UCS-2. It's near the top of
> my list for a new Win32::GUI version, but will probably never happen on
> top of the current codebase. We'll have to see if I ever get time to
> look at a complete re-factoring or not.
>
> If you search the list a
Hi,
If Win32::GUI doesn't support UTF-8 but some controls in Windows supports it
(like the multiline textfield in Notepad), can I include those controls in a
Win32::GUI application using Win32::GUI::AxWindow module?
If yes, how can I find the class names of those controls?
In fact I am intereste
Hi,
Is it possible to print UTF-8 strings in a Win32::GUI application?
For example, printing a Win32::GUI::MessageBox window...
Thank you.
Teddy
From: "Robert May" <[EMAIL PROTECTED]>
> Do you have a multi-line edit control (Win32::GUI::Textfield) in the
> dialog? Does this symptom only occur when the textfield has focus?
>
> If so it's a known bug - I can generate a work around, let me know.
Hmm, strange! I was almost sure that this iss
Hi,
I have create a program using Win32::GUI and perlapp.
I have made the main window a "dialog" window for making it usable with a
keyboard, so if I press the escape key, the program closes.
Well, this is pretty ok, but the problem is that perl interpreter doesn't
always close, and after closin
Hi,
Can you send (to me or to the list) that sample?
Thank you.
Teddy
- Original Message -
From: "Chris Wearn" <[EMAIL PROTECTED]>
To: "'Steve Loughran'" <[EMAIL PROTECTED]>;
Sent: Friday, September 08, 2006 2:40 AM
Subject: Re: [perl-win32-gui-users] [win32-gui] precision timer event
From: "Robert May" <[EMAIL PROTECTED]>
> I've not used it in anger for a project, but equally I've not had any
> problems or had any problems reported. The 'experimental' label, is
> mainly because I know there are some additional things I want to
> complete, and the fact that there's no real doc
From: "Jeremy White" <[EMAIL PROTECTED]>
> >Is there a Win32::GUI::Scintilla that can work with Perl 5.8.8?
>
> Yes, version 1.8 - you'll have to build it from the sources (via VC or
> mingw) - if you can wait a little longer a new build should be round the
> corner.
Ok, thanks. I can try to co
Hi,
Will the new version of Win32::GUI::Scintilla be based on the latest version
of Scintilla?
I have seen that now Scintilla is very accessible for screen readers, but
the older version which is used on the actual version of
Win32::GUI::Scintilla is not accessible at all.
Thank you.
Teddy
Fro
Hi,
Sorry for my previous message because it was sent from a non-subscribed
email address, and only the admin probably received it. Here it is again:
I am using Perl 5.8.8 and I have installed Win::GUI::Scintilla using ppm:
Version: 1.7
Author: ROCHER Laurent (
[EMAIL PROTECTED])
Location: LRoc
Hi,
I am trying to create a program using Win32::GUI that uses more threads. A
few threads should connect to a server and download data permanently, and
other threads should updated some list views with that data
For doing this I need to use threads::shared and share some variables like
$Win and
Hi,
Please tell me what is the correct way of running another .exe program under
Windows from a program made using Win32::GUI.
For example I want to be able to press a button which opens a separate
program, but I don't want to maintain any relation between those 2 programs.
(Just like when the sec
for a certain operation (like sleep()?
Thanks.
Teddy
- Original Message -
From: "Plum, Jason" <[EMAIL PROTECTED]>
To: "Octavian Rasnita" <[EMAIL PROTECTED]>;
Sent: Wednesday, March 22, 2006 6:51 PM
Subject: RE: [perl-win32-gui-users] threads error
Increment
quot;, "t", MB_OK);
sleep 10;
}
}
Teddy
- Original Message -
From: "Plum, Jason" <[EMAIL PROTECTED]>
To: "Octavian Rasnita" <[EMAIL PROTECTED]>;
Sent: Wednesday, March 22, 2006 5:33 PM
Subject: RE: [perl-win32-gui-users] threads error
Ah...
You
From: "Jeremy White" <[EMAIL PROTECTED]>
> Odd - works for me - see attached image - what OS you using?
>
> I'm using 5.8.7 and Win32::GUI 1.03 (albeit built from CVS - but I can't
see
> that being the difference)
>
> Cheers,
>
I use Windows 2000. Here is the version of Win32::GUI::Coolbar:
Win3
Hi,
I have tried the following start of program:
use strict;
use threads;
use Win32::GUI;
use Win32::Internet;
use Compress::Zlib;
my $thread = threads->new(\&download);
###$thread->join();
$thread->detach();
my $exit;
$SIG{INT} = $SIG{BREAK} = $SIG{HUP} = sub {$exit++};
alarm(0);
my $Win = W
From: "Jeremy White" <[EMAIL PROTECTED]>
>
> >I have downloaded and tried the experimental Win32::GUI::Coolbar module
and
> >I have tested the included demo program, but it doesn't work. It gives
this
> >error:
> >
> >Can't find 'BTNS_SHOWTEXT' in package 'Win32::GUI::Coolmenu' used at
> >Coolbar.
Hi,
I have downloaded and tried the experimental Win32::GUI::Coolbar module and
I have tested the included demo program, but it doesn't work. It gives this
error:
Can't find 'BTNS_SHOWTEXT' in package 'Win32::GUI::Coolmenu' used at
Coolbar.pm line 178. at D:/usr/site/lib/Win32/GUI.pm line 450.
Hi,
Does anyone know why the system hangs with no reaction if I use
sleep 10;
in a Win_OnTimer subroutine?
It sleeps for 10 seconds, and I cannot even close the program in those 10
seconds.
Then the program works fine again until the timer runs again that function.
I want to use sleep() just
From: "Robert May" <[EMAIL PROTECTED]>
> Octavian Rasnita wrote:
> > I have tried to set an event handler -onLostFocus, but if the control
loses
> > the focus when the application closes (alt+F4), it gives the following
> > error:
> >
> > Can'
From: "Glenn Linderman" <[EMAIL PROTECTED]>
>
> didn't help either. I'm out of my depth here; given that this stuff
> doesn't work in the case you are trying (which I had never tried), but
> does work in other cases (like I use all over the place, and as above,
> for Test, I don't have any more i
From: "Glenn Linderman" <[EMAIL PROTECTED]>
> > Does anyone have an example of using the Change() method (or another
way)
> > for modifying the text that appears in the menus?
>
>$m_config->{'sGetDataDir'}->Change( -text =>
> "&reset data directory ($datadir)" );
>
> where $m_config is th
Hi,
Does anyone have an example of using the Change() method (or another way)
for modifying the text that appears in the menus?
I want to let the user change the language of the interface without needing
to restart the application, so I need rewriting the menus.
Perhaps it is possible to create m
Hi,
I want to create a part of a menu based on some settings from a
configuration file, so I want it to be created on runtime.
I want to have a menu item something like:
...
"> &Languages" => "Languages",
">> &English" => {-name => "english", -checked => 1, -onClick =>
\&change_interface('en')},
Hi,
I have tried to set an event handler -onLostFocus, but if the control loses
the focus when the application closes (alt+F4), it gives the following
error:
Can't call method "Text" on an undefined value at E:\lucru\agenda\agenda.pl
line 68 during global destruction.
How can I detect if the con
From: "Plum, Jason" <[EMAIL PROTECTED]>
> Remember, you're using perl. Technically speaking *anything* can be done
> :p
BTW, if "anything" can be done, I am interested if there is a way of
creating an mp3 player in perl that doesn't need another program for
communicating with the sound card. How
Are you asking? Of course it would be great to let us know.
Thank you very very much!
Teddy
- Original Message -
From: "Jeremy White" <[EMAIL PROTECTED]>
To:
Sent: Friday, February 17, 2006 6:25 PM
Subject: [perl-win32-gui-users] Using HTML help within A Win32-GUI app
> Hi,
>
> Would
Oh great!
Thank you very much. I have tried to find more about the -style options and
its new variants on Win32::GUI docs, but I couldn't. It seems that I need to
search in MSDN.
Teddy
- Original Message -
From: "Robert May" <[EMAIL PROTECTED]>
To: "Octavian
archive looking for an answer toa
problem they are having and actually find it :p
Jason P.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Octavian Rasnita
Sent: Thursday, December 29, 2005 6:36 AM
To: Octavian Rasnita; perl-win32-gui-users@lists.sourcef
Ok, I have finally solved the problem.
Teddy
- Original Message -
From: "Octavian Rasnita" <[EMAIL PROTECTED]>
To:
Sent: Thursday, December 29, 2005 12:57 PM
Subject: [perl-win32-gui-users] multiline Textfield
> Hi,
>
> I am trying to create a multiline textf
Hi,
I am trying to create a multiline textfield on a window that has
the -dialogui option set but the big problem is that I cannot move the focus
out of that window by pressing the tab key.
I have tried to use the onKeyDown, onKeyUp, onChar events and
GetKeyboardState method to trap the tab and s
Hi,
I have tried to store some data in a perl program under the
__DATA__
mark, then to read from there using:
while() {
...
}
The program works when I run it as a .pl file, but if I create a .exe file
using perlapp, it doesn't read anything from .
Is there something I can do to make it work?
Hi,
I have started using nem instead of oem just because it is "new" and I think
that it might be better and might have some advantages, but is there a
practical reason for using nem instead of oem?
Sometime I feel that OEM is better because requires less coding...
Thank you.
Teddy
Hi,
I need to use -dialogui option for a window in order to make it accessible
with the keyboard, but after doing this, I have a problem with multiline
Textfield boxes.
If I use that option, when pressing enter to put an end-of-line in the
multiline textfield, nothing happends.
The cursor remains
Hi,
I have seen that the multiline Textfield doesn't lose the focus when the tab
or shift+tab key are pressed, and I want to trap these keys in order to pass
the focus to other controls.
I have tried using:
$Win->AddTextfield(
#...
-onChar => \&tab,
);
sub tab {
my ($self, $k1, $k2) = @_;
if (
: "Glenn Linderman" <[EMAIL PROTECTED]>
To: "Octavian Rasnita" <[EMAIL PROTECTED]>
Cc:
Sent: Tuesday, December 27, 2005 01:52 AM
Subject: Re: [perl-win32-gui-users] a question about -style
> On approximately 12/26/2005 2:38 PM, came the following characters from
> t
Hi,
Can you tell me if (and where) I can find more about the -style property in
the Win32::GUI documentation?
Thank you.
Teddy
Hi,
Is it possible to define a -onClick event for a menu instead of creating an
Menu_Click function?
Thank you.
Teddy
Hi,
I have tried perldoc Win32::GUI::reference::Events but for most of them I
could read only "TBD".
Is there a way to find what events are fired when I press some keys on a
form control?
For example, I want to press enter on a Textfield and I want to get that
event and I would like to know if t
From: "Robert May" <[EMAIL PROTECTED]>
> > $Window->{dialogui} = 1;
>
> Please try to avoid accessing the object hash directly, it's bad
> practice. The ability to do this may well change in the future. Either
> set the value when you create the window with the '-dialogui' option or
> use the Dia
> As a special note: be sure to set the tab order when creating the contents
of your dialog considering its potential uses.
>
I am sure others will be able to help you further, so I will put myself back
to work (wish I spent more time coding @ work)
Also, it would be helpful for the screen readers
You need to read the content of that file with:
my $content;
{
local $/;
open(FILE, $file_path);
$content = ;
close FILE;
}
Then insert the $content in the Win32::GUI control you want.
Teddy
- Original Message -
From: "Mark Sutfin" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, August 03,
87 matches
Mail list logo