> >- Is it somehow possible to catch keyboard events? I did not
> find anything
> >in the Win32::GUI docu except for some _KeyDown event which
> was associated
> >to a single object.
>
I know you can use _KeyPress to catch keyboard events. I know it works in a
RichEdit, don't know about elsewhe
Christian wrote:
- I added some "RadioButton" to a window. It looks that they are all treated
as one group of buttons in Win32::GUI. Is it somehow possible to create more
than 1 group of radiobuttons in the same window?
Set the option -group => 1 in the first RadionButton control in each "radio
Hi listers,
I am new in this mailing list. My name is Christian. I just started to do
some programing of GUI's under Win32. I am not that chrack in perl
programming. Played a bit with Win32::GUI. Now I have some questions and
hope you could give me some answers:
- I added some "RadioButton" to a
Joe,
The way to do this is to create the method in the Win32::GUI package. Then
switch back to the main package when you've finished to write your own code.
See the following example:
#!/perl -w
use Win32::GUI;
package Win32::GUI; # Create following methods as Win32::GUI methods
sub CenterOnSc
Joe wrote:
Is there a simple way to add a method to an object? Basically, what I
want to do is this:
$window->CenterOnScreen();
#Minimalistic example
use Data::Dumper;
sub Win32::GUI::Window::CenterOnScreen { my $self = shift;
print "In CenterOnScreen\n";
print Dumper($self);
5 matches
Mail list logo