mein ExplorerTreeGadget macht was es will.
Code: Alles auswählen
If OpenWindow(0, 0, 0, 300, 300, "ExplorerTreeGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
ExplorerTreeGadget(0, 10, 10, 280, 280, "*.*",#PB_Explorer_AlwaysShowSelection)
Repeat
Select WaitWindowEvent()
Case #PB_Event_Gadget
Select EventGadget()
Case 0
If EventType()=#PB_EventType_LeftClick ; <-- z.B
Debug("Linke Maustaste wurde gedrückt")
EndIf
EndSelect
EndSelect
Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf
Manchmal kommt der Eintrag, manchmal nicht.
Was mache ich falsch?
Gruß
enigma
PB v5.00 x64
Windows 7 64bit