I notice there are several options when creating a window to display the
help button in the top right corner.
However, I do not understand how to use it so that the help window pops
up with information when a control is selected by the user.
I have searched the documentation and this list with no
I get the following error when trying to use DIBitmap on Windows 98. Is
there a workaround?
My script is simple.
--
use Win32::GUI;
use Win32::GUI::DIBitmap;
print "hello";
exit;
Error:
-
Can't load 'C:/perl/site/lib/auto/Win32/GUI/DIBitmap/DIBitmap.dll' for
Is there a way to draw a line over a label? Mine keeps disappearing. I
cannot seem to get the DC lines thing to work, even without a label...
Steve
use strict;
use Win32::GUI;
our $mw = Win32::GUI::Window->new(
-name=> "MainWindow",
-title => "Line Layer Test",
-size
- Original Message -
From: "Steven Lloyd" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 17, 2005 2:30 PM
Subject: {100-6498}[win32gui] [perl-win32-gui-users]
Win32::Gui::Hyperlink for Win32::GUI version 1.03?
Replacing
use base qw(Win32::GUI
With Win32::GUI build 1.03 I cannot get Win32::GUI::Hyperlink to work.
In Hyperlink.pm, it says
use base qw(Win32::GUI::Label);
But this is no use Win32::GUI::Label module anymore (not on CPAN anymore).
Is there a different way to make a label a hyperlink?
Steve Lloyd
http://www.basgetti.com
Can anyone show me how to do any of the following in a Win32::GUI::RichEdit
Control?
I cannot seem to find any good examples.
- Insert an image
- Bold or underline the selected text
- Center the line or the selected text
- show the "cut, copy, paste" context menu when text is selected...
Steve
I also noticed that the drowdown menu onClick does not work...
- Original Message -
From: "Robert May" <[EMAIL PROTECTED]>
To: "Steven Lloyd" <[EMAIL PROTECTED]>
Cc:
Sent: Saturday, September 03, 2005 5:33 AM
Subject: Re: [win32gui] [perl-win32-gui-user
Thanks Robert.
I had to add the following in order to get it to work.
sub TBSTYLE_EX_MIXEDBUTTONS(){8};
sub BTNS_WHOLEDROPDOWN() {128};
sub BTNS_SHOWTEXT(){64};
Steve Lloyd
http://www.basgetti.com
- Original Message -
From: "Robert May" <[EMAIL PROTECTED]>
To: "
There are quite a few Win32::GUI functions like Win32::GUI::GetOpenFileName
that are built in but not listed on
http://perl-win32-gui.sourceforge.net
Where can I find a reference to these? Shouldn't these be added the
http://perl-win32-gui.sourceforge.net?
Steven Lloyd
Does anyone have any good examples using Win32::GUI::Toolbar?
I would like to create a format bar with Bold, Underline, and Italic.
Thanks,
Steve Lloyd
http://www.basgetti.com
Original Message -
From: "Steven Lloyd" <[EMAIL PROTECTED]>
To: "Steven Lloyd" <[EMAIL PROTECTED]>;
Sent: Tuesday, August 30, 2005 10:03 PM
Subject: Re: Win32::GUI::DHtmlEdit control
Hmm,
It seems to work if invoked from a menu... I want to be able to drag and
d
Hmm,
It seems to work if invoked from a menu... I want to be able to drag and
drop images on the edit control.. calling $Control->Image($file) after a
DropFiles event does not seem to work...
Any ideas?
- Original Message -
From: "Steven Lloyd" <[EMAIL PROTEC
Using a DHtmlEdit control, I want to be able to pass in the url to the Image
function.
For some reason it does not work.. If I look at the DHtmlEdit.pm, it seems
it should.
Any ideas why the following code does not insert the image?
Steve Lloyd
http://www.basgetti.com
-
/commctls/editcontrols/editcontrols.asp
>
>
> Regards,
> Rob.
>
> Steven Lloyd wrote:
>> Is there a way with a textfield to insert text at the current cursor
>> position?
>> The cursor may be anywhere in the existing text
>>
>> Thanks,
>>
Is there a way with a textfield to insert text at the current cursor
position?
The cursor may be anywhere in the existing text
Thanks,
Steve
For what it is worth, here is an example of horizontal and vertical sliders.
Feel free to add this to the samples if you would like.
Note:
Min, Max, and Pos do not seem to work when sent as attributes on slider
creation but work if set afterward. Any ideas why?
Steve Lloyd
http://www.basgetti.c
I know that a horizontal slider can by created but is there a way to create
a vertical slider control using Win32::GUI? Does AddSlider have such an
option?
Steve Lloyd
http://www.basgetti.com
Robert,
Thanks a bunch! That does work very nice. I have been gone camping with
the family so I haven't even looked at a computer in 3 days. Very well
done.
Steve
- Original Message -
From: "Robert May" <[EMAIL PROTECTED]>
To: "Steven Lloyd" <[E
In the following code, mouseMove is sent the label, and the x,y coridinates
of the cursor. But if you hold the cursor down and, while holding the
cursor down, move it to the corners of your screen, you will get invalid
$x, $y values..
This looks to me as is Win32::GUI is sending the wrong mo
MouseMove returns the label, and the x, y coordinates of the mouse, right?
- Original Message -
From: "Jeremy White" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Cc:
Sent: Tuesday, August 16, 2005 7:05 AM
Subject: Re: [perl-win32-gui-users] Re: Draggable 'window' [
Thanks Jez,
I will work on the coordinates.. We are close now.. :)
- Original Message -
From: "Jeremy White" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Cc:
Sent: Tuesday, August 16, 2005 7:05 AM
Subject: Re: [perl-win32-gui-users] Re: Draggable 'window' [Was: MDIFr
Thanks Jez. Your suggestions seems to work except for the last thing. As I
move the cursor over windows, how do I repaint windows that no longer have
the cursor over them? Is there a way to get all the windows to repaint?
Disposing of the DC did not seem to do this?
Steve
http://www.basgetti
quot;, "SendMessageA",
['N','N','N','P'],'N') || return $^E;
my $WM_GETTEXT=13;
my $txt = " " x 2048;
my $textLen = 2048;
$result = $WmSendMessage->Call($hwnd,$WM_GETTEXT, $textLen, $txt);
$text= substr($txt, 0, $result);
Thanks Rob,
Lesson learned. I will try to exand on this tonight. You rock!
Steve Lloyd
http://www.basgetti.com
> Steven Lloyd wrote:
>> Rob,
>> I have got this far but I cannot seem to get SetCapture to allow me to
>> go outside my window. Any ideas?
>
> St
2::GUI::Dialog();
sub Window_Terminate {
return -1;
}
- Original Message -
From: "Glenn Linderman" <[EMAIL PROTECTED]>
To: "Steven Lloyd" <[EMAIL PROTECTED]>
Cc:
Sent: Wednesday, December 29, 2004 11:35 PM
Subject: Re: [perl-win32-gui-users] Slider Pos
----
- Original Message -
From: "Glenn Linderman" <[EMAIL PROTECTED]>
To: "Steven Lloyd" <[EMAIL PROTECTED]>
Cc:
Sent: Wednesday, December 29, 2004 1:08 PM
Subject: Re: [perl-win32-gui-users] Slider Positio
looks like setting a slider position using $Window->Slider->Pos(4) no longer
works in version 1.0.
Any workarounds?
27 matches
Mail list logo