コード例 #1
0
static void unload(Window *window) {
    
    layerDestroy();
    menuDestroy();
    iconsDestroy();
    window_destroy(window);
    window = NULL;
}
コード例 #2
0
// Exit the screen window (destroy it)
int scrnExit()
{
    // Ensure the window is destroyed
    DeActivateChat();

    if (hScrnWnd) {
        DestroyWindow(hScrnWnd);
        hScrnWnd = NULL;
    }

    UnregisterClass(szClass, hAppInst);		// Unregister the scrn class

    menuDestroy();

    return 0;
}