FRX SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
CAdUiStatusCtrl.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
19class CDC;
20class CFont;
21class CPoint;
22class CWnd;
23template < typename Param1, typename Param2 > class StrTraitMFC_DLL;
24
26{
27public:
30 unsigned long GetBkColor(void)const ;
31 unsigned long GetBorderColor(void)const ;
32 unsigned long GetTextColor(void)const ;
33 virtual ~CAdUiStatusCtrl(void);
34 virtual int Create(wchar_t const *,unsigned long, tagRECT const &, CWnd *,unsigned int);
35 virtual int PreTranslateMessage( tagMSG *);
36 void SetBkColor(unsigned long);
37 void SetBorderColor(unsigned long);
38 void SetTextColor(unsigned long);
40
41protected:
45 long OnOcmDrawItem(unsigned int,long);
46 //DECLARE_MESSAGE_MAP()
48 virtual const AFX_MSGMAP* GetMessageMap() const;
49 virtual void DrawItem( tagDRAWITEMSTRUCT *);
50 void DrawTextW( CDC *, CStringW &, tagRECT *);
51 void OnMouseMove(unsigned int, CPoint);
52 void OnRButtonDown(unsigned int, CPoint);
53 void OnSetFocus( CWnd *);
54 void OnSize(unsigned int,int,int);
56
57};
void SetTextFont(CFont *)
virtual int PreTranslateMessage(tagMSG *)
unsigned long GetTextColor(void) const
void OnSetFocus(CWnd *)
virtual void DrawItem(tagDRAWITEMSTRUCT *)
void OnMouseMove(unsigned int, CPoint)
CFont * GetTextFont(void)
int RemoveWord(CStringW &)
virtual ~CAdUiStatusCtrl(void)
unsigned long GetBkColor(void) const
virtual int Create(wchar_t const *, unsigned long, tagRECT const &, CWnd *, unsigned int)
void OnSize(unsigned int, int, int)
void SetBkColor(unsigned long)
static const AFX_MSGMAP *PASCAL GetThisMessageMap()
long OnOcmDrawItem(unsigned int, long)
void OnRButtonDown(unsigned int, CPoint)
unsigned long GetBorderColor(void) const
void DrawTextW(CDC *, CStringW &, tagRECT *)
void UpdateTooltipText(CPoint)
int OnCreate(tagCREATESTRUCTW *)
int OnEraseBkgnd(CDC *)
void SetBorderColor(unsigned long)
void SetTextColor(unsigned long)
virtual const AFX_MSGMAP * GetMessageMap() const