===========================================================================
| 3150 | |
| 3151 | //=========================================================================== |
| 3152 | void Win32Frame::FrameRegisterClass () { |
| 3153 | WNDCLASSEX wndclass; |
| 3154 | memset(&wndclass, 0, sizeof(WNDCLASSEX)); |
| 3155 | wndclass.cbSize = sizeof(WNDCLASSEX); |
| 3156 | wndclass.style = CS_OWNDC | CS_BYTEALIGNCLIENT; |
| 3157 | wndclass.lpfnWndProc = FrameWndProc; |
| 3158 | wndclass.hInstance = g_hInstance; |
| 3159 | wndclass.hIcon = LoadIcon(g_hInstance,"APPLEWIN_ICON"); |
| 3160 | wndclass.hCursor = LoadCursor(0,IDC_ARROW); |
| 3161 | wndclass.hbrBackground = (HBRUSH)GetStockObject(BLACK_BRUSH); |
| 3162 | #if ENABLE_MENU |
| 3163 | wndclass.lpszMenuName = (LPCSTR)IDR_MENU1; |
| 3164 | #endif |
| 3165 | wndclass.lpszClassName = "APPLE2FRAME"; |
| 3166 | wndclass.hIconSm = (HICON)LoadImage(g_hInstance,"APPLEWIN_ICON", |
| 3167 | IMAGE_ICON,16,16,LR_DEFAULTCOLOR); |
| 3168 | RegisterClassEx(&wndclass); |
| 3169 | } |
| 3170 | |
| 3171 | //=========================================================================== |
| 3172 | // TODO: FIXME: Util_TestFileExists() |
no outgoing calls
no test coverage detected