FRX SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
CAdUiEdit.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 <afxwin.h>
20#include "Global Enums.h"
22class CDC;
23class CPoint;
24class CRect;
25class CWnd;
26template < typename Param1, typename Param2 > class StrTraitMFC_DLL;
27
28class ARX_API CAdUiEdit : public CEdit
29{
30public:
32
33public:
34 CAdUiEdit(void);
35 CWnd * GetAdUiParent(void);
36 int IsStyleMaskSet(unsigned long);
37 unsigned long GetStyleMask(void);
38 virtual ~CAdUiEdit(void);
39 virtual void GetContentExtent(wchar_t const *,int &,int &);
40 virtual void SetStyleMask(unsigned long);
41 void GetTextExtent(wchar_t const *,int &,int &);
42 void SetAdUiParent( CWnd *);
43
45
46protected:
48 DECLARE_MESSAGE_MAP()
49 virtual ADUI_REPLY DoAdUiMessage( ADUI_NOTIFY,unsigned int, LPARAM);
50 virtual ADUI_REPLY OnGetTipSupport( CPoint &);
51 virtual int OnDrawTipText( CAdUiDrawTipText &);
52 virtual int OnGetTipRect( CRect &);
53 virtual int OnGetTipText( CStringW &);
54 virtual int OnHitTipRect( CPoint &);
55 virtual void OnDrawTip( CDC &);
56 void OnMouseMove(unsigned int, CPoint);
57
59 CWnd *m_aduiParent;
60
61};
virtual void GetContentExtent(wchar_t const *, int &, int &)
CAdUiEdit(void)
unsigned long GetStyleMask(void)
DWORD m_styleMask
Definition CAdUiEdit.h:44
void GetTextExtent(wchar_t const *, int &, int &)
CWnd * GetAdUiParent(void)
virtual ~CAdUiEdit(void)
DECLARE_DYNAMIC(CAdUiEdit)
afx_msg LRESULT OnAdUiMessage(WPARAM wParam, LPARAM lParam)
void SetAdUiParent(CWnd *)
int IsStyleMaskSet(unsigned long)
virtual void SetStyleMask(unsigned long)