Changeset 1526 for trunk/src/user32/win32dlg.h
- Timestamp:
- Oct 31, 1999, 2:14:44 AM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32dlg.h
r1525 r1526 1 /* $Id: win32dlg.h,v 1. 6 1999-10-30 18:40:47 cbratschiExp $ */1 /* $Id: win32dlg.h,v 1.7 1999-10-31 01:14:42 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Dialog Code for OS/2 … … 71 71 BOOL endDialog(int retval); 72 72 73 BOOL MapDialogRect(LPRECT rect); 74 73 75 virtual ULONG MsgCreate(HWND hwndFrame, HWND hwndClient); 74 76 75 virtual 76 virtual 77 virtual LONG SetWindowLongA(int index, ULONG value); 78 virtual ULONG GetWindowLongA(int index); 77 79 78 INT doDialogBox(); 80 static ULONG GetDialogBaseUnits() { return MAKELONG(xBaseUnit, yBaseUnit); }; 81 82 INT doDialogBox(); 79 83 80 84 protected: 81 LPCSTR parseTemplate( LPCSTR dlgtemplate, DLG_TEMPLATE *result); 85 BOOL DIALOG_Init(void); 86 BOOL getCharSizeFromDC( HDC hDC, HFONT hFont, SIZE * pSize ); 87 BOOL getCharSize( HFONT hFont, SIZE * pSize); 88 LPCSTR parseTemplate( LPCSTR dlgtemplate, DLG_TEMPLATE *result); 82 89 WORD *getControl(const WORD *p, DLG_CONTROL_INFO *info, BOOL dialogEx); 83 84 85 90 BOOL createControls(LPCSTR dlgtemplate, HINSTANCE hInst); 91 92 LRESULT DefDlg_Proc(UINT msg, WPARAM wParam, LPARAM lParam); 86 93 LRESULT DefDlg_Epilog(UINT msg, BOOL fResult); 87 94 88 89 90 91 92 95 BOOL setDefButton(HWND hwndNew ); 96 HWND findDefButton(); 97 BOOL saveFocus(); 98 BOOL restoreFocus(); 99 void setFocus(HWND hwndCtrl ); 93 100 94 95 DLGPROC Win32DlgProc;//DWL_WNDPROC96 ULONG msgResult;//DWL_MSGRESULT97 ULONG userDlgData;//DWL_USER101 // values normally contained in the standard dialog words 102 DLGPROC Win32DlgProc; //DWL_WNDPROC 103 ULONG msgResult; //DWL_MSGRESULT 104 ULONG userDlgData; //DWL_USER 98 105 99 106 DLG_TEMPLATE dlgInfo; 100 101 102 103 104 105 106 107 WORD xUnit; 108 WORD yUnit; 109 HWND hwndFocus; 110 HFONT hUserFont; 111 HMENU hMenu; 112 DWORD idResult; 113 DWORD dialogFlags; 107 114 108 DWORD tmpParam; //set in ctor, used in MsgCreate method 109 LPSTR tmpDlgTemplate; //set in ctor, used in MsgCreate method 115 DWORD tmpParam; //set in ctor, used in MsgCreate method 116 LPSTR tmpDlgTemplate; //set in ctor, used in MsgCreate method 117 private: 118 static BOOL fInitialized; 119 static int xBaseUnit; 120 static int yBaseUnit; 110 121 }; 111 122
Note:
See TracChangeset
for help on using the changeset viewer.