home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 22 gnu
/
22-gnu.zip
/
spmio10.zip
/
gcc2
/
stdwin
/
framectl.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-06-05
|
668b
|
27 lines
#ifndef include_framectl_h
#define include_framectl_h
#include <stdframe.h>
class FrameControl: protected StdFrame
{
typedef StdFrame inherited;
enum FrameControlMode {
frmctl_mode_normal,
frmctl_mode_absolute,
};
int width, height;
int screen_width, screen_height;
FrameControlMode mode;
int resize_lockout;
virtual void framemsg_windowposchanged (SWP *, unsigned);
virtual int framemsg_querytrackinfo (unsigned short, TRACKINFO *);
public:
FrameControl ();
void set_behavior_normal ();
void set_exact_size (int awidth, int aheight);
virtual void attach (HWND aframe);
};
#endif /* include_framectl_h */