Thom, your HIToolbar is really good. The only reason why I switched
to the RB toolbar is because with unified windows (the window style
of Mail) you can not drag the window from within the toolbar with
your HIToolbar classes. It's a small issue, but it gets really
annoying when you use the application. Basically I gave up
customization for that functionality. In all my other applications I
am using your HIToolbar.
For anyone using your classes, if you add this code to the
HIToolbarItem constructor;
if inIdentifier = kHIToolbarSeparatorIdentifier Then
Options =kItemIsSeparator +kAllowDuplicates
End
kItemIsSeparator as Integer: method returns
return bitwise.shiftleft(1,3)//separators go the full length of the
window
kAllowDuplicate As Integer;
return bitwise.shiftleft(1,0)//duplicated
Then pass Options into the HIToolbarItemCreate declare, separators
will look proper in toolbars (ie being larger than other toolbar
items) and you can include more than one.
Aside from no customization and the inability to use
ConstructContextualMenu, the Toolbars in RB are pretty good too,
atleast for OS X as I haven't used them for Windows yet. What other
problems have you had?
Besides my special case, your classes are definitely the way to go
for Mac OS X.
Wouldn't it be possible to add customization to RB's toolbar using
similar code from your classes?
--
Paul Levine
Find Reliable Beta Testers
http://www.trybeta.com/home/
On Apr 12, 2007, at 8:56 PM, Thom McGrath wrote:
> Users cannot customize their toolbar, as with standard Mac OS X
> toolbars.
>
> The toolbars in REALbasic are only half-baked on each platform. If
> you are targeting multiple platforms, they are your solution. If you
> are only targeting Mac OS X, you'll want real Mac OS X toolbars
> (which support customization) from my website at <http://
> www.thezaz.com/> - free, documentation included.
>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>