The following code appears to successfully walk the window list and retrieves the pointer for all open windows, but the call to FBGetWndNumber always returns zero (which normally indicates the window is not an FB window). Same results with APPEARANCE WINDOW statement and using std basic or appearance runtime. R7. OS 9.1 Clues appreciated. Thanks....Brian WINDOW 1 EDIT FIELD 1,"test text 1",( 13, 35)-( 195, 139), 4,_leftJust EDIT FIELD 2,"test text 2",( 7, 3)-( 200, 23), 7,_centerJust window 2 EDIT FIELD 1,"test text 3",( 13, 35)-( 195, 139), 4,_leftJust EDIT FIELD 2,"test text 4",( 7, 3)-( 200, 23), 7,_centerJust local mode local fn looklist dim wPtr as WindowRef dim wnum as long wPtr = fn frontwindow while wPtr wnum = FN FBGetWndNumber(wPtr)'get FB's window number from window pointer #if carbonlib wPtr = fn GetNextWindow(wPtr) #else wPtr = wPtr.NextWindow&// Next Window in list #endif wend end fn fn looklist do handleevents until gFBquit