06-29-2007, 01:35 PM
I created a function DrawClipboard triggered on QM file loaded:
I don't get any output when copying. Is it running? How do I tell? Thanks.
;\
function# hWnd message wParam lParam
if(hWnd) goto messages
hWnd=CreateWindowEx(0 +32770 0 0 0 0 0 0 0 0 _hinst 0) ;;this hidden window will receive messages
int+ __drawclip_wndproc=SetWindowLong(hWnd GWL_WNDPROC &DrawClipboard) ;;subclass
MessageLoop ;;retrieve messages; run until PostQuitMessage
ret
;messages
sel message
,case WM_DRAWCLIPBOARD
,out "draw clipboard"
;,mac("Process Clipboard")
,
,case WM_CLOSE if(wParam) DestroyWindow(hWnd)
,
,case WM_DESTROY
,PostQuitMessage 0
,
ret CallWindowProc(__drawclip_wndproc hWnd message wParam lParam)
I don't get any output when copying. Is it running? How do I tell? Thanks.