[perl-win32-gui-users] Help Event Handler

2008-09-20 Thread Steven Lloyd
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

[perl-win32-gui-users] DIBitmap on Windows 98

2008-09-10 Thread Steven Lloyd
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

[perl-win32-gui-users] Layering lines.

2007-07-02 Thread Steven Lloyd
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

Fw: {100-6498}[win32gui] [perl-win32-gui-users] Win32::Gui::Hyperlink for Win32::GUI version 1.03?

2005-12-18 Thread Steven Lloyd
- 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

[perl-win32-gui-users] Win32::Gui::Hyperlink for Win32::GUI version 1.03?

2005-12-17 Thread Steven Lloyd
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

[perl-win32-gui-users] Using the Win32::GUI::RichEdit Control

2005-09-07 Thread Steven Lloyd
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

Re: [win32gui] [perl-win32-gui-users] Toolbar

2005-09-03 Thread Steven Lloyd
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

Re: [win32gui] [perl-win32-gui-users] Toolbar

2005-09-03 Thread Steven Lloyd
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: "

[perl-win32-gui-users] Win32::Gui built-in functions?

2005-09-02 Thread Steven Lloyd
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

[perl-win32-gui-users] Toolbar

2005-09-01 Thread 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

[perl-win32-gui-users] Re: Win32::GUI::DHtmlEdit control

2005-08-30 Thread Steven Lloyd
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

[perl-win32-gui-users] Re: Win32::GUI::DHtmlEdit control

2005-08-30 Thread Steven Lloyd
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

[perl-win32-gui-users] Win32::GUI::DHtmlEdit control

2005-08-30 Thread Steven Lloyd
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 -

Re: [win32gui] [perl-win32-gui-users] Textfield - insert at cursor

2005-08-26 Thread Steven Lloyd
/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, >>

[perl-win32-gui-users] Textfield - insert at cursor

2005-08-25 Thread Steven Lloyd
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

[perl-win32-gui-users] AddSlider Sample

2005-08-24 Thread Steven Lloyd
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

[perl-win32-gui-users] Vertical Slider?

2005-08-21 Thread Steven Lloyd
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

[perl-win32-gui-users] Re: Draggable 'window'

2005-08-20 Thread Steven Lloyd
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

[perl-win32-gui-users] mouse_event

2005-08-16 Thread Steven Lloyd
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

Re: [perl-win32-gui-users] Re: Draggable 'window' [Was: MDIFrame and background Image]

2005-08-16 Thread Steven Lloyd
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' [

Re: [perl-win32-gui-users] Re: Draggable 'window' [Was: MDIFrame and background Image]

2005-08-16 Thread Steven Lloyd
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

Re: [perl-win32-gui-users] Re: Draggable 'window' [Was: MDIFrame and background Image]

2005-08-16 Thread Steven Lloyd
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

[perl-win32-gui-users] Re: Draggable 'window' [Was: MDIFrame and background Image]

2005-08-15 Thread Steven Lloyd
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);

[perl-win32-gui-users] Re: Draggable 'window' [Was: MDIFrame and background Image]

2005-08-11 Thread Steven Lloyd
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

Re: [perl-win32-gui-users] Slider Position

2004-12-30 Thread Steven Lloyd
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

Re: [perl-win32-gui-users] Slider Position

2004-12-29 Thread Steven Lloyd
---- - 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

[perl-win32-gui-users] Slider Position

2004-12-29 Thread Steven Lloyd
looks like setting a slider position using $Window->Slider->Pos(4) no longer works in version 1.0. Any workarounds?