🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #13094

Re: Frontpage not recognizing HTML clipboard content (while outlook does)

#13094
From: Remy Lebeau (TeamB)
Date: Sun, 26 Oct 2003 23:58
41 lines
2622 bytes
"Kris" <myEmail@email.com> wrote in message
news:5teopvcme541s9i5u32k81o0a45lbrv9k3@4ax.com...

> Unfortunately the extra byte doesn't solve the problem.
<snip>
> Thanks. That fix is now also in place. However, the problem
> is also still present.

The fixes I mentioned had nothing to do with the issue about the clipboard
formats.  They were secondary issues.

> Yes. I'm putting Text, RTF and HTML on the clipboard at the same time.

Please shows show your full code.  You only showed the code for HTML,
nothing else.

> It would be strange that FP, being an HTML editor, would prefer
> other content over HTML-content.

The only way I can account for that would be if you are not specifying the
HTML clipboard format correctly, thus FP can't detect that is is present and
so falls back to RTF, which at least is more descriptive of formatting than
plain text is and will probably generate HTML based on the RTF.

> So I already had put only HTML content on the clipboard
> (and thus no text and RTF content). In that case Frontpage
> does enable the PASTE command but nothing gets pasted.

Again, my reasoning that you are probably placing the HTML incorrectly.

> If you do a search in google for RegisterClipboardFormat AND
> "HTML format" you get lots of hits. Also since Outlook is recognizing
> this content it is probably the correct name.

That does not necessary mean that FP specifically is looking for "HTML
Format".  Hense my suggestion to use EnumClipboardFormats() to see what it
is ACTUALLY using for itself.


Gambit
Technical Details
Message-ID: <3f9c5f0e@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <8genpv8c6stmgjkipugr5s8kbc0j82qfmq@4ax.com> <3f9c2f64@newsgroups.borland.com> <5teopvcme541s9i5u32k81o0a45lbrv9k3@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,177767db8f4762b4
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-10-26 16:09:12 PST
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <8genpv8c6stmgjkipugr5s8kbc0j82qfmq@4ax.com> <3f9c2f64@newsgroups.borland.com> <5teopvcme541s9i5u32k81o0a45lbrv9k3@4ax.com>
Subject: Re: Frontpage not recognizing HTML clipboard content (while outlook does)
Date: Sun, 26 Oct 2003 15:58:01 -0800
Lines: 43
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 67.22.137.75
Message-ID: <3f9c5f0e@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1067212558 67.22.137.75 (26 Oct 2003 15:55:58 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail