home *** CD-ROM | disk | FTP | other *** search
- #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 */
-