CHILD.H
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:1k
源码类别:
Windows编程
开发平台:
Visual C++
- //THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
- //ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
- //THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
- // PARTICULAR PURPOSE.
- //
- // Copyright 1994-1997 Microsoft Corporation. All Rights Reserved.
- //
- // FILE:
- // Child.H
- //
- // PURPOSE:
- // Include file for CHILD.C.
- //
- // PLATFORMS:
- // Windows 95, Windows NT
- //
- // SPECIAL INSTRUCTIONS: N/A
- //
- // local definitions
- #define GetCurrentMDIWnd() (HWND)(SendMessage(ghWndMDIClient, WM_MDIGETACTIVE, 0, 0L))
- // For use in creating children windows
- #define CHILD_CLASSNAME __TEXT("ICMVIEWCHILD")
- #define CHILD_CBWNDEXTRA (sizeof(LPDIBINFO))
- #define ICMVIEW_CBWNDEXTRA (sizeof(LPDIBINFO))
- #define FIRSTCHILD 1
- #define WINDOWMENU_POS 2
- #define MYWM_QUERYNEWPALETTE WM_USER+1
- //
- // Public functions
- //
- LRESULT CALLBACK ChildWndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
- DWORD CreateNewImageWindow(HANDLE hDIBInfo);