Waitrud Weber’s blog

things and reminders for memories

Copy and Paste 005: which clipboard is available?

Application doesn't know which type of clipboard when string is pastef.

So, I checked which type of it before pasting.

 

Download:

https://github.com/WaitrudWeber/source_zip/blob/master/winmain-20190111.zip

1. execute winmain_001.exe.
2. copy file in the explore.
3. press ctl and then v
4. you could see CF_HDROP

you see the function: wichStandardClipboardFormatsIsAvailable in winmain_001.cpp
and https://docs.microsoft.com/ja-jp/windows/desktop/dataxchg/standard-clipboard-formats

once I misslead you and am so sorry to everyone.

 

I'm pleasure if you download the below.

https://github.com/WaitrudWeber/source_zip/blob/master/winmain-20190111.zip


Please reffer to the below for compilation.
https://waitrudweber.hatenablog.com/entry/2018/05/01/005938