Glenn Linderman wrote:
>Here's another surprise:
>When moving the cursor to the edges and corners for resizing things, the
>cursor doesn't change to the "usual" double-headed arrows which provide
>feedback to the user that they are in the right position for resizing.
>Resizing still works, but it is awkward because of the expectation from
>other programs and earlier versions of Win32::GUI that the cursor should
>change shape for that event.
Another Cursor surprise.
On compiling 665 and continuing my current application, nowing adding
tooltips with great gusto :-) Thanks Aldo, The cursor defaults to the
Hourglass, until I click one of the buttons, or changes to the Textual 'I'
beam. However I have set NO cursor declarations in the program. Does this
mean we now have to initialize a default cursor type to stop this apparent
random cursor behaviour??
On the subject of toolbars... how do you add tool tips to the individual
icons in the toolbar
$tbResultWin = $ResultWindow->AddToolbar(
-left => 0,
-top => 0,
-width => 790,
-height => 80,
-name => "tbResultWin",
);
$ResToolsBMP = new Win32::GUI::Bitmap("./Images/restools.bmp");
$tbResultWin->SetBitmapSize(18, 18);
$tbResultWin->AddBitmap($ResToolsBMP, 12);
$tbResultWin->AddButtons(
12,
0, 1, 4, 0, 0,
1, 2, 4, 0, 1,
2, 3, 4, 0, 2,
3, 4, 4, 0, 3,
4, 5, 4, 1, 4,
5, 6, 4, 0, 5,
6, 7, 4, 0, 6,
7, 8, 4, 1, 7,
8, 9, 4, 0, 8,
9, 10, 4, 0, 9,
10, 11, 4, 1, 10,
11, 12, 4, 0, 11,
);
Lastly has anyone used a call to Win32::GUI::BrowseForFolder, I found a
reference to it in a mail archive using two methods, -root
and -includefiles. But could not get it to work. Has anyone else used this?
Chris Wearn
Realm Technology
PS for all the 'How do I make an exe from my Perl Script' threads. I have
now upgraded to ActiveStates PDK 4.0 and it binds my app and Win32-GUI
perfectly, I like the new features of being able to add an icon as well.
Together with the other included applications the PDK is well worth the
money.
|