Another way to save paltalk text : C++, C# And Others Programming

Another way to save paltalk text

Here you can talk about C++ And C# And Other languages programming.

Moderator: Departure

Another way to save paltalk text

Postby Chike » Fri Nov 16, 2007 9:55 pm


Attached source and header files for a function that retrive paltalk text in RTF format.
Prameter is the handle to the rich text control, return value C string that is allocated with LocalAlloc ang should be freed with LocalFree.

It can replace the WM_SETSEL, and WM_CUT messages in the code here and a WM_SETTEXT sould replace the WM_PASTE.

The function does not change the clipboard and therefore preffered over the cut/paste commangs.

If anyone interested in tryin to use it with VB, without going through the hassle of translating it to VB, I can post a static library, though I have no clue if VB can link to native code library.
Attachments
editstream.cpp
(5.72 KiB) Downloaded 68 times
editstream.h
(250 Bytes) Downloaded 52 times
Image
Chike
imFiles Master
imFiles Master
 
Posts: 519
Joined: Sun May 13, 2007 11:20 pm

Re: Another way to save paltalk text

Postby Departure » Tue Sep 23, 2008 2:06 pm

nice one chike, I never seen this post before untill you pointed it out, I will have a look and see If i can get a better understanding of the whole process, thanks again :)
User avatar
Departure
Global Moderator
Global Moderator
 
Posts: 980
Joined: Thu Mar 17, 2005 4:26 pm
Location: Australia


Return to C++, C# And Others Programming

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests