FRX SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
CAdUiFileDialog.h
Go to the documentation of this file.
1#pragma once
2
3//
4// (C) Copyright 2005-2024 by Graebert GmbH.
5//
6// Permission to use, copy, modify, and distribute this software in
7// object code form for any purpose and without fee is hereby granted,
8// provided that the above copyright notice appears in all copies and
9// that both that copyright notice and the limited warranty and
10// restricted rights notice below appear in all supporting
11// documentation.
12//
13// GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
14// GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
15// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
16// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
17// UNINTERRUPTED OR ERROR FREE.
18
19#include <afxdlgs.h>
20class CDC;
21class CDataExchange;
22class CWnd;
23
24class ARX_API CAdUiFileDialog : public CFileDialog
25{
26public:
28
29public:
31 CAdUiFileDialog(int,wchar_t const * = NULL,wchar_t const * = NULL,unsigned long = OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT,wchar_t const * = NULL, CWnd * = NULL, HINSTANCE__ * = NULL);
33 int GetUseTips(void);
35 virtual ~CAdUiFileDialog(void);
36 virtual CWnd * AppMainWindow(void);
37 virtual int DoDialogHelp(void);
38 virtual INT_PTR DoModal(void);
39 virtual int PreTranslateMessage( tagMSG *);
41 virtual void EnableFloatingWindows(int);
42 virtual void OnDialogHelp(void);
43 virtual wchar_t const * AppRootKey(void);
46 void SetContextHelpFileName(wchar_t const *);
47 void SetContextHelpFullPathName(wchar_t const *);
48 void SetContextHelpPrefix(wchar_t const *);
49 void SetDialogHelpTag(wchar_t const *);
51 void SetDialogName(wchar_t const *);
52 void SetUseTips(int);
53 wchar_t const * GetContextHelpFileName(void);
54 wchar_t const * GetContextHelpFullPathName(void);
55 wchar_t const * GetContextHelpPrefix(void);
56
57protected:
59 int OnNotify_ToolTipText(unsigned int, tagNMHDR *,LRESULT *);
61 DECLARE_MESSAGE_MAP()
62 HBRUSH__ * OnCtlColor( CDC *, CWnd *,unsigned int);
63 virtual ADUI_REPLY DoAdUiMessage( ADUI_NOTIFY,unsigned int, LPARAM);
64 virtual ADUI_REPLY OnNotifyControlChange(unsigned int,LPARAM);
65 virtual ADUI_REPLY OnNotifyControlValid(unsigned int,int);
66 virtual ADUI_REPLY OnNotifyGeneric(unsigned int,LPARAM);
67 virtual ADUI_REPLY OnNotifyUpdateTip( CWnd *);
68 virtual int FindContextHelpFullPath(wchar_t const *, CStringW &);
69 virtual int OnInitDialog(void);
70 virtual int PreCreateWindow( tagCREATESTRUCTW &);
71 virtual void DoDataExchange( CDataExchange *);
72 virtual void OnInitDialogBegin(void);
73 virtual void OnInitDialogFinish(void);
74 virtual void PostNcDestroy(void);
75 void BeginEditorCommand(void);
76 void CancelEditorCommand(void);
77 void CompleteEditorCommand(int);
78 void MakeDialogsVisible(int);
79
80};
void SetContextHelpFullPathName(wchar_t const *)
void SetDialogName(wchar_t const *)
wchar_t const * GetContextHelpPrefix(void)
afx_msg LRESULT OnAdUiMessage(WPARAM wParam, LPARAM lParam)
DECLARE_DYNAMIC(CAdUiFileDialog)
virtual void EnableFloatingWindows(int)
virtual int DoDialogHelp(void)
void SetContextHelpFileName(wchar_t const *)
void GetDialogHelpTag(CStringW &)
virtual int PreTranslateMessage(tagMSG *)
CAdUiFileDialog(int, wchar_t const *=NULL, wchar_t const *=NULL, unsigned long=OFN_HIDEREADONLY|OFN_OVERWRITEPROMPT, wchar_t const *=NULL, CWnd *=NULL, HINSTANCE__ *=NULL)
wchar_t const * GetContextHelpFullPathName(void)
virtual CWnd * AppMainWindow(void)
void SetDialogHelpTag(wchar_t const *)
void SetUseTips(int)
virtual wchar_t const * AppRootKey(void)
virtual void OnDialogHelp(void)
void SetDialogIcon(HICON__ *)
int EditorCommandCancelled(void)
virtual ~CAdUiFileDialog(void)
void SetContextHelpPrefix(wchar_t const *)
int OnHelpInfo(tagHELPINFO *)
void GetDialogName(CStringW &)
HICON__ * GetDialogIcon(void)
int GetUseTips(void)
void AutoHiDPIScaleNavButtons(void)
int OnNotify_ToolTipText(unsigned int, tagNMHDR *, LRESULT *)
wchar_t const * GetContextHelpFileName(void)
virtual INT_PTR DoModal(void)
virtual HINSTANCE__ * AppResourceInstance(void)