#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "wine/unicode.h"
#include "win.h"
#include "heap.h"
#include "controls.h"
#include "user.h"
#include "nonclient.h"
#include "struct32.h"
#include "debugtools.h"
#include "dlgs.h"
Include dependency graph for mdi.c:
Go to the source code of this file.
Compounds | |
struct | MDICLIENTINFO |
Defines | |
#define | MDI_MAXLISTLENGTH 0x40 |
#define | MDI_MAXTITLELENGTH 0xa1 |
#define | MDI_NOFRAMEREPAINT 0 |
#define | MDI_REPAINTFRAMENOW 1 |
#define | MDI_REPAINTFRAME 2 |
#define | WM_MDICALCCHILDSCROLL 0x10ac |
#define | MDI_MOREWINDOWSLIMIT 9 |
#define | MDI_IDC_LISTBOX 100 |
#define | MDI_IDS_MOREWINDOWS 13 |
#define | MDIF_NEEDUPDATE 0x0001 |
#define | ccs ((LPCLIENTCREATESTRUCT)cs->lpCreateParams) |
Functions | |
DEFAULT_DEBUG_CHANNEL (mdi) | |
void | MDI_UpdateFrameText (HWND, HWND, BOOL, LPCWSTR) |
BOOL | MDI_AugmentFrameMenu (HWND, HWND) |
BOOL | MDI_RestoreFrameMenu (HWND, HWND) |
LONG | MDI_ChildActivate (HWND, HWND) |
HWND | MDI_MoreWindowsDialog (HWND) |
void | MDI_SwapMenuItems (HWND, UINT, UINT) |
LRESULT WINAPI | MDIClientWndProcA (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) |
LRESULT WINAPI | MDIClientWndProcW (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) |
HWND | MDI_GetChildByID (HWND hwnd, UINT id) |
void | MDI_PostUpdate (HWND hwnd, MDICLIENTINFO *ci, WORD recalc) |
MDICLIENTINFO * | get_client_info (HWND client) |
void | MDI_MenuModifyItem (HWND client, HWND hWndChild) |
BOOL | MDI_MenuDeleteItem (HWND client, HWND hWndChild) |
HWND | MDI_GetWindow (MDICLIENTINFO *clientInfo, HWND hWnd, BOOL bNext, DWORD dwStyleMask) |
void | MDI_CalcDefaultChildPos (HWND hwnd, WORD n, LPPOINT lpPos, INT delta) |
LRESULT | MDISetMenu (HWND hwnd, HMENU hmenuFrame, HMENU hmenuWindow) |
LRESULT | MDIRefreshMenu (HWND hwnd, HMENU hmenuFrame, HMENU hmenuWindow) |
HWND | MDICreateChild (HWND parent, MDICLIENTINFO *ci, LPMDICREATESTRUCTA cs, BOOL unicode) |
void | MDI_ChildGetMinMaxInfo (HWND client, HWND hwnd, MINMAXINFO *lpMinMax) |
void | MDI_SwitchActiveChild (HWND clientHwnd, HWND childHwnd, BOOL bNextWindow) |
LRESULT | MDIDestroyChild (HWND parent, MDICLIENTINFO *ci, HWND child, BOOL flagDestroy) |
HBITMAP | CreateMDIMenuBitmap (void) |
LONG | MDICascade (HWND client, MDICLIENTINFO *ci) |
void | MDITile (HWND client, MDICLIENTINFO *ci, WPARAM wParam) |
LRESULT | MDIClientWndProc_common (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam, BOOL unicode) |
LRESULT WINAPI | DefFrameProc16 (HWND16 hwnd, HWND16 hwndMDIClient, UINT16 message, WPARAM16 wParam, LPARAM lParam) |
LRESULT WINAPI | DefFrameProcA (HWND hwnd, HWND hwndMDIClient, UINT message, WPARAM wParam, LPARAM lParam) |
LRESULT WINAPI | DefFrameProcW (HWND hwnd, HWND hwndMDIClient, UINT message, WPARAM wParam, LPARAM lParam) |
LRESULT WINAPI | DefMDIChildProc16 (HWND16 hwnd, UINT16 message, WPARAM16 wParam, LPARAM lParam) |
LRESULT WINAPI | DefMDIChildProcA (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) |
LRESULT WINAPI | DefMDIChildProcW (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) |
HWND WINAPI | CreateMDIWindowA (LPCSTR lpClassName, LPCSTR lpWindowName, DWORD dwStyle, INT X, INT Y, INT nWidth, INT nHeight, HWND hWndParent, HINSTANCE hInstance, LPARAM lParam) |
HWND WINAPI | CreateMDIWindowW (LPCWSTR lpClassName, LPCWSTR lpWindowName, DWORD dwStyle, INT X, INT Y, INT nWidth, INT nHeight, HWND hWndParent, HINSTANCE hInstance, LPARAM lParam) |
BOOL16 WINAPI | TranslateMDISysAccel16 (HWND16 hwndClient, LPMSG16 msg) |
BOOL WINAPI | TranslateMDISysAccel (HWND hwndClient, LPMSG msg) |
void WINAPI | CalcChildScroll16 (HWND16 hwnd, WORD scroll) |
void WINAPI | CalcChildScroll (HWND hwnd, INT scroll) |
void WINAPI | ScrollChildren16 (HWND16 hWnd, UINT16 uMsg, WPARAM16 wParam, LPARAM lParam) |
void WINAPI | ScrollChildren (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) |
WORD WINAPI | CascadeWindows (HWND hwndParent, UINT wFlags, const LPRECT lpRect, UINT cKids, const HWND *lpKids) |
WORD WINAPI | TileWindows (HWND hwndParent, UINT wFlags, const LPRECT lpRect, UINT cKids, const HWND *lpKids) |
BOOL WINAPI | MDI_MoreWindowsDlgProc (HWND hDlg, UINT iMsg, WPARAM wParam, LPARAM lParam) |
Variables | |
HBITMAP | hBmpClose = 0 |
HBITMAP | hBmpRestore = 0 |
const struct builtin_class_descr | MDICLIENT_builtin_class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 1192 of file mdi.c. Referenced by DefFrameProcA(), DefFrameProcW(), DefMDIChildProcA(), DefMDIChildProcW(), MDIClientWndProc_common(), and MDIDestroyChild().
|
|
Definition at line 1023 of file mdi.c. Referenced by DefMDIChildProcW(), and MDISetMenu().
|
|
Definition at line 1131 of file mdi.c. Referenced by DefMDIChildProcW(), MDIClientWndProc_common(), MDIDestroyChild(), and MDISetMenu().
|
|
Definition at line 750 of file mdi.c. Referenced by DefMDIChildProcW(), and MDIDestroyChild().
|
|
Definition at line 2315 of file mdi.c. Referenced by DefFrameProcW().
|
|
Definition at line 2351 of file mdi.c. Referenced by MDICreateChild(), and MDI_ChildActivate().
|
|
|
|
|
|
Definition at line 155 of file mdi.c. Referenced by DefFrameProcW(), and MDI_MenuDeleteItem().
|
|
Definition at line 171 of file mdi.c. Referenced by DefMDIChildProcW(), MDIClientWndProc_common(), and MDIDestroyChild().
|
|
|
|
Definition at line 215 of file mdi.c. Referenced by DefMDIChildProcA(), DefMDIChildProcW(), MDICreateChild(), and MDI_ChildActivate().
|
|
Definition at line 238 of file mdi.c. Referenced by MDIDestroyChild().
|
|
Definition at line 294 of file mdi.c. Referenced by DefMDIChildProcW(), and MDI_SwitchActiveChild().
|
|
Definition at line 335 of file mdi.c. Referenced by MDICascade(), and MDICreateChild().
|
|
Definition at line 355 of file mdi.c. Referenced by MDIClientWndProc_common().
|
|
Definition at line 470 of file mdi.c. Referenced by MDIClientWndProc_common().
|
|
Definition at line 491 of file mdi.c. Referenced by MDIClientWndProc_common().
|
|
Definition at line 654 of file mdi.c. Referenced by DefMDIChildProcW().
|
|
Definition at line 678 of file mdi.c. Referenced by MDIClientWndProc_common(), and MDIDestroyChild().
|
|
Definition at line 708 of file mdi.c. Referenced by MDIClientWndProc_common().
|
|
Definition at line 849 of file mdi.c. Referenced by MDIClientWndProc_common().
|
|
Definition at line 883 of file mdi.c. Referenced by MDIClientWndProc_common().
|
|
Definition at line 937 of file mdi.c. Referenced by MDIClientWndProc_common().
|
|
Definition at line 1259 of file mdi.c. Referenced by MDIClientWndProcW().
|
|
|
|
Definition at line 1514 of file mdi.c. Referenced by DefFrameProc16().
|
|
Definition at line 1544 of file mdi.c. Referenced by DefFrameProc16(), and DefFrameProcA().
|
|
|
|
Definition at line 1690 of file mdi.c. Referenced by DefMDIChildProc16().
|
|
Definition at line 1727 of file mdi.c. Referenced by DefMDIChildProc16(), and DefMDIChildProcA().
|
|
Definition at line 1876 of file mdi.c. Referenced by CreateWindowExA().
|
|
Definition at line 1920 of file mdi.c. Referenced by CreateWindowExW().
|
|
|
|
Definition at line 1980 of file mdi.c. Referenced by TranslateMDISysAccel16().
|
|
|
|
Definition at line 2027 of file mdi.c. Referenced by CalcChildScroll16(), MDIClientWndProc_common(), and ScrollChildren().
|
|
|
|
Definition at line 2103 of file mdi.c. Referenced by MDIClientWndProc_common(), and ScrollChildren16().
|
|
|
|
|
|
|
|
|
|
|
|
Initial value: { "MDIClient", CS_GLOBALCLASS, MDIClientWndProcA, MDIClientWndProcW, sizeof(MDICLIENTINFO), IDC_ARROWA, COLOR_APPWORKSPACE+1 } |