Back to index

lightning-sunbird  0.9+nobinonly
Functions
gui_pause.cpp File Reference
#include "xp.h"
#include <windowsx.h>
#include "resource.h"

Go to the source code of this file.

Functions

static void onCommand (HWND hWnd, int id, HWND hWndCtl, UINT codeNotify)
static BOOL onInitDialog (HWND hWnd, HWND hWndFocus, LPARAM lParam)
BOOL CALLBACK PauseDlgProc (HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)

Function Documentation

static void onCommand ( HWND  hWnd,
int  id,
HWND  hWndCtl,
UINT  codeNotify 
) [static]

Definition at line 43 of file gui_pause.cpp.

{
  switch (id)
  {
    case IDOK:
      EndDialog(hWnd, IDOK);
      break;
    case IDCANCEL:
      EndDialog(hWnd, IDCANCEL);
      break;
    default:
      break;
  }
}

Here is the caller graph for this function:

static BOOL onInitDialog ( HWND  hWnd,
HWND  hWndFocus,
LPARAM  lParam 
) [static]

Definition at line 58 of file gui_pause.cpp.

{
  SetWindowPos(hWnd, NULL, 0,0,0,0, SWP_NOZORDER);
  return TRUE;
}

Here is the caller graph for this function:

BOOL CALLBACK PauseDlgProc ( HWND  hWnd,
UINT  msg,
WPARAM  wParam,
LPARAM  lParam 
)

Definition at line 64 of file gui_pause.cpp.

{
  switch(msg)
  {
    case WM_INITDIALOG:
      return (BOOL)HANDLE_WM_INITDIALOG(hWnd, wParam, lParam, onInitDialog);
    case WM_COMMAND:
      HANDLE_WM_COMMAND(hWnd, wParam, lParam, onCommand);
      break;
    case WM_CLOSE:
      EndDialog(hWnd, IDCANCEL);
      break;

    default:
      return FALSE;
  }
  return TRUE;
}

Here is the call graph for this function:

Here is the caller graph for this function: