EnableExplicit

If OpenWindow(0,0,0,500,250,"Window",#PB_Window_SystemMenu|#PB_Window_ScreenCentered)
  ListViewGadget(1,10,10,480,230,0)
  AddGadgetItem(1,-1,"Testitem 1",0,0)
  
  MessageRequester("","Höhe des Items: "+Str(SendMessage_(GadgetID(1),#LB_GETITEMHEIGHT,0,0)),0)
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf