Changeset 4686 for trunk/src/user32/win32dlg.h
- Timestamp:
- Nov 24, 2000, 11:30:36 AM (25 years ago)
- File:
-
- 1 edited
-
trunk/src/user32/win32dlg.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32dlg.h
r3662 r4686 1 /* $Id: win32dlg.h,v 1.1 1 2000-06-07 14:51:30sandervl Exp $ */1 /* $Id: win32dlg.h,v 1.12 2000-11-24 10:30:36 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Dialog Code for OS/2 … … 75 75 virtual ULONG MsgCreate(HWND hwndOS2); 76 76 77 virtual LONG SetWindowLongA(int index, ULONG value, BOOL fUnicode = FALSE);78 virtual ULONG GetWindowLongA(int index, BOOL fUnicode = FALSE);77 virtual LONG SetWindowLongA(int index, ULONG value, BOOL fUnicode = FALSE); 78 virtual ULONG GetWindowLongA(int index, BOOL fUnicode = FALSE); 79 79 80 static ULONG GetDialogBaseUnits() { return MAKELONG(xBaseUnit, yBaseUnit); };80 static ULONG GetDialogBaseUnits() { return MAKELONG(xBaseUnit, yBaseUnit); }; 81 81 82 INT doDialogBox();82 INT doDialogBox(); 83 83 84 84 protected: 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);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); 89 89 WORD *getControl(const WORD *p, DLG_CONTROL_INFO *info, BOOL dialogEx); 90 BOOL createControls(LPCSTR dlgtemplate, HINSTANCE hInst);91 92 LRESULT DefDlg_Proc(UINT msg, WPARAM wParam, LPARAM lParam);90 BOOL createControls(LPCSTR dlgtemplate, HINSTANCE hInst); 91 92 LRESULT DefDlg_Proc(UINT msg, WPARAM wParam, LPARAM lParam); 93 93 LRESULT DefDlg_Epilog(UINT msg, BOOL fResult); 94 94 95 BOOL setDefButton(HWND hwndNew );96 HWND findDefButton();97 BOOL saveFocus();98 BOOL restoreFocus();99 void setFocus(HWND hwndCtrl );95 BOOL setDefButton(HWND hwndNew ); 96 HWND findDefButton(); 97 BOOL saveFocus(); 98 BOOL restoreFocus(); 99 void setFocus(HWND hwndCtrl ); 100 100 101 // values normally contained in the standard dialog words102 DLGPROC Win32DlgProc;//DWL_WNDPROC103 ULONG msgResult;//DWL_MSGRESULT104 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 105 105 106 106 DLG_TEMPLATE dlgInfo; 107 WORD xUnit; 108 WORD yUnit; 109 HWND hwndFocus; 110 HFONT hUserFont; 111 HMENU hMenu; 112 DWORD idResult; 113 DWORD dialogFlags; 107 WORD xUnit; 108 WORD yUnit; 109 HWND hwndFocus; 110 HFONT hUserFont; 111 HMENU hMenu; 112 DWORD idResult; 113 DWORD dialogFlags; 114 BOOL fDialogInit; 114 115 115 DWORD tmpParam; //set in ctor, used in MsgCreate method 116 LPSTR tmpDlgTemplate; //set in ctor, used in MsgCreate method 116 DWORD tmpParam; //set in ctor, used in MsgCreate method 117 LPSTR tmpDlgTemplate; //set in ctor, used in MsgCreate method 118 117 119 private: 118 120 static BOOL fInitialized;
Note:
See TracChangeset
for help on using the changeset viewer.
