... endif DEFINE FONT oFont NAME GetSysFont() SIZE 0,-12 DEFINE CURSOR oCursor RESOURCE "Lupa" DEFINE WINDOW oWnd FROM 0, 0 TO 24, 80 ; TITLE oDevice:cDocument ; COLOR CLR_BLACK,CLR_LIGHTGRAY ; ICON oIcon ; VSCROLL HSCROLL // So IsAppThemed() is properly detected as the window is already built oWnd:SetMenu( ...