开发者

Pasteboardmanager reference

HI i have an old code which uses a scrapref and selects scrap using GetScrapbyname(kscrapclipboardscrap,kscrapgetnamedscrap,&scrapref);

Than it takes the flavour count using getscrapflavourcount and then the list using getscrapinfoflavourlist

As the above API's are deprecate开发者_运维百科d, i am trying to replace them using pasteboard manager

but to replace , getscrapflavourcount the replacement is PasteboardCopyItemFlavors which uses an itemid, which is not theer as such in the old code ??? what to do here ..


Cocoa and NSPasteboard (plus NSPasteboardItem on 10.6+) would be the modern equivalents of the Pasteboard Manager (cf. official documentation and CocoaDev for examples).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜