InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IWindowUtils.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Bernd Paradies
6
//
7
// $Author$
8
//
9
// $DateTime$
10
//
11
// $Revision$
12
//
13
// $Change$
14
//
15
// Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16
//
17
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18
// with the terms of the Adobe license agreement accompanying it. If you have received
19
// this file from a source other than Adobe, then your use, modification, or
20
// distribution of it requires the prior written permission of Adobe.
21
//
22
//========================================================================================
23
24
#ifndef __IWindowUtils__
25
#define __IWindowUtils__
26
27
#include "widgetid.h"
28
#include "IPMUnknown.h"
29
#include "Utils.h"
30
31
class
IWindow
;
32
class
IDataBase
;
33
class
AcquireModalDialogState
;
34
class
IDialog
;
35
class
IDocumentPresentation
;
36
43
class
IWindowUtils
:
public
IPMUnknown
44
{
45
public
:
46
enum
{ kDefaultIID = IID_IWINDOWUTILS };
47
54
virtual
IWindow
*
QueryWindowUnderPoint
(
GSysPoint
point,bool16 appFrameOK, bool16 bSkipIgnoreables = kFalse) = 0;
55
56
// Obsoleted for CS6...
57
// With all the palette changes that have taken place in OWL1 and OWL2, this method no longer makes sense.
61
//virtual void SnapRectToNearestPalette(const SysRect& rt, uint32 snapDistance, SysPoint& delta, PaletteRef excludeWindow) = 0;
62
63
// With the document wrapper that have taken place in OWL1 and OWL2, this method shouldnt be called any more.
67
virtual
void
SnapRectToNearestDocWindow
(
const
SysRect
& rt, uint32 snapDistance,
SysPoint
& delta,
IDocumentPresentation
* excludeWindow = nil) = 0;
68
72
virtual
void
SnapRectToNearestMonitor
(
const
SysRect
& rt, uint32 snapDistance,
SysPoint
& delta) = 0;
73
76
virtual
AcquireModalDialogState
*
CreateModalDialogState
() = 0;
77
80
virtual
void
ReleaseModalDialogState
(
AcquireModalDialogState
*modalDialogState) = 0;
81
83
virtual
void
AddFilenameToDialogTitle
(
IDialog
* dialog,
const
PMString
& importFileName) = 0;
84
89
virtual
void
RemoveEventHandlersForWindow
(
IWindow
*window) = 0;
90
};
91
92
93
#endif // __IWindowUtils__
tmpdoxygeninput
IWindowUtils.h
Generated on Sat Jul 19 2025 02:54:16 for InDesign SDK by
1.8.3.1