89 HWndNext = ::SetClipboardViewer(
GetHandle());
Mix-in class that registers as a clipboard viewer when the user interface element is created and remo...
TClipboardViewer()
Constructs a TClipboardViewer object.
TEventStatus DoChangeCBChain(HWND hWndRemoved, HWND hWndNext)
Tests to see if the Clipboard has changed and, if so, DoChangeCBChain forwards this message.
TEventStatus DoDestroy()
Removes the window from the Clipboard-viewer chain.
void EvDrawClipboard()
pass to next window in clipboard-viewer chain
void SetupWindow() override
Adds a window to the Clipboard-viewer chain.
void EvDestroy()
Responds to a WM_DESTROY message when a window is removed from the Clipboard-viewer chain.
void EvChangeCBChain(HWND hWndRemoved, HWND hWndNext)
Responds to a WM_CHANGECBCHAIN message.
TEventStatus DoDrawClipboard()
pass to next window in clipboard-viewer chain
ObjectWindows dynamic-link libraries (DLLs) construct an instance of TModule, which acts as an object...
TWindow, derived from TEventHandler and TStreamableBase, provides window-specific behavior and encaps...
void EvDestroy()
Responds to an incoming WM_DESTROY message.
TResult ForwardMessage(HWND handle, bool send=true)
Forwards the window's current message.
void EvDrawClipboard()
The default message handler for WM_DRAWCLIPBOARD.
HWND THandle
TWindow encapsulates an HWND.
HWND GetHandle() const
Returns the handle of the window.
Mixin class TClipboardViewer that allows a TWindow derived class to hook in on the clipboard notifica...
#define DEFINE_RESPONSE_TABLE(cls)
Macro to define a response table for a class with no base response tables.
TEventStatus
Mixin window event implementation return status.
@ esPartial
Additional handlers may be invoked.
@ esComplete
No additional handlers are needed.
Object Windows Library (OWLNext Core)