Main Page Namespace List Class Hierarchy Compound List File List Namespace Members Compound Members File Members Related Pages

# CommonDlg.h

Go to the documentation of this file.

    00001
    00002
    00003
    00004 #ifndef COMMONDLG_H
    00005 #define COMMONDLG_H
    00006
    00007 #include "Component.h"
    00008
    00009 namespace wkgl {
    00010
    00015 char* showOpenFileDlg( Component *parent,
    00016                        const char* default_dir = NULL,
    00017                        const char* filter = NULL,
    00018                        DWORD deffilter_index = 0,
    00019                        DWORD flags = 0 );
    00020
    00025 char* showSaveFileDlg( Component *parent,
    00026                        const char* default_dir = NULL,
    00027                        const char* filter = NULL,
    00028                        DWORD deffilter_index = 0,
    00029                        DWORD flags = 0 );
    00030
    00034 extern "C" void showErrorDlg( Component *parent, const char* text,
    00035                               const char* caption = NULL,
    00036                               DWORD style = MB_OK | MB_ICONERROR );
    00037
    00041 extern "C" int showMessageBox( Component *parent, const char* text,
    00042                                const char* caption = NULL,
    00043                                DWORD style = MB_OK );
    00044 }
    00045 #endif