\ File: applWin.f \ Author: Jeff Kelm \ Created: 16-Oct-1998 \ Updated: 16-Dec-1998 \ Generic Application Window Class NEEDS BasicWin.f CR .( Loading Application Window class...) \ Define the default window procedure 4 callback EmptyWndProc DefaultWindowProc : APPLICATION_CLASS Z" AppClass" rel>abs ; \ Application Window Class structure CREATE wcApplication \ WNDCLASS structure NULL , \ style EmptyWndProc rel>abs , \ lpfnWndProc 0 , \ cbClsExtra 0 , \ cbWndExtra appInst , \ hInstance IDI_WINLOGO NULL Call LoadIcon , \ hIcon IDC_ARROW NULL Call LoadCursor , \ hCursor WHITE_BRUSH Call GetStockObject , \ hbrBackground NULL , \ lpszMenuName APPLICATION_CLASS , \ lpszClassName : Register-Class wcApplication rel>abs Call RegisterClass ?WinError ; : Unregister-Class appInst APPLICATION_CLASS Call UnregisterClass ?WinError ; Register-Class \ \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ \ \\\ Application window class \ :Class ApplicationWindow