The following two lines should solve the problem if $textfield was
created with the option -multiline => 1 or the ES_MULTILINE-Style:
$text =~ s/\n/\r\n/g;
$textfield -> Text ( $text );
Regards,
Uwe.
> Hello!
>
> I chose to populate a Textfield with a simple text file created with
> notepad.
> Hello, perl-win32-gui-users,
>
> Anybody knows if it's possible to display a background bitmap image in a
> MDIFrame? If it's possible, I will appreciate a short example .
>
> I'm using de MDI.pl example (Win32-GUI examples) for test.
>
> Thanks!
One possibility is to add a Label with a
Hello perl-win32-gui-users,
I'm trying to change the TextColor of a Coolmenu on _Deactivate and
_Activate of the parent-window to emulate the original IE behaviour.
In my understanding of the MSDN-documentation a Toolbar-Control,
receiving a NM_CUSTOMDRAW-notification, should behave in exactly the
Hello Сергей,
in which way is the the Win32::GUI::Icon-Object created?
If it is extracted from an ImageList using GetIcon try a value
of 25 for the Flags-Option on creation of the Imagelist and
set an Mask when adding the Bitmap.
1. All standard .ico-Files (16x16, 32x32, 256 colors) should do
2
Hi jez,
> Just so I understand what you are trying to do. Do you mean the change in
> the menu colour (to blue) when the mouse moves over the menu buttons in
IE?
I want to 'grey out' the text when $mw loses the focus.
> The structures used by a toolbar and header are different - see:
>
>
http:
Hi,
I've got a problem with popup menus for TabStrip-controls, demonstrated
in the following lines of code.
The same popup menu which works perfectly for the main-window doesn't
work
for the TabStrip-control. The menu is tracked, but the Click-event
handlers
of the MenuItems aren't called.
Any he
Hi Teddy,
try the following:
#!perl -w
use Win32::GUI ( 'WM_COMMAND' );
my $mw = new Win32::GUI::Window
( -name => 'mw',
-left => 100,
-top => 100,
Hi Teddy,
did you build Win32::GUI on your own or did you use the ppm-package?
If you don't have the possibility to build the module, you will have to
wait until an official patch is available. I've created an entry in the
bug tracker for this issue.
If you have a C-compiler readily to hand, t
Hi,
bug tracker entry 1588332 created.
Thanks,
Uwe
> Hi,
>
> I've got a problem with popup menus for TabStrip-controls,
demonstrated
> in the following lines of code.
> The same popup menu which works perfectly for the main-window doesn't
> work
> for the TabStrip-control. The menu is tracked,
Hi Harlan,
the example works for me without any warnings or errors.
- WinXP SP2 (German)
- ActivePerl 5.8.7
- Win32::GUI 1.05
Regards, Uwe
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Harlan Carvey
Gesendet: Mittwoch, 8. November 2006 23:0
Hi Teddy,
separate the hotkeys by a "\t" from the text.
Uwe
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Octavian Rasnita
Gesendet: Donnerstag, 9. November 2006 09:32
An: perl-win32-gui-users@lists.sourceforge.net
Betreff: [perl-win32-gui-us
Hi Arun,
I did it that way:
--
use Win32::GUI ();
my $mw;
$mw = new Win32::GUI::Window
(
-name => 'main_window',
-text => 'main_window',
-left => 100
Hi maleadt,
have a look at the Win32::GUI::ThreadUtils package. It comes with a good
example for changing the value of a progress bar. Setting the content of
a textbox is quite comparable.
Bye,
Uwe
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftra
Hi Rob,
if you use a Label with the "-notify => 0" option to display the bitmap
it
should be possible to place other controls on top of it.
If you need to catch the events for the background bitmap your in
trouble.
There seems to be a bug in the event handling for child-controls in
Win32::GUI.
14 matches
Mail list logo