Dynamic Data Exchange

The first four functions in the table enable interrogation of TeemTalk. The remaining functions are described in the following sections.

All functions referenced with the "Session" topic can additionally be performed using a topic name relating to the relevant TeemTalk instance, i.e. TTLK1, TTLK2, etc. as discussed in the section Using The Edit Menu DDE Functions earlier.

If a TeemTalk session has been created other than Untitled, then that session name can be used as the current session topic by an application conversing with TeemTalk. Note that changing the session name will remove the link to the session.

SendMouse & SendMouseStr

SendMouse is used to send the coordinates of a mouse click to a remote application (i.e. host).

The data structure passed across a DDE link between two co-operating applications is defined in the DDE.H file (supplied as part of the Windows SDK) as follows:

typedef struct tagDDEPOKE

{

 

WORD

unused:13, /* Earlier versions of DDE.H incorrectly */

 

/* 12 unused bits. */

 

fRelease:1,

 

fReserved:2,

short

cfFormat;

BYTE

Value[1]; /* This member was named rgb[1] in */

 

/* previous versions of DDE.H */

} DDEPOKE;

 

In order to supply the three values expected by TeemTalk, we have defined a DDE_MOUSE_REPORT structure as follows:

typedef struct DDE_MOUSE_REPORT

{

int X; int Y;

int ButtonID;

} DDEMOUSEREPORT, FAR *LPDDEMOUSERPORT;

This needs to be integrated with the DDEPOKE structure when allocating the memory required to transfer this data to TeemTalk. One way of doing this is shown below.

/* Allocate size of DDE data header, plus the mouse hit data: */ /* terminated by <CR> <LF> <NULL>. The <NULL> is counted */ /* by DDEPOKE.Value[1] */

if (!(hPokeData

= GlobalAlloc(GMEM_MOVEABLE GMEM_DDESHARE,

13-19

Page 311
Image 311
Xerox 07W & -11W, 05W manual SendMouse & SendMouseStr, 13-19

07W & -11W, 05W specifications

Xerox has long been a leader in the field of imaging and printing technology, and its innovative product lines consistently push the boundaries of performance and functionality. Among these products, the Xerox 05W, 07W, and 11W series stand out as versatile multifunction printers that cater to the needs of various businesses.

The Xerox 05W series is designed with small to medium-sized businesses in mind. It boasts a compact footprint without sacrificing performance. One of the key features of the 05W is its high-resolution printing capability, delivering crisp, vibrant documents at impressive speeds. The series supports a variety of media types and sizes, making it ideal for diverse office environments. Additionally, the 05W incorporates user-friendly controls and an intuitive interface, allowing employees to navigate its functions with ease.

Moving up the range, the Xerox 07W series offers enhanced features geared towards organizations that require increased productivity. This series includes advanced scanning capabilities, allowing users to digitize documents quickly and efficiently. The 07W is compatible with a range of cloud services, facilitating seamless document sharing and collaboration. Enhanced security features, such as secure print and user authentication, make it a suitable choice for businesses that prioritize data protection.

At the top of the lineup, the Xerox 11W series is a powerhouse, designed for high-volume printing environments. It combines speed with quality, boasting robust performance metrics that can handle demanding workflows. The 11W series incorporates cutting-edge technologies such as automatic duplexing, which saves time and paper, and advanced finishing options, providing users with professional-quality documents. The series also supports mobile printing solutions, enabling users to print directly from their smartphones or tablets.

All three series – 05W, 07W, and 11W – share a commitment to sustainability, employing energy-efficient technologies that reduce environmental impact without compromising performance. They also come equipped with comprehensive support options, ensuring customers have access to expert assistance when needed.

In summary, the Xerox 05W, 07W, and 11W series cater to different business needs, ranging from compact functionality to robust performance. They incorporate advanced technologies and key features that enhance productivity, security, and sustainability, making them suitable for a wide array of professional environments. With their reliability and versatility, these printers continue to uphold Xerox's legacy as a leader in the imaging and printing industry.