home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
odtlktv4.zip
/
ODTLKT
/
TOOLKIT
/
BETA
/
SAMPLES
/
OPENDOC
/
PARTS
/
CNTNRPRT
/
CNTNRPRT.H
< prev
next >
Wrap
C/C++ Source or Header
|
1995-10-16
|
3KB
|
67 lines
/******************************************************************************/
/* */
/* COPYRIGHT: */
/* ---------- */
/* Copyright (C) International Business Machines Corp., 1994. */
/* Copyright:(C) Apple Computer, Inc., 1994 */
/* */
/* DISCLAIMER OF WARRANTIES: */
/* ------------------------- */
/* The following [enclosed] code is sample code created by IBM */
/* Corporation. This sample code is not part of any standard IBM product */
/* and is provided to you solely for the purpose of assisting you in the */
/* development of your applications. The code is provided "AS IS", */
/* without warranty of any kind. IBM shall not be liable for any damages */
/* arising out of your use of the sample code, even if they have been */
/* advised of the possibility of such damages. */
/* */
/******************************************************************************/
/*
File: CntnrPrt.h
Contains: definition for class ContainerPart
Written by: Joshua Susser
Change History (most recent first):
*/
#ifndef _CNTNRPRT_
#define _CNTNRPRT_
extern "C" {
class ODMenuBar;
void EXPENTRY AddMenuResourceLast( Environment *ev, HMODULE hmodDLL, long resid, ODMenuBar *menubar, ODMenuID menuid);
// [127685] map - constants and types for multithreaded drawing
#define LEN_STACK 16384
#define OBJECTCLASSNAME "CNTNRPRT_OBJECTWINDOW"
typedef struct _DrawContentData
{
public:
ODFacet *facet;
ODShape *invalidShape;
RECTL frameRect;
// HPS hpsDraw;
// HRGN hrgnClip;
// HRGN hrgnAggClip;
} DrawContentData;
#define WM_USER_ACK WM_USER+1
#define WM_USER_CLOSE WM_USER+2
#define WM_USER_DRAW WM_USER+3
void _Optlink DrawThread(void *pArg);
MRESULT EXPENTRY ObjectWinProc( HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2 );
// [127685] end
// Z-Order defines defect = 128689
static const ODPropertyName kZOrderProp = "Z:Order:P";
const ODType kZOrder = "IBM:Kind:ZOrder";
}
#endif // _CNTNRPRT_