FRX SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
CAdUiCoupledGroupCtrl.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 CAdUiGroupCtrl;
20class CAdUiTheme;
21class CDC;
22class CPoint;
23class CWnd;
24
25class ARX_API CAdUiCoupledGroupCtrl : public CWnd
26{
27public:
29
30public:
31 CAdUiTheme * GetTheme(void)const;
34 double GetTopToWholeRatio(void)const ;
37 virtual void AddCouple( CAdUiGroupCtrl *, CWnd *);
38 virtual void AddCouple( CWnd *, CAdUiGroupCtrl *);
39 virtual void AddCouple( CWnd *, CWnd *);
40 virtual void MinMaxOneChild( CWnd *,bool);
43 void SetTopToWholeRatio(double);
44
45protected:
47 bool ValidateCtrls(void);
48 DECLARE_MESSAGE_MAP()
49 HBRUSH__ * OnCtlColor( CDC *, CWnd *,unsigned int);
50 void OnLButtonDown(unsigned int, CPoint);
51 void OnLButtonUp(unsigned int, CPoint);
52 void OnMouseMove(unsigned int, CPoint);
53 void OnPaint(void);
54 void OnSize(unsigned int,int,int);
55 void ResizeChildren(int,int);
56
57};
void SetSplitterEnabled(bool)
double GetTopToWholeRatio(void) const
void SetTheme(CAdUiTheme *)
virtual ~CAdUiCoupledGroupCtrl(void)
DECLARE_DYNAMIC(CAdUiCoupledGroupCtrl)
virtual void AddCouple(CAdUiGroupCtrl *, CAdUiGroupCtrl *)
void SetTopToWholeRatio(double)
virtual void AddCouple(CAdUiGroupCtrl *, CWnd *)
virtual void AddCouple(CWnd *, CAdUiGroupCtrl *)
virtual void MinMaxOneChild(CWnd *, bool)
CAdUiTheme * GetTheme(void) const
bool ValidateCtrls(void)
virtual void AddCouple(CWnd *, CWnd *)
bool GetSplitterEnabled(void)
bool IsAnyCtrlMinimizedOrIconic(void)