/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#pragma #pragma once
#include <atlbase.h>
extern CComModule _Module;
#include <atlcom.h>
#include <atlctl.h>
#include <com/sun/star/datatransfer/dnd/XDropTarget.hpp>
#include <com/sun/star/datatransfer/dnd/XDragSource.hpp>
#include <com/sun/star/datatransfer/XTransferable.hpp>
#include <com/sun/star/uno/Reference.h>
#include "../../source/inc/DtObjFactory.hxx"
using namespace com::sun::star::uno;
using namespace com::sun::star::datatransfer::dnd;
using namespace com::sun::star::datatransfer;
struct ThreadData
{
Reference<XDragSource> source;
Reference<XTransferable> transferable;
HANDLE evtThreadReady;
};
class AWindow:
public CWindowImpl<AWindow, CWindow,
CWinTraits<WS_CAPTION |WS_OVERLAPPEDWINDOW | WS_VISIBLE, 0> >
{
TCHAR m_strName
#nclude <.h>
erenceXDropTarget m_xDropTarget
#nclude<.h>
BOOL m_isMTAjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for
length 17
HWND m_hwndEdit;
public:
explicit AWindow(LPCTSTR strName)
{
RECT rcPos= {0,0,200,200};
Create(0, rcPos, strName);
}
AWindow(LPCTSTR
{
Create0 pos, strName
}
~AWindow)
using namespace comsunstardatatransfer;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
();
}ReferenceXTransferable> ;
BEGIN_MSG_MAPAWindow
( WM_CLOSEOnClose
class: publicCWindowImpl, CWindow
MESSAGE_RANGE_HANDLER WM_MOUSEFIRST WM_MOUSELASTOnMouseAction
MESSAGE_HANDLER WM_TIMER, OnTimer
( WM_SIZE OnSize
( WM_SETFOCUS,OnFocus
END_MSG_MAP()
LRESULTBOOL m_isMTA
LRESULTOnCreate uMsg WPARAM wParam lParam, BOOL bHandledjava.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
{
LRESULT OnTimer(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& rcPos {0020200;
LRESULT OnSize}
LRESULT OnFocus(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL (LPCTSTRstrName, RECT pos,BOOLmta=FALSE:( mta
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */