Article View: borland.public.cppbuilder.nativeapi
Article #4820How to know if SetClipboardViewer() or ChangeClipboardChain() succeded?
From: Vladimir Stefanovic
Date: Fri, 25 Nov 2005 16:37
Date: Fri, 25 Nov 2005 16:37
28 lines
1506 bytes
1506 bytes
Hi, How to know if SetClipboardViewer() or ChangeClipboardChain() succeded? The Win32Help: <quote> Return Values If the function succeeds, the return value identifies the next window in the clipboard viewer chain. If an error occurs or there are no other windows in the clipboard viewer chain, the return value is NULL. To get extended error information, call GetLastError. <quote> If I understoud well, only GetLastError() can tell the truth, but what should I look for? Maybe: 1411L = ERROR_CLASS_DOES_NOT_EXIST ? What about ChangeClipboardChain() ? -- Best regards, Vladimir Stefanovic
Technical Details
Message-ID:
<43873d96@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,dd1b0de06caf5174,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Vladimir Stefanovic" <antivari@po.sbb.co.yu> Newsgroups: borland.public.cppbuilder.nativeapi Subject: How to know if SetClipboardViewer() or ChangeClipboardChain() succeded? Date: Fri, 25 Nov 2005 17:37:07 +0100 Lines: 30 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 82.117.212.65 Message-ID: <43873d96@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1132936598 82.117.212.65 (25 Nov 2005 08:36:38 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail