Ignore:
Timestamp:
Oct 30, 1999, 8:40:49 PM (26 years ago)
Author:
cbratschi
Message:

button, static, scroll and dialog fixes

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 sandervl Exp $ */
     1/* $Id: win32dlg.h,v 1.6 1999-10-30 18:40:47 cbratschi Exp $ */
    22/*
    33 * Win32 Dialog Code for OS/2
     
    6969Win32BaseWindow *getDlgItem(int id) { return FindWindowById(id); };
    7070
    71          HWND   getNextDlgTabItem(HWND hwndCtrl, BOOL fPrevious);
    72          HWND   getNextDlgGroupItem(HWND hwndCtrl, BOOL fPrevious);
    7371         BOOL   endDialog(int retval);
    74 
    75          BOOL   MapDialogRect(LPRECT rect);
    7672
    7773virtual  ULONG  MsgCreate(HWND hwndFrame, HWND hwndClient);
    7874
    79 virtual  LONG   SetWindowLongA(int index, ULONG value);
    80 virtual  ULONG  GetWindowLongA(int index);
     75virtual  LONG   SetWindowLongA(int index, ULONG value);
     76virtual  ULONG  GetWindowLongA(int index);
    8177
    82 static   ULONG  GetDialogBaseUnits()  { return MAKELONG(xBaseUnit, yBaseUnit); };
    83 
    84            INT  doDialogBox();
     78           INT  doDialogBox();
    8579
    8680protected:
    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);
    9182        WORD   *getControl(const WORD *p, DLG_CONTROL_INFO *info, BOOL dialogEx);
    92         BOOL    createControls(LPCSTR dlgtemplate, HINSTANCE hInst);
    93        
    94         LRESULT DefDlg_Proc(UINT msg, WPARAM wParam, LPARAM lParam);
     83        BOOL    createControls(LPCSTR dlgtemplate, HINSTANCE hInst);
     84
     85        LRESULT DefDlg_Proc(UINT msg, WPARAM wParam, LPARAM lParam);
    9586        LRESULT DefDlg_Epilog(UINT msg, BOOL fResult);
    9687
    97         BOOL    setDefButton(HWND hwndNew );
    98         HWND    findDefButton();
    99         BOOL    saveFocus();
    100         BOOL    restoreFocus();
    101         void    setFocus(HWND hwndCtrl );
     88        BOOL    setDefButton(HWND hwndNew );
     89        HWND    findDefButton();
     90        BOOL    saveFocus();
     91        BOOL    restoreFocus();
     92        void    setFocus(HWND hwndCtrl );
    10293
    103         // values normally contained in the standard dialog words
    104       DLGPROC   Win32DlgProc;   //DWL_WNDPROC
    105         ULONG   msgResult;      //DWL_MSGRESULT
    106         ULONG   userDlgData;    //DWL_USER
     94        // values normally contained in the standard dialog words
     95      DLGPROC   Win32DlgProc;   //DWL_WNDPROC
     96        ULONG   msgResult;      //DWL_MSGRESULT
     97        ULONG   userDlgData;    //DWL_USER
    10798
    10899   DLG_TEMPLATE dlgInfo;
    109         WORD    xUnit;
    110         WORD    yUnit;
    111         HWND    hwndFocus;
    112         HFONT   hUserFont;
    113         HMENU   hMenu;
    114         DWORD   idResult;
    115         DWORD   dialogFlags;
     100        WORD    xUnit;
     101        WORD    yUnit;
     102        HWND    hwndFocus;
     103        HFONT   hUserFont;
     104        HMENU   hMenu;
     105        DWORD   idResult;
     106        DWORD   dialogFlags;
    116107
    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
    123110};
    124111
Note: See TracChangeset for help on using the changeset viewer.