-
Notifications
You must be signed in to change notification settings - Fork 0
/
NEWCTEVT.HPP
44 lines (36 loc) · 1.49 KB
/
NEWCTEVT.HPP
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#ifndef _NEWCTEVT_
#define _NEWCTEVT_
/***************************************************************/
/* Filename: newctevt.hpp */
/* */
/* Purpose: Declaration of NewControlEvent class. */
/* */
/* Program name: cppctl.exe Title: C++ PM Control Test App */
/* OS/2 Developer Magazine, Issue: Sept. '94, page */
/* Article title: Writing OS/2 PM Controls in C++ */
/* Authors: Eric Snell and Lori Ruffing */
/* */
/* Description: This example shows how to implement an OS/2 PM */
/* control window in C++. */
/* */
/* Program Requirements: This example requires the IBM C Set++ */
/* compiler and libraries. */
/***************************************************************/
#ifndef _IMCEVT_
#include "imcevt.hpp"
#endif
#ifndef _MCTLEVT_
#include "mctlevt.hpp"
#endif
// Align classes on 4 byte boundary
#pragma pack(4)
class NewControlEvent : public MControlEvent
{
public:
NewControlEvent(IEvent &evt);
virtual ~NewControlEvent();
IMouseClickEvent::MouseNumber mouseNumber() const;
};
// Resume compiler default packing
#pragma pack()
#endif //#ifndef _NEWCTEVT_