Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs | Functions
nsWidgetDefs.h File Reference
#include "nsIWidget.h"
#include "nsVoidArray.h"
#include <os2.h>
#include <uconv.h>
#include <unikbd.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _tagOFN
struct  _WZDROPXFER

Defines

#define INCL_PM
#define INCL_NLS
#define INCL_DOS
#define INCL_WINSTDFILE
#define INCL_DOSERRORS
#define UNICHAR_TYPE_DEFINED
#define MAX_PATH   CCHMAXPATH
#define OFN_READONLY   0x00000001
#define OFN_OVERWRITEPROMPT   0x00000002
#define OFN_HIDEREADONLY   0x00000004
#define OFN_NOCHANGEDIR   0x00000008
#define OFN_SHOWHELP   0x00000010
#define OFN_ENABLEHOOK   0x00000020
#define OFN_ENABLETEMPLATE   0x00000040
#define OFN_ENABLETEMPLATEHANDLE   0x00000080
#define OFN_NOVALIDATE   0x00000100
#define OFN_ALLOWMULTISELECT   0x00000200
#define OFN_EXTENSIONDIFFERENT   0x00000400
#define OFN_PATHMUSTEXIST   0x00000800
#define OFN_FILEMUSTEXIST   0x00001000
#define OFN_CREATEPROMPT   0x00002000
#define OFN_SHAREAWARE   0x00004000
#define OFN_NOREADONLYRETURN   0x00008000
#define OFN_NOTESTFILECREATE   0x00010000
#define OFN_NONETWORKBUTTON   0x00020000
#define OFN_NOLONGNAMES   0x00040000
#define SUPPORT_NON_XPFE   /* support for viewer.exe */
#define WMU_CALLMETHOD   (WM_USER + 1)
#define WMU_SENDMSG   (WM_USER + 2)
#define WMU_SHOW_TOOLTIP   (WM_USER + 3)
#define WMU_HIDE_TOOLTIP   (WM_USER + 4)
#define WMU_GETFLAVOURLEN   (WM_USER + 5)
#define WMU_GETFLAVOURDATA   (WM_USER + 6)
#define WinIsKeyDown(vk)   ((WinGetKeyState(HWND_DESKTOP,vk) & 0x8000) ? PR_TRUE : PR_FALSE)
#define WM_MOUSEENTER   0x041E
#define WM_MOUSELEAVE   0x041F
#define WM_FOCUSCHANGED   0x000E
#define FCF_CLOSEBUTTON   0x04000000L
#define FCF_DIALOGBOX   0x40000000L
#define DRT_URL   "UniformResourceLocator"
#define BASE_CONTROL_STYLE   WS_TABSTOP
#define NS_MIT_END   ((const PRUint32) MIT_END)
#define NS_DECL_LABEL
#define NS_IMPL_LABEL(_clsname)
#define lastchar(s)   *((s) + strlen((s)) - 1)

Typedefs

typedef struct _tagOFN OPENFILENAME
typedef struct _tagOFNPOPENFILENAME
typedef struct _tagOFNLPOPENFILENAME
typedef struct _WZDROPXFER WZDROPXFER
typedef struct _WZDROPXFERPWZDROPXFER

Functions

BOOL APIENTRY DaxOpenSave (BOOL, LONG *, LPOPENFILENAME, PFNWP)

Class Documentation

struct _tagOFN

Definition at line 87 of file nsWidgetDefs.h.

Class Members
ULONG Flags
HMODULE hInstance
HWND hwndOwner
ULONG lCustData
PFN lpfnHook
PSZ lpstrCustomFilter
PCSZ lpstrDefExt
PSZ lpstrFile
PSZ lpstrFileTitle
PCSZ lpstrFilter
PCSZ lpstrInitialDir
PCSZ lpstrTitle
PCSZ lpTemplateName
ULONG lStructSize
USHORT nFileExtension
USHORT nFileOffset
ULONG nFilterIndex
ULONG nMaxCustFilter
ULONG nMaxFile
ULONG nMaxFileTitle
struct _WZDROPXFER

Definition at line 139 of file nsWidgetDefs.h.

Class Members
CHAR data
ATOM hAtomFlavour

Define Documentation

#define BASE_CONTROL_STYLE   WS_TABSTOP

Definition at line 184 of file nsWidgetDefs.h.

#define DRT_URL   "UniformResourceLocator"

Definition at line 181 of file nsWidgetDefs.h.

#define FCF_CLOSEBUTTON   0x04000000L

Definition at line 173 of file nsWidgetDefs.h.

#define FCF_DIALOGBOX   0x40000000L

Definition at line 177 of file nsWidgetDefs.h.

Definition at line 47 of file nsWidgetDefs.h.

Definition at line 49 of file nsWidgetDefs.h.

Definition at line 46 of file nsWidgetDefs.h.

Definition at line 45 of file nsWidgetDefs.h.

Definition at line 48 of file nsWidgetDefs.h.

#define lastchar (   s)    *((s) + strlen((s)) - 1)

Definition at line 211 of file nsWidgetDefs.h.

#define MAX_PATH   CCHMAXPATH

Definition at line 60 of file nsWidgetDefs.h.

Value:
NS_IMETHOD SetLabel( const nsString &aText); \
   NS_IMETHOD GetLabel( nsString &aBuffer);

Definition at line 192 of file nsWidgetDefs.h.

#define NS_IMPL_LABEL (   _clsname)
Value:
nsresult _clsname::SetLabel( const nsString &aText) \
   {                                                   \
      SetTitle( aText);                                \
      return NS_OK;                                    \
   }                                                   \
                                                       \
   nsresult _clsname::GetLabel( nsString &aBuffer)     \
   {                                                   \
      PRUint32 dummy;                                  \
      GetWindowText( aBuffer, &dummy);                 \
      return NS_OK;                                    \
   }

Definition at line 196 of file nsWidgetDefs.h.

#define NS_MIT_END   ((const PRUint32) MIT_END)

Definition at line 186 of file nsWidgetDefs.h.

#define OFN_ALLOWMULTISELECT   0x00000200

Definition at line 76 of file nsWidgetDefs.h.

#define OFN_CREATEPROMPT   0x00002000

Definition at line 80 of file nsWidgetDefs.h.

#define OFN_ENABLEHOOK   0x00000020

Definition at line 72 of file nsWidgetDefs.h.

#define OFN_ENABLETEMPLATE   0x00000040

Definition at line 73 of file nsWidgetDefs.h.

#define OFN_ENABLETEMPLATEHANDLE   0x00000080

Definition at line 74 of file nsWidgetDefs.h.

#define OFN_EXTENSIONDIFFERENT   0x00000400

Definition at line 77 of file nsWidgetDefs.h.

#define OFN_FILEMUSTEXIST   0x00001000

Definition at line 79 of file nsWidgetDefs.h.

#define OFN_HIDEREADONLY   0x00000004

Definition at line 69 of file nsWidgetDefs.h.

#define OFN_NOCHANGEDIR   0x00000008

Definition at line 70 of file nsWidgetDefs.h.

#define OFN_NOLONGNAMES   0x00040000

Definition at line 85 of file nsWidgetDefs.h.

#define OFN_NONETWORKBUTTON   0x00020000

Definition at line 84 of file nsWidgetDefs.h.

#define OFN_NOREADONLYRETURN   0x00008000

Definition at line 82 of file nsWidgetDefs.h.

#define OFN_NOTESTFILECREATE   0x00010000

Definition at line 83 of file nsWidgetDefs.h.

#define OFN_NOVALIDATE   0x00000100

Definition at line 75 of file nsWidgetDefs.h.

#define OFN_OVERWRITEPROMPT   0x00000002

Definition at line 68 of file nsWidgetDefs.h.

#define OFN_PATHMUSTEXIST   0x00000800

Definition at line 78 of file nsWidgetDefs.h.

#define OFN_READONLY   0x00000001

Definition at line 67 of file nsWidgetDefs.h.

#define OFN_SHAREAWARE   0x00004000

Definition at line 81 of file nsWidgetDefs.h.

#define OFN_SHOWHELP   0x00000010

Definition at line 71 of file nsWidgetDefs.h.

#define SUPPORT_NON_XPFE   /* support for viewer.exe */

Definition at line 113 of file nsWidgetDefs.h.

Definition at line 56 of file nsWidgetDefs.h.

#define WinIsKeyDown (   vk)    ((WinGetKeyState(HWND_DESKTOP,vk) & 0x8000) ? PR_TRUE : PR_FALSE)

Definition at line 155 of file nsWidgetDefs.h.

#define WM_FOCUSCHANGED   0x000E

Definition at line 169 of file nsWidgetDefs.h.

#define WM_MOUSEENTER   0x041E

Definition at line 162 of file nsWidgetDefs.h.

#define WM_MOUSELEAVE   0x041F

Definition at line 165 of file nsWidgetDefs.h.

#define WMU_CALLMETHOD   (WM_USER + 1)

Definition at line 119 of file nsWidgetDefs.h.

#define WMU_GETFLAVOURDATA   (WM_USER + 6)

Definition at line 153 of file nsWidgetDefs.h.

#define WMU_GETFLAVOURLEN   (WM_USER + 5)

Definition at line 137 of file nsWidgetDefs.h.

#define WMU_HIDE_TOOLTIP   (WM_USER + 4)

Definition at line 126 of file nsWidgetDefs.h.

#define WMU_SENDMSG   (WM_USER + 2)

Definition at line 120 of file nsWidgetDefs.h.

#define WMU_SHOW_TOOLTIP   (WM_USER + 3)

Definition at line 123 of file nsWidgetDefs.h.


Typedef Documentation

typedef struct _tagOFN * LPOPENFILENAME
typedef struct _tagOFN OPENFILENAME
typedef struct _tagOFN * POPENFILENAME
typedef struct _WZDROPXFER * PWZDROPXFER
typedef struct _WZDROPXFER WZDROPXFER

Function Documentation

BOOL APIENTRY DaxOpenSave ( BOOL  ,
LONG ,
LPOPENFILENAME  ,
PFNWP   
)