FRX SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
CAdUiRichEditCtrl.h
Go to the documentation of this file.
1#pragma once
2
3//
4// (C) Copyright 2005-2023 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
19class CWnd;
20class ARX_API CAdUiRichEditCtrl : public CRichEditCtrl
21{
22 DECLARE_DYNAMIC( CAdUiRichEditCtrl )
23public:
24 static bool m_bInitOnce;
25
26public:
27 CAdUiRichEditCtrl(bool = false);
29 bool IsThemed(void);
32 void AppendString( CString &,bool);
33 void SetBackgroundAndTextColor(unsigned long,unsigned long);
34 void SetIsThemed(bool);
35 void SetMargins(int,int);
36 void SetTitle(wchar_t const *);
37 void clear(void);
38 void streamIn(void);
39 virtual int PreTranslateMessage( tagMSG* );
40
41protected:
42 DECLARE_MESSAGE_MAP()
43 int OnCreate( tagCREATESTRUCTW *);
44 int OnEnLink( tagNMHDR *,__int64 *);
45 virtual void ThemeModified( AdUiThemeElement);
46 void OnSetFocus( CWnd *);
47 void OnSize(unsigned int,int,int);
48
49};
AdUiThemeElement
void clear(void)
int GetVerticalMargin(void)
int GetHorizontalMargin(void)
virtual int PreTranslateMessage(tagMSG *)
bool IsThemed(void)
void AppendString(CString &, bool)
void SetTitle(wchar_t const *)
void SetBackgroundAndTextColor(unsigned long, unsigned long)
void streamIn(void)
void SetIsThemed(bool)
CAdUiRichEditCtrl(bool=false)
void SetMargins(int, int)