I have a number of users who prefer to use the Windows version of my software under Wine rather than the Linux version.
I have discovered that the ToolBar does not appear in Wine.
I have tried with PB6.21 and PB6.04
I have tried setting the bitmap size using SendMessage_(ToolBarID(0),#TB_SETBITMAPSIZE, 0,24<<16+24) with no success.
I am testing with the examples in the help:
Code: Select all
If OpenWindow(0, 0, 0, 150, 50, "ToolBar", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
If CreateToolBar(0, WindowID(0))
UsePNGImageDecoder()
Path$ = #PB_Compiler_Home + "Examples" + #PS$ + "Sources" + #PS$ + "Data" + #PS$ + "ToolBar" + #PS$ + ""
ToolBarImageButton(0, LoadImage(0, Path$ + "New.png"))
ToolBarImageButton(1, LoadImage(1, Path$ + "Open.png"))
ToolBarImageButton(2, LoadImage(2, Path$ + "Save.png"))
SendMessage_(ToolBarID(0),#TB_SETBITMAPSIZE, 0,24<<16+24)
EndIf
Repeat
Event = WaitWindowEvent()
If Event = #PB_Event_Menu
Debug "ToolBar ID: "+Str(EventMenu())
EndIf
Until Event = #PB_Event_CloseWindow
EndIfThe toolbar IS there and tooltips appear if you get the mouse "just right" but the buttons are very small and unresponsive.
Any ideas?
I would like to avoid creating my own ToolBar.

