home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1998 May
/
Pcwk5b98.iso
/
Borland
/
Cplus45
/
BC45
/
OWLINC.PAK
/
CONTROLB.H
< prev
next >
Wrap
C/C++ Source or Header
|
1995-08-29
|
1KB
|
37 lines
//----------------------------------------------------------------------------
// ObjectWindows
// (C) Copyright 1992, 1994 by Borland International, All Rights Reserved
//
// Class TControlBar.
//----------------------------------------------------------------------------
#if !defined(OWL_CONTROLB_H)
#define OWL_CONTROLB_H
#if !defined(OWL_GADGETWI_H)
# include <owl/gadgetwi.h>
#endif
//
// class TControlBar
// ----- -----------
//
// implements a control bar which provides mnemonic access for its button
// gadgets. by default positions itself at the top of the window
//
class _OWLCLASS TControlBar : public TGadgetWindow {
public:
TControlBar(TWindow* parent = 0,
TTileDirection direction= Horizontal,
TFont* font = new TGadgetWindowFont,
TModule* module = 0);
bool PreProcessMsg(MSG& msg);
protected:
void PositionGadget(TGadget* previous, TGadget* next, TPoint& p);
DECLARE_CASTABLE;
};
#endif // OWL_CONTROLB_H