Blender V4.3
GHOST_DropTargetWin32 Class Reference

#include <GHOST_DropTargetWin32.hh>

Inherits IDropTarget.

Public Member Functions

HRESULT __stdcall QueryInterface (REFIID riid, void **ppv_obj)
 
ULONG __stdcall AddRef ()
 
ULONG __stdcall Release ()
 
HRESULT __stdcall DragEnter (IDataObject *p_data_object, DWORD grf_key_state, POINTL pt, DWORD *pdw_effect)
 
HRESULT __stdcall DragOver (DWORD grf_key_state, POINTL pt, DWORD *pdw_effect)
 
HRESULT __stdcall DragLeave ()
 
HRESULT __stdcall Drop (IDataObject *p_data_object, DWORD grf_key_state, POINTL pt, DWORD *pdw_effect)
 
 GHOST_DropTargetWin32 (GHOST_WindowWin32 *window, GHOST_SystemWin32 *system)
 
 ~GHOST_DropTargetWin32 ()
 

Detailed Description

Definition at line 16 of file GHOST_DropTargetWin32.hh.

Constructor & Destructor Documentation

◆ GHOST_DropTargetWin32()

GHOST_DropTargetWin32::GHOST_DropTargetWin32 ( GHOST_WindowWin32 * window,
GHOST_SystemWin32 * system )

Constructor With the modifier keys, we want to distinguish left and right keys. Sometimes this is not possible (Windows ME for instance). Then, we want events generated for both keys.

Parameters
windowThe window to register as drop target.
systemThe associated system.

Definition at line 21 of file GHOST_DropTargetWin32.cc.

References GHOST_WindowWin32::getHWND(), and GHOST_kDragnDropTypeUnknown.

◆ ~GHOST_DropTargetWin32()

GHOST_DropTargetWin32::~GHOST_DropTargetWin32 ( )

Destructor Do NOT destroy directly. Use Release() instead to make COM happy.

Definition at line 29 of file GHOST_DropTargetWin32.cc.

Member Function Documentation

◆ AddRef()

ULONG __stdcall GHOST_DropTargetWin32::AddRef ( void )

Definition at line 55 of file GHOST_DropTargetWin32.cc.

Referenced by QueryInterface().

◆ DragEnter()

HRESULT __stdcall GHOST_DropTargetWin32::DragEnter ( IDataObject * p_data_object,
DWORD grf_key_state,
POINTL pt,
DWORD * pdw_effect )

◆ DragLeave()

HRESULT __stdcall GHOST_DropTargetWin32::DragLeave ( void )

◆ DragOver()

HRESULT __stdcall GHOST_DropTargetWin32::DragOver ( DWORD grf_key_state,
POINTL pt,
DWORD * pdw_effect )

◆ Drop()

HRESULT __stdcall GHOST_DropTargetWin32::Drop ( IDataObject * p_data_object,
DWORD grf_key_state,
POINTL pt,
DWORD * pdw_effect )

◆ QueryInterface()

HRESULT __stdcall GHOST_DropTargetWin32::QueryInterface ( REFIID riid,
void ** ppv_obj )

Definition at line 34 of file GHOST_DropTargetWin32.cc.

References AddRef().

◆ Release()

ULONG __stdcall GHOST_DropTargetWin32::Release ( void )

Definition at line 63 of file GHOST_DropTargetWin32.cc.

Referenced by GHOST_WindowWin32::~GHOST_WindowWin32().


The documentation for this class was generated from the following files: