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