What versions of the Windows 95-98 DLL's are needed to work correctly with all the gadgets.
I have a program which works great with PanelGadget and Trackbar on a win98 system, but used on a win95 system it's not working correctly.
Create a Panelgadget with 2 panels:
On one panel place a trackbar gadget.
Now change from the trackbar gadget to other panel and back
Now the trackbar is gone.
The strange thing is:
checked with code below and it works fine
With my complete source 1400 lines.
This problem arrives only with win 95 system
Code: Select all
#WindowWidth = 390
#WindowHeight = 350
If OpenWindow(0, 100, 120, #WindowWidth, #WindowHeight, #PB_Window_MinimizeGadget, "PureBasic - Gadget Demonstration")
If CreateGadgetList(WindowID())
Top = 10
GadgetHeight = 24
PanelGadget(3, 20, Top, #WindowWidth-50, #WindowHeight-Top-60)
AddgadgetItem(3,0,"Tab1")
TrackBarGadget(4, 10, 10, 150, 50, 0, 100)
AddgadgetItem(3,1,"Tab2")
AddgadgetItem(3,2,"Tab3")
ClosePanelGadget()
EndIf
Repeat
EventID = WaitWindowEvent()
If EventID = #PB_EventGadget
Select EventGadgetID()
Case 0
If EventType() = #PB_EventType_ReturnKey
MessageRequester("Info", "Return key pressed", 0)
EndIf
EndSelect
EndIf
Until EventID = #PB_EventCloseWindow
EndIf
End
Registered PB version : 3.2 (Windows)
--------------------------
C. de Visser
Author of Super Guitar Chord Finder
http://www.ready4music.com
