|
|
1.1 ! root 1: ! 2: /******************************************************************************\ ! 3: * This is a part of the Microsoft Source Code Samples. ! 4: * Copyright (C) 1993 Microsoft Corporation. ! 5: * All rights reserved. ! 6: * This source code is only intended as a supplement to ! 7: * Microsoft Development Tools and/or WinHelp documentation. ! 8: * See these sources for detailed information regarding the ! 9: * Microsoft samples programs. ! 10: \******************************************************************************/ ! 11: ! 12: /* ! 13: ddedlg.c ! 14: */ ! 15: ! 16: #include <windows.h> ! 17: #include "ddeinst.h" ! 18: #include "ddextrn.h" ! 19: ! 20: /******************************************************************** ! 21: ! 22: AboutBoxWndProc ! 23: ! 24: Function to process messages to the about box. ! 25: ! 26: ********************************************************************/ ! 27: ! 28: LRESULT APIENTRY AboutBoxWndProc (HWND hwnd, UINT uiMsg, WPARAM wParam, ! 29: LPARAM lParam) { ! 30: switch (uiMsg) { ! 31: case WM_COMMAND: { ! 32: EndDialog (hwnd, TRUE); ! 33: return (TRUE); ! 34: }/*endCase*/ ! 35: }/*endSwitch*/ ! 36: return (FALSE); ! 37: }/* end AboutBoxWndProc */ ! 38: ! 39: /******************************************************************** ! 40: ! 41: ProgressDlgWndProc ! 42: ! 43: Function to process messages to the about box. ! 44: ! 45: ********************************************************************/ ! 46: ! 47: LRESULT APIENTRY ProgressDlgWndProc (HWND hwnd, UINT uiMsg, WPARAM wParam, ! 48: LPARAM lParam) { ! 49: switch (uiMsg) { ! 50: case WM_DESTROY: { ! 51: EndDialog (hwnd, TRUE); ! 52: return (TRUE); ! 53: }/*endCase*/ ! 54: }/*endSwitch*/ ! 55: return (FALSE); ! 56: }/* end ProgressDlgWndProc */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.