You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
73 lines
2.4 KiB
73 lines
2.4 KiB
/////////////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Copyright (c) 1998 Active Voice Corporation. All Rights Reserved.
|
|
//
|
|
// Active Agent(r) and Unified Communications(tm) are trademarks of Active Voice Corporation.
|
|
//
|
|
// Other brand and product names used herein are trademarks of their respective owners.
|
|
//
|
|
// The entire program and user interface including the structure, sequence, selection,
|
|
// and arrangement of the dialog, the exclusively "yes" and "no" choices represented
|
|
// by "1" and "2," and each dialog message are protected by copyrights registered in
|
|
// the United States and by international treaties.
|
|
//
|
|
// Protected by one or more of the following United States patents: 5,070,526, 5,488,650,
|
|
// 5,434,906, 5,581,604, 5,533,102, 5,568,540, 5,625,676, 5,651,054.
|
|
//
|
|
// Active Voice Corporation
|
|
// Seattle, Washington
|
|
// USA
|
|
//
|
|
/////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
////
|
|
// wnd.h - interface for window functions in wnd.c
|
|
////
|
|
|
|
#ifndef __WND_H__
|
|
#define __WND_H__
|
|
|
|
#include "winlocal.h"
|
|
|
|
#define WND_VERSION 0x00000100
|
|
|
|
////
|
|
// window functions
|
|
////
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
// WndCenterWindow - center one window on top of another
|
|
// <hwnd1> (i) window to be centered
|
|
// <hwnd2> (i) window to be centered upon
|
|
// NULL center on parent or owner
|
|
// <xOffCenter> (i) offset from horizontal center
|
|
// 0 center window exactly
|
|
// <yOffCenter> (i) offset from vertical center
|
|
// 0 center window exactly
|
|
// return 0 if success
|
|
//
|
|
int DLLEXPORT WINAPI WndCenterWindow(HWND hwnd1, HWND hwnd2, int xOffCenter, int yOffCenter);
|
|
|
|
// WndMessageBox - display message box, but first disable task windows
|
|
// see MessageBox() documentation for behavior
|
|
//
|
|
int DLLEXPORT WINAPI WndMessageBox(HWND hwndParent, LPCTSTR lpszText, LPCTSTR lpszTitle, UINT fuStyle);
|
|
|
|
// WndEnableTaskWindows - enable or disable top-level windows of a task
|
|
// <hTask> (i) specified task
|
|
// NULL current task
|
|
// <fEnable> (i) FALSE to disable, TRUE to enable
|
|
// <hwndExcept> (i) disable/enable all windows except this one
|
|
// NULL no exceptions
|
|
// return 0 if success
|
|
//
|
|
int DLLEXPORT WINAPI WndEnableTaskWindows(HTASK hTask, BOOL fEnable, HWND hwndExcept);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // __WND_H__
|