Ignore:
Timestamp:
Nov 24, 2000, 11:30:36 AM (25 years ago)
Author:
sandervl
Message:

Dialog message fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/win32dlg.h

    r3662 r4686  
    1 /* $Id: win32dlg.h,v 1.11 2000-06-07 14:51:30 sandervl Exp $ */
     1/* $Id: win32dlg.h,v 1.12 2000-11-24 10:30:36 sandervl Exp $ */
    22/*
    33 * Win32 Dialog Code for OS/2
     
    7575virtual  ULONG  MsgCreate(HWND hwndOS2);
    7676
    77 virtual  LONG   SetWindowLongA(int index, ULONG value, BOOL fUnicode = FALSE);
    78 virtual  ULONG  GetWindowLongA(int index, BOOL fUnicode = FALSE);
     77virtual  LONG   SetWindowLongA(int index, ULONG value, BOOL fUnicode = FALSE);
     78virtual  ULONG  GetWindowLongA(int index, BOOL fUnicode = FALSE);
    7979
    80 static  ULONG  GetDialogBaseUnits()  { return MAKELONG(xBaseUnit, yBaseUnit); };
     80static  ULONG  GetDialogBaseUnits()  { return MAKELONG(xBaseUnit, yBaseUnit); };
    8181
    82            INT  doDialogBox();
     82       INT  doDialogBox();
    8383
    8484protected:
    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);
    8989        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);
    9393        LRESULT DefDlg_Epilog(UINT msg, BOOL fResult);
    9494
    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 );
    100100
    101         // values normally contained in the standard dialog words
    102       DLGPROC   Win32DlgProc;   //DWL_WNDPROC
    103         ULONG   msgResult;      //DWL_MSGRESULT
    104         ULONG   userDlgData;    //DWL_USER
     101    // values normally contained in the standard dialog words
     102    DLGPROC Win32DlgProc;   //DWL_WNDPROC
     103    ULONG   msgResult;  //DWL_MSGRESULT
     104    ULONG   userDlgData;    //DWL_USER
    105105
    106106   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;
    114115
    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
    117119private:
    118120 static BOOL    fInitialized;
Note: See TracChangeset for help on using the changeset viewer.