MQFrame class

(new in Rev4.00)

MQFrame class manages a frame. Multiple child widgets can be contained horizontally or vertically in the frame. It inherits a MQFrameBase class.

Please refer the inherited class about member functions declared in the inherited class.

Class
MQFrame Constructor
~MQFrame Destructor
Member functions
GetBackColor Get a background color
SetBackColor Set a background color

MQFrame::MQFrame();

MQFrame::MQFrame(int id);

id
A widget ID created outside the plug-in

It is a constructor.


virtual MQFrame::~MQFrame();

This method is a destructor. It is defined as a virtual function.


void MQFrame::GetBackColor(int& r, int& g, int& b, int& a);

r
Red
g
Green
b
Blue
a
Opacity

It returns a background color in a frame.


void MQFrame::SetBackColor(int r, int g, int b, int a);

r
Red
g
Green
b
Blue
a
Opacity

It specifies a background color in a frame.