Hi, There are a lot of functionality missing for toolbars - tooltips is one of them (I could be wrong...). From the current tracker:
http://sourceforge.net/tracker/index.php?func=detail&aid=876334&group_id=16572&atid=366572 Adding toolbars to rebars has issues too...it looks like toolbars are created to be associated to a window, not as a stand alone control - so you can't add it directly to the rebar as a child control (at least I could not get it to work). As a work around you might be able to add the toolbar to a child window, which is added to the rebar. Clearly adding a toolbar to a rebar would be extremely useful, and is something that I'll add to a tracker item when I create it. cheers, jez. ----- Original Message ----- From: "Chris Wearn" <[EMAIL PROTECTED]> To: "Jez White" <[EMAIL PROTECTED]> Cc: "Win32-GUI List" <perl-win32-gui-users@lists.sourceforge.net> Sent: Monday, January 19, 2004 11:11 AM Subject: [perl-win32-gui-users] Toolbar tooltips > Hiya Jez, > > On the subject of adding missing options... > > The other night you were also adding the toolbar to the rebar... Prior to > the NEW builds that have been done lately, the tooltips did not work on the > buttons that were added to a toolbar... have you played with this lately? > and know if they are now working? > > $tlbResultWin = $ResultWindow->AddToolbar( > -name => "tlbResultWin", > -left => 0, > -top => 0, > -width => 800, > -height => 80, > ); > > $imgResultWinTB = new Win32::GUI::Bitmap("./Images/restools.bmp"); > > $tlbResultWin->SetBitmapSize(18, 18); > $tlbResultWin->AddBitmap($imgResultWinTB, 12); > $tlbResultWin->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, > ); > > Chris > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Jez > White > Sent: Monday, 19 January 2004 6:05 PM > To: Stephen Pick; Win32-GUI > Subject: Re: [perl-win32-gui-users] Rebar take 3 > > > Steve, > > No problem - I still don't know what some of the options do - or are > supposed to do, but I'll document what I can. It's a start at least:) > > Cheers, > > jez. > ----- Original Message ----- > From: Stephen Pick > To: Jez White ; Win32-GUI > Sent: Monday, January 19, 2004 10:00 AM > Subject: RE: [perl-win32-gui-users] Rebar take 3 > > > Hi Jez, > > I'm in the process of adding all the missing documentation in Win32::GUI. > I've documented well over 50 methods that were previously undocumented. If > you find any quirks in the Rebar or would like to document some bits of it > for me, that would be very helpful, since I've never attempted to use it I'm > not the best person to document it. > > Steve > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Jez > White > Sent: 19 January 2004 09:55 > To: Win32-GUI > Subject: [perl-win32-gui-users] Rebar take 3 > > > Hi, > > For those who don't know what a rebar (sometimes called "coolbar") control > is: > > It's basically like a tool bar that allows you to create bands where you can > attach other controls or child windows. You can move these bands around. > Rebar controls are used in a lot of applications, such as word processors > where you might have the current style or font in a dropdowns in the "tool > bar". > > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/pla > tform/commctls/rebar/rebar.asp > > The rebar control is badly documented in win32::gui, and has various > methods/functions missing and I suspect a couple of bugs - but the control > works quite well. The example below, contains a rebar control with three > bands. Two of the bands contain a child window. Each child window contains > several controls (dropdowns, datetime and buttons). With the Steve's scroll > bar example of a few days ago I have changed the way child windows are > created, so they now act correctly (they do not take focus away from the > main window). I assume that this is the correct approach? > > In the next couple of days I'll try and find out what > methods/functions/events are missing, as well as identify any bugs and > create the relevant tracker items. I would be grateful for feed back on this > example. > > Cheers, > > jez. > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Perl-Win32-GUI-Users mailing list > Perl-Win32-GUI-Users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users