From: Straub, Peter (Peter) <straubp@op...> - 2002-06-05 08:35:59
I try to migrate an existing application from 558
to 665 and I am stuck because subclassing doesn't
(seem to) work in this version...
I subclass rich edit controls to make them mouse-
my $EditorClass = new Win32::GUI::Class(
-name => "Editor",
-extends => "RichEdit",
-widget => "RichEdit",
my $redAllMessages = $winMain->AddRichEdit(
-class => $EditorClass,
-name => "RedMessages",
-text => "",
-left => 0,
-top => 0,
-addstyle => WS_TABSTOP |
-addexstyle => WS_EX_CLIENTEDGE,
This works for "LButtonDown" and "MouseMove"
events and helps to implement sorts of "links"
and a custom cursor shape.
Is there a way to achieve this in version 665?
Should I wait for 772 :)?