FRX SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
CAdUiHeaderCtrl.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
20class CDC;
21class CPoint;
22class CRect;
23class CWnd;
24template < typename Param1, typename Param2 > class StrTraitMFC_DLL;
25
26class ARX_API CAdUiHeaderCtrl : public CHeaderCtrl
27{
28public:
30
31public:
33 CWnd * GetAdUiParent(void);
35 int GetItemRect(int, CRect &);
36 int GetText(int, CStringW &);
37 int IsOwnerDraw(int);
38 virtual ~CAdUiHeaderCtrl(void);
39 virtual void GetContentExtent(int,wchar_t const *,int &,int &);
40 void GetTextExtent(wchar_t const *,int &,int &);
41 void SetAdUiParent( CWnd *);
42
43protected:
45 DECLARE_MESSAGE_MAP()
46 virtual ADUI_REPLY DoAdUiMessage( ADUI_NOTIFY,unsigned int, LPARAM);
47 virtual ADUI_REPLY OnGetTipSupport( CPoint &);
48 virtual int OnDrawTipText( CAdUiDrawTipText &);
49 virtual int OnGetTipRect( CRect &);
50 virtual int OnGetTipText( CStringW &);
51 virtual int OnHitTipRect( CPoint &);
52 virtual void OnDrawTip( CDC &);
53 void OnMouseMove(unsigned int, CPoint);
54
55};
CWnd * GetAdUiParent(void)
void SetAdUiParent(CWnd *)
int GetItemAtPoint(CPoint &)
afx_msg LRESULT OnAdUiMessage(WPARAM wParam, LPARAM lParam)
virtual void GetContentExtent(int, wchar_t const *, int &, int &)
virtual ~CAdUiHeaderCtrl(void)
DECLARE_DYNAMIC(CAdUiHeaderCtrl)
int GetText(int, CStringW &)
int GetItemRect(int, CRect &)
int IsOwnerDraw(int)
void GetTextExtent(wchar_t const *, int &, int &)