InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IDropDownListOpenCloseHandler.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Dave Burnard
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 __IDropDownListOpenCloseHandler_h__
25
#define __IDropDownListOpenCloseHandler_h__
26
27
#include "IPMUnknown.h"
28
#include "widgetid.h"
29
30
//========================================================================================
31
// CLASS IDropDownListOpenCloseHandler
32
//
33
// Attach this interface to a DropDownList boss, to add behavior just before the dropdown opens
34
// and/or just after it closes. These methods are called from the DVDropDownListView impl.
35
//
36
//
37
// In CS5 and earlier this customization was accomplished with a custom IEventHandler override
38
// that had to catch the platform menu opening and closing events, and then called
39
// the event handler's customized PrepForShowControl or PrepForCloseControl methods.
40
//========================================================================================
41
42
class
IDropDownListOpenCloseHandler
:
public
IPMUnknown
43
{
44
public
:
45
enum
{ kDefaultIID = IID_IDROPDOWNLISTOPENCLOSEHANDLER };
46
51
virtual
void
HandlePreOpenDropDown
() = 0;
52
57
virtual
void
HandlePostCloseDropDown
() = 0;
58
};
59
60
#endif
tmpdoxygeninput
IDropDownListOpenCloseHandler.h
Generated on Sat Jul 19 2025 02:54:13 for InDesign SDK by
1.8.3.1