General information
Category:
Windows API functions
Environment versions
Network:
Windows 2003 Server
Sergey,
I have done:
lnResult = openclipboard(_screen.hWnd)
debugger shows lnResult = 1
lnFormat = 0
lnFormat = EnumClipboardFormats(lnFormat)
lnCntr = 1
DO WHILE lnFormat > 0
ENDDO
debugger show in loop:
lnCntr = 2
lnFormat = 8
lnCntr = 3
lnFormat = 17
lnCtr = 4
lnFormat = 0
lnHdrop = GetClipboardData (15)
lnHdrop gives 0
Clipboard is definitely not empty: C&P in msPaint gives correct result
This is of course very good, but I would like to get a different result as would like to use this procedure in my errorhandler now the lnHdrop gives a 0 value regardless if clipboard has data or nodata.
Would you be able to give me a hint to catch the fact the clipboard has no data?
Thanks for replying.
Koen
ln
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only