EnableExplicit Procedure EnumFontFamProc(*lpelf.ENUMLOGFONT, *lpntm.NEWTEXTMETRIC, FontType, lParam) AddGadgetItem(1,-1,PeekS(@*lpelf\elfLogFont\lfFaceName[0]),0,0) ProcedureReturn 1 EndProcedure Procedure SysInfo_Fonts() EnumFontFamilies_(GetDC_(GetDesktopWindow_()),0,@EnumFontFamProc(),0) ReleaseDC_(GetDesktopWindow_(),GetDC_(GetDesktopWindow_())) EndProcedure If OpenWindow(0,0,0,500,250,"Window",#PB_Window_SystemMenu|#PB_Window_ScreenCentered) ListViewGadget(1,10,10,480,230,0) SysInfo_Fonts() Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow EndIf