FRX SDK Documentation
2025 SP0
Loading...
Searching...
No Matches
SDK
FxARX
_impl_include
anav
CNavBitmapButton.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
20
#include <ShlObj.h>
21
#include <ShObjIdl.h>
22
23
class
CDC
;
24
class
CWnd;
25
template
<
typename
Param1,
typename
Param2 >
class
StrTraitMFC_DLL
;
26
27
class
ARX_API
CNavBitmapButton
28
{
29
public
:
30
DECLARE_DYNAMIC
(
CNavBitmapButton
);
31
32
public
:
33
CNavBitmapButton
(
void
);
34
int
GetCheckable
(
void
);
35
int
GetChecked
(
void
);
36
virtual
~CNavBitmapButton
(
void
);
37
void
ChangeBitmapColor
(
HBITMAP__
*,
unsigned
long
,
unsigned
long
,
HPALETTE__
*);
38
void
SetCheckable
(
int
);
39
void
SetChecked
(
int
);
40
void
SetTipText
(
wchar_t
const
*);
41
wchar_t
const
*
GetTipText
(
void
);
42
43
protected
:
44
//DECLARE_MESSAGE_MAP()
45
static
const
AFX_MSGMAP
*
PASCAL
GetThisMessageMap
();
46
virtual
const
AFX_MSGMAP
*
GetMessageMap
()
const
;
47
virtual
int
OnGetTipText
(
CStringW
&);
48
virtual
void
DrawButton
(
CDC
&,
int
,
int
,
int
,
int
,
int
,
int
);
49
void
OnKillFocus
( CWnd *);
50
void
OnSetFocus
( CWnd *);
51
52
private
:
53
void
ChangeBitmapColorDC(
HDC__
*,
tagBITMAP
*,
unsigned
long
,
unsigned
long
);
54
55
};
ARX_API
#define ARX_API
Definition
_impl_include/ac1st/CommonHeader.h:21
AcArrayObjectCopyReallocator
Definition
_AcArray.h:21
CNavBitmapButton
Definition
CNavBitmapButton.h:28
CNavBitmapButton::OnGetTipText
virtual int OnGetTipText(CStringW &)
CNavBitmapButton::~CNavBitmapButton
virtual ~CNavBitmapButton(void)
CNavBitmapButton::DrawButton
virtual void DrawButton(CDC &, int, int, int, int, int, int)
CNavBitmapButton::GetMessageMap
virtual const AFX_MSGMAP * GetMessageMap() const
CNavBitmapButton::OnKillFocus
void OnKillFocus(CWnd *)
CNavBitmapButton::GetThisMessageMap
static const AFX_MSGMAP *PASCAL GetThisMessageMap()
CNavBitmapButton::GetTipText
wchar_t const * GetTipText(void)
CNavBitmapButton::CNavBitmapButton
CNavBitmapButton(void)
CNavBitmapButton::SetChecked
void SetChecked(int)
CNavBitmapButton::SetCheckable
void SetCheckable(int)
CNavBitmapButton::GetChecked
int GetChecked(void)
CNavBitmapButton::OnSetFocus
void OnSetFocus(CWnd *)
CNavBitmapButton::GetCheckable
int GetCheckable(void)
CNavBitmapButton::SetTipText
void SetTipText(wchar_t const *)
CNavBitmapButton::DECLARE_DYNAMIC
DECLARE_DYNAMIC(CNavBitmapButton)
CNavBitmapButton::ChangeBitmapColor
void ChangeBitmapColor(HBITMAP__ *, unsigned long, unsigned long, HPALETTE__ *)
StrTraitMFC_DLL
Definition
AcadPlotHostAppServices.h:19
Generated on Mon Mar 4 2024 12:50:08