/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
#ifndef AWT_TEXTCOMPONENT_H
#define AWT_TEXTCOMPONENT_H
#include "awt_Component.h"
#include "java_awt_TextComponent.h"
#include "sun_awt_windows_WTextComponentPeer.h"
#include <ole2.h>
#include <richedit.h>
#include <richole.h>
/************************************************************************
* AwtTextComponent class
*/
}
}
// called on Toolkit thread from JNI
/*
* Windows message handler functions
*/
/* To be fully implemented in a future release
MsgRouting WmKeyDown(UINT wkey, UINT repCnt,
UINT flags, BOOL system); // accessibility support
*/
//im --- for over the spot composition
// some methods invoked on Toolkit thread
static void _EnableEditing(void *param);
// Used to prevent untrusted code from synthesizing a WM_PASTE message
// by posting a <CTRL>-V KeyEvent
/*****************************************************************
* Inner class OleCallback declaration.
*/
OleCallback();
};//OleCallback class
// Fields to track the selection state while the left mouse button is
// pressed. They are used to simulate autoscrolling.
//im --- end
//
// Accessibility support
//
//public:
// jlong javaEventsMask;
};
#endif /* AWT_TEXTCOMPONENT_H */