mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
-removed DefWindowProc from the Dialog WndProcs
svn path=/trunk/; revision=23436
This commit is contained in:
parent
5ef94aacb7
commit
53af48a8b2
1 changed files with 6 additions and 6 deletions
|
@ -226,7 +226,7 @@ LoggedOutWindowProc(
|
||||||
SetFocus(GetDlgItem(hwndDlg, IDC_USERNAME));
|
SetFocus(GetDlgItem(hwndDlg, IDC_USERNAME));
|
||||||
|
|
||||||
pgContext->hBitmap = LoadImage(hDllInstance, MAKEINTRESOURCE(IDI_ROSLOGO), IMAGE_BITMAP, 0, 0, LR_DEFAULTCOLOR);
|
pgContext->hBitmap = LoadImage(hDllInstance, MAKEINTRESOURCE(IDI_ROSLOGO), IMAGE_BITMAP, 0, 0, LR_DEFAULTCOLOR);
|
||||||
break;
|
return TRUE;
|
||||||
}
|
}
|
||||||
case WM_PAINT:
|
case WM_PAINT:
|
||||||
{
|
{
|
||||||
|
@ -238,12 +238,12 @@ LoggedOutWindowProc(
|
||||||
DrawState(hdc, NULL, NULL, (LPARAM)pgContext->hBitmap, (WPARAM)0, 0, 0, 0, 0, DST_BITMAP);
|
DrawState(hdc, NULL, NULL, (LPARAM)pgContext->hBitmap, (WPARAM)0, 0, 0, 0, 0, DST_BITMAP);
|
||||||
EndPaint(hwndDlg, &ps);
|
EndPaint(hwndDlg, &ps);
|
||||||
}
|
}
|
||||||
break;
|
return TRUE;
|
||||||
}
|
}
|
||||||
case WM_DESTROY:
|
case WM_DESTROY:
|
||||||
{
|
{
|
||||||
DeleteObject(pgContext->hBitmap);
|
DeleteObject(pgContext->hBitmap);
|
||||||
break;
|
return TRUE;
|
||||||
}
|
}
|
||||||
case WM_COMMAND:
|
case WM_COMMAND:
|
||||||
{
|
{
|
||||||
|
@ -281,7 +281,7 @@ LoggedOutWindowProc(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return DefWindowProc(hwndDlg, uMsg, wParam, lParam);
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static INT_PTR CALLBACK
|
static INT_PTR CALLBACK
|
||||||
|
@ -318,7 +318,7 @@ LoggedOnWindowProc(
|
||||||
case WM_INITDIALOG:
|
case WM_INITDIALOG:
|
||||||
{
|
{
|
||||||
SetFocus(GetDlgItem(hwndDlg, IDNO));
|
SetFocus(GetDlgItem(hwndDlg, IDNO));
|
||||||
break;
|
return TRUE;
|
||||||
}
|
}
|
||||||
case WM_CLOSE:
|
case WM_CLOSE:
|
||||||
{
|
{
|
||||||
|
@ -327,7 +327,7 @@ LoggedOnWindowProc(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return DefWindowProc(hwndDlg, uMsg, wParam, lParam);
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static INT
|
static INT
|
||||||
|
|
Loading…
Reference in a new issue