Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

windlg.cpp File Reference

#include <ctype.h>
#include <wchar.h>
#include <os2win.h>
#include <misc.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <limits.h>
#include <errno.h>
#include "win32wbase.h"
#include "win32dlg.h"
#include <heapstring.h>
#include <win\drive.h>
#include <custombuild.h>
#include "dbglocal.h"

Include dependency graph for windlg.cpp:

Include dependency graph

Go to the source code of this file.

Defines

#define DBG_LOCALLOG   DBG_windlg
#define WIN_GetFullHandle(a)   a
#define SENDMSG(msg, wparam, lparam)

Functions

INT DIALOG_DlgDirListW (HWND hDlg, LPWSTR spec, INT idLBox, INT idStatic, UINT attrib, BOOL combo)
INT DIALOG_DlgDirList (HWND hDlg, LPSTR spec, INT idLBox, INT idStatic, UINT attrib, BOOL combo)
BOOL DIALOG_DlgDirSelect (HWND hwnd, LPSTR str, INT len, INT id, BOOL win32, BOOL unicode, BOOL combo)
HWND WIN32API CreateDialogParamA (HINSTANCE hInst, LPCSTR lpszTemplate, HWND hwndOwner, DLGPROC dlgproc, LPARAM lParamInit)
HWND WIN32API CreateDialogParamW (HINSTANCE hInst, LPCWSTR lpszTemplate, HWND hwndOwner, DLGPROC dlgproc, LPARAM lParamInit)
BOOL WIN32API SetDialogHook (HOOKPROC pfnDialogProc)
BOOL WIN32API ClearDialogHook ()
HWND WIN32API CreateDialogIndirectParamA (HINSTANCE hInst, LPCDLGTEMPLATEA dlgtemplate, HWND hwndOwner, DLGPROC dlgproc, LPARAM lParamInit)
HWND WIN32API CreateDialogIndirectParamW (HINSTANCE hInst, LPCDLGTEMPLATEW dlgtemplate, HWND hwndOwner, DLGPROC dlgproc, LPARAM lParamInit)
INT WIN32API DialogBoxIndirectParamA (HINSTANCE hInst, LPCDLGTEMPLATEA dlgtemplate, HWND hwndOwner, DLGPROC dlgproc, LPARAM lParamInit)
INT WIN32API DialogBoxIndirectParamW (HINSTANCE hInst, LPCDLGTEMPLATEW dlgtemplate, HWND hwndOwner, DLGPROC dlgproc, LPARAM lParamInit)
int WIN32API DialogBoxParamA (HINSTANCE hInst, LPCSTR lpszTemplate, HWND hwndOwner, DLGPROC dlgproc, LPARAM lParamInit)
int WIN32API DialogBoxParamW (HINSTANCE hInst, LPCWSTR lpszTemplate, HWND hwndOwner, DLGPROC dlgproc, LPARAM lParamInit)
BOOL WIN32API MapDialogRect (HWND hwndDlg, LPRECT rect)
BOOL WIN32API IsDlgButtonChecked (HWND hwnd, UINT id)
HWND DIALOG_GetNextTabItem (HWND hwndMain, HWND hwndDlg, HWND hwndCtrl, BOOL fPrevious)
HWND WIN32API GetNextDlgTabItem (HWND hwndDlg, HWND hwndCtrl, BOOL fPrevious)
HWND WIN32API GetDlgItem (HWND hwnd, int id)
int WIN32API GetDlgCtrlID (HWND hwnd)
BOOL WIN32API EndDialog (HWND hwnd, int retval)
BOOL WIN32API CheckDlgButton (HWND hwnd, int id, UINT check)
BOOL WIN32API CheckRadioButton (HWND hDlg, UINT nIDFirstButton, UINT nIDLastButton, UINT nIDCheckButton)
UINT WIN32API GetDlgItemTextA (HWND hwnd, int id, LPSTR lpszName, UINT cch)
UINT WIN32API GetDlgItemTextW (HWND hwnd, int id, LPWSTR lpszName, UINT cch)
BOOL WIN32API SetDlgItemInt (HWND hwnd, int idControl, UINT uValue, BOOL fSigned)
BOOL WIN32API SetDlgItemTextA (HWND hwnd, int id, LPCSTR lpszName)
BOOL WIN32API SetDlgItemTextW (HWND hwnd, int id, LPCWSTR lpszName)
UINT WIN32API GetDlgItemInt (HWND hwnd, INT id, BOOL *translated, BOOL fSigned)
HWND WIN32API GetNextDlgGroupItem (HWND hwndDlg, HWND hwndCtrl, BOOL fPrevious)
DWORD WIN32API GetDialogBaseUnits (void)
INT WIN32API DlgDirListA (HWND hDlg, LPSTR spec, INT idLBox, INT idStatic, UINT attrib)
int WIN32API DlgDirListW (HWND hDlg, LPWSTR spec, INT idLBox, INT idStatic, UINT attrib)
INT WIN32API DlgDirListComboBoxA (HWND hDlg, LPSTR spec, INT idCBox, INT idStatic, UINT attrib)
INT WIN32API DlgDirListComboBoxW (HWND hDlg, LPWSTR spec, INT idCBox, INT idStatic, UINT attrib)
BOOL WIN32API DlgDirSelectComboBoxExA (HWND hwnd, LPSTR str, INT len, INT id)
BOOL WIN32API DlgDirSelectComboBoxExW (HWND hwnd, LPWSTR str, INT len, INT id)
BOOL WIN32API DlgDirSelectExA (HWND hwnd, LPSTR str, INT len, INT id)
BOOL WIN32API DlgDirSelectExW (HWND hwnd, LPWSTR str, INT len, INT id)

Variables

HOOKPROC pfnDialogHook = NULL


Define Documentation

#define DBG_LOCALLOG   DBG_windlg
 

Definition at line 29 of file windlg.cpp.

#define WIN_GetFullHandle      a
 

Referenced by DefMDIChildProcA(), DefMDIChildProcW(), GetNextDlgGroupItem(), and MDIClientWndProc_common().

#define SENDMSG msg,
wparam,
lparam   
 

Value:

((attrib & DDL_POSTMSGS) ? PostMessageA( hwnd, msg, wparam, lparam ) \
                             : SendMessageA( hwnd, msg, wparam, lparam ))

Referenced by DIALOG_DlgDirList().


Function Documentation

INT DIALOG_DlgDirListW HWND    hDlg,
LPWSTR    spec,
INT    idLBox,
INT    idStatic,
UINT    attrib,
BOOL    combo
[static]
 

Definition at line 843 of file windlg.cpp.

Referenced by DlgDirListComboBoxW(), and DlgDirListW().

INT DIALOG_DlgDirList HWND    hDlg,
LPSTR    spec,
INT    idLBox,
INT    idStatic,
UINT    attrib,
BOOL    combo
[static]
 

Definition at line 749 of file windlg.cpp.

Referenced by DIALOG_DlgDirListW(), DlgDirListA(), and DlgDirListComboBoxA().

BOOL DIALOG_DlgDirSelect HWND    hwnd,
LPSTR    str,
INT    len,
INT    id,
BOOL    win32,
BOOL    unicode,
BOOL    combo
[static]
 

Definition at line 697 of file windlg.cpp.

Referenced by DlgDirSelectComboBoxExA(), DlgDirSelectComboBoxExW(), DlgDirSelectExA(), and DlgDirSelectExW().

HWND WIN32API CreateDialogParamA HINSTANCE    hInst,
LPCSTR    lpszTemplate,
HWND    hwndOwner,
DLGPROC    dlgproc,
LPARAM    lParamInit
 

Definition at line 38 of file windlg.cpp.

Referenced by DialogBoxParamA().

HWND WIN32API CreateDialogParamW HINSTANCE    hInst,
LPCWSTR    lpszTemplate,
HWND    hwndOwner,
DLGPROC    dlgproc,
LPARAM    lParamInit
 

Definition at line 54 of file windlg.cpp.

Referenced by DialogBoxParamW().

BOOL WIN32API SetDialogHook HOOKPROC    pfnDialogProc
 

Definition at line 73 of file windlg.cpp.

BOOL WIN32API ClearDialogHook  
 

Definition at line 81 of file windlg.cpp.

HWND WIN32API CreateDialogIndirectParamA HINSTANCE    hInst,
LPCDLGTEMPLATEA    dlgtemplate,
HWND    hwndOwner,
DLGPROC    dlgproc,
LPARAM    lParamInit
 

Definition at line 88 of file windlg.cpp.

Referenced by CreateDialogParamA(), and DialogBoxIndirectParamA().

HWND WIN32API CreateDialogIndirectParamW HINSTANCE    hInst,
LPCDLGTEMPLATEW    dlgtemplate,
HWND    hwndOwner,
DLGPROC    dlgproc,
LPARAM    lParamInit
 

Definition at line 125 of file windlg.cpp.

Referenced by CreateDialogParamW(), and DialogBoxIndirectParamW().

INT WIN32API DialogBoxIndirectParamA HINSTANCE    hInst,
LPCDLGTEMPLATEA    dlgtemplate,
HWND    hwndOwner,
DLGPROC    dlgproc,
LPARAM    lParamInit
 

Definition at line 162 of file windlg.cpp.

Referenced by MDI_MoreWindowsDialog(), MessageBoxA(), and MessageBoxIndirectA().

INT WIN32API DialogBoxIndirectParamW HINSTANCE    hInst,
LPCDLGTEMPLATEW    dlgtemplate,
HWND    hwndOwner,
DLGPROC    dlgproc,
LPARAM    lParamInit
 

Definition at line 189 of file windlg.cpp.

int WIN32API DialogBoxParamA HINSTANCE    hInst,
LPCSTR    lpszTemplate,
HWND    hwndOwner,
DLGPROC    dlgproc,
LPARAM    lParamInit
 

Definition at line 215 of file windlg.cpp.

int WIN32API DialogBoxParamW HINSTANCE    hInst,
LPCWSTR    lpszTemplate,
HWND    hwndOwner,
DLGPROC    dlgproc,
LPARAM    lParamInit
 

Definition at line 240 of file windlg.cpp.

BOOL WIN32API MapDialogRect HWND    hwndDlg,
LPRECT    rect
 

Definition at line 266 of file windlg.cpp.

BOOL WIN32API IsDlgButtonChecked HWND    hwnd,
UINT    id
 

Definition at line 288 of file windlg.cpp.

HWND DIALOG_GetNextTabItem HWND    hwndMain,
HWND    hwndDlg,
HWND    hwndCtrl,
BOOL    fPrevious
[static]
 

Definition at line 299 of file windlg.cpp.

Referenced by GetNextDlgTabItem().

HWND WIN32API GetNextDlgTabItem HWND    hwndDlg,
HWND    hwndCtrl,
BOOL    fPrevious
 

Definition at line 404 of file windlg.cpp.

HWND WIN32API GetDlgItem HWND    hwnd,
int    id
 

Definition at line 419 of file windlg.cpp.

Referenced by DIALOG_DlgDirList(), DIALOG_DlgDirSelect(), DIALOG_IsDialogMessage(), EDIT_WM_KeyDown(), EDIT_WM_NCCreate(), MDI_MoreWindowsDlgProc(), and MSGBOX_OnInit().

int WIN32API GetDlgCtrlID HWND    hwnd
 

Definition at line 442 of file windlg.cpp.

BOOL WIN32API EndDialog HWND    hwnd,
int    retval
 

Definition at line 457 of file windlg.cpp.

Referenced by MDI_MoreWindowsDlgProc(), and MSGBOX_DlgProc().

BOOL WIN32API CheckDlgButton HWND    hwnd,
int    id,
UINT    check
 

Definition at line 472 of file windlg.cpp.

BOOL WIN32API CheckRadioButton HWND    hDlg,
UINT    nIDFirstButton,
UINT    nIDLastButton,
UINT    nIDCheckButton
 

Definition at line 480 of file windlg.cpp.

UINT WIN32API GetDlgItemTextA HWND    hwnd,
int    id,
LPSTR    lpszName,
UINT    cch
 

Definition at line 500 of file windlg.cpp.

UINT WIN32API GetDlgItemTextW HWND    hwnd,
int    id,
LPWSTR    lpszName,
UINT    cch
 

Definition at line 506 of file windlg.cpp.

BOOL WIN32API SetDlgItemInt HWND    hwnd,
int    idControl,
UINT    uValue,
BOOL    fSigned
 

Definition at line 512 of file windlg.cpp.

BOOL WIN32API SetDlgItemTextA HWND    hwnd,
int    id,
LPCSTR    lpszName
 

Definition at line 526 of file windlg.cpp.

Referenced by DIALOG_DlgDirList().

BOOL WIN32API SetDlgItemTextW HWND    hwnd,
int    id,
LPCWSTR    lpszName
 

Definition at line 532 of file windlg.cpp.

UINT WIN32API GetDlgItemInt HWND    hwnd,
INT    id,
BOOL *    translated,
BOOL    fSigned
 

Definition at line 538 of file windlg.cpp.

HWND WIN32API GetNextDlgGroupItem HWND    hwndDlg,
HWND    hwndCtrl,
BOOL    fPrevious
 

Definition at line 570 of file windlg.cpp.

Referenced by BUTTON_CheckAutoRadioButton(), and DIALOG_IsDialogMessage().

DWORD WIN32API GetDialogBaseUnits void   
 

Definition at line 640 of file windlg.cpp.

INT WIN32API DlgDirListA HWND    hDlg,
LPSTR    spec,
INT    idLBox,
INT    idStatic,
UINT    attrib
 

Definition at line 646 of file windlg.cpp.

int WIN32API DlgDirListW HWND    hDlg,
LPWSTR    spec,
INT    idLBox,
INT    idStatic,
UINT    attrib
 

Definition at line 652 of file windlg.cpp.

INT WIN32API DlgDirListComboBoxA HWND    hDlg,
LPSTR    spec,
INT    idCBox,
INT    idStatic,
UINT    attrib
 

Definition at line 658 of file windlg.cpp.

INT WIN32API DlgDirListComboBoxW HWND    hDlg,
LPWSTR    spec,
INT    idCBox,
INT    idStatic,
UINT    attrib
 

Definition at line 664 of file windlg.cpp.

BOOL WIN32API DlgDirSelectComboBoxExA HWND    hwnd,
LPSTR    str,
INT    len,
INT    id
 

Definition at line 670 of file windlg.cpp.

BOOL WIN32API DlgDirSelectComboBoxExW HWND    hwnd,
LPWSTR    str,
INT    len,
INT    id
 

Definition at line 676 of file windlg.cpp.

BOOL WIN32API DlgDirSelectExA HWND    hwnd,
LPSTR    str,
INT    len,
INT    id
 

Definition at line 682 of file windlg.cpp.

BOOL WIN32API DlgDirSelectExW HWND    hwnd,
LPWSTR    str,
INT    len,
INT    id
 

Definition at line 688 of file windlg.cpp.


Variable Documentation

HOOKPROC pfnDialogHook = NULL [static]
 

Definition at line 71 of file windlg.cpp.

Referenced by CreateDialogIndirectParamA(), and CreateDialogIndirectParamW().


Generated on Wed Jan 23 23:21:27 2002 for ODIN-user32 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001