Click here to Skip to main content
15,925,444 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Question about stdin under multi-process environment. Pin
Johnny ²27-Jul-03 6:52
Johnny ²27-Jul-03 6:52 
GeneralRe: Question about stdin under multi-process environment. Pin
George227-Jul-03 15:40
George227-Jul-03 15:40 
GeneralRe: Question about stdin under multi-process environment. Pin
Bob Stanneveld25-Jul-03 23:55
Bob Stanneveld25-Jul-03 23:55 
GeneralRe: Question about stdin under multi-process environment. Pin
George226-Jul-03 1:03
George226-Jul-03 1:03 
GeneralRe: Question about stdin under multi-process environment. Pin
Bob Stanneveld27-Jul-03 1:09
Bob Stanneveld27-Jul-03 1:09 
GeneralRe: Question about stdin under multi-process environment. Pin
George227-Jul-03 1:15
George227-Jul-03 1:15 
GeneralLinking error Pin
eddymohd25-Jul-03 17:58
eddymohd25-Jul-03 17:58 
GeneralRe: Linking error Pin
Michael Dunn25-Jul-03 18:20
sitebuilderMichael Dunn25-Jul-03 18:20 
GeneralRe: Linking error Pin
eddymohd25-Jul-03 19:08
eddymohd25-Jul-03 19:08 
GeneralRe: Linking error Pin
Bob Stanneveld25-Jul-03 19:32
Bob Stanneveld25-Jul-03 19:32 
GeneralRe: Linking error Pin
Michael Dunn25-Jul-03 20:21
sitebuilderMichael Dunn25-Jul-03 20:21 
GeneralRe: Linking error Pin
Bob Stanneveld25-Jul-03 23:45
Bob Stanneveld25-Jul-03 23:45 
GeneralRe: Linking error Pin
Atlantys26-Jul-03 10:32
Atlantys26-Jul-03 10:32 
GeneralGetting Selection from CHTMLEditView Pin
Matt Gates25-Jul-03 15:53
Matt Gates25-Jul-03 15:53 
GeneralRe: Getting Selection from CHTMLEditView Pin
Tom Archer25-Jul-03 16:32
Tom Archer25-Jul-03 16:32 
GeneralRe: Getting Selection from CHTMLEditView Pin
Matt Gates25-Jul-03 19:53
Matt Gates25-Jul-03 19:53 
GeneralRe: Getting Selection from CHTMLEditView Pin
Tom Archer26-Jul-03 2:33
Tom Archer26-Jul-03 2:33 
GeneralRe: Getting Selection from CHTMLEditView Pin
Tom Archer26-Jul-03 2:35
Tom Archer26-Jul-03 2:35 
Pasting text basically amounts to the following

if (OpenClipboard())
{
 // Retrieve the Clipboard data (specifying that
 // we want ANSI text (via the CF_TEXT value).
 HANDLE hClipboardData = GetClipboardData(CF_TEXT);

 // Call GlobalLock so that to retrieve a pointer
 // to the data associated with the handle returned
 // from GetClipboardData.
 char *pchData = (char*)GlobalLock(hClipboardData);

 // Set a local CString variable to the data
 // and then update the dialog with the Clipboard data
 CString strFromClipboard = pchData;

 // Unlock the global memory.
 GlobalUnlock(hClipboardData);

 // Finally, when finished I simply close the Clipboard
 // which has the effect of unlocking it so that other
 // applications can examine or modify its contents.
 CloseClipboard();



Cheers,
Tom Archer
Inside C#,
Extending MFC Applications with the .NET Framework
It's better to listen to others than to speak, because I already know what I'm going to say anyway. - friend of Jörgen Sigvardsson
GeneralRe: Getting Selection from CHTMLEditView Pin
Matt Gates26-Jul-03 15:58
Matt Gates26-Jul-03 15:58 
GeneralRe: Getting Selection from CHTMLEditView Pin
Niall Barr26-Jul-03 4:30
professionalNiall Barr26-Jul-03 4:30 
Questionhow to make a groupbox's title transparent Pin
allenhu25-Jul-03 15:28
allenhu25-Jul-03 15:28 
AnswerRe: how to make a groupbox's title transparent Pin
Tom Archer25-Jul-03 17:15
Tom Archer25-Jul-03 17:15 
GeneralSymbolic Link, I think Pin
amleth25-Jul-03 15:02
amleth25-Jul-03 15:02 
GeneralRe: Symbolic Link, I think Pin
jbannon25-Jul-03 22:50
jbannon25-Jul-03 22:50 
GeneralEnabling/Disabling Menu Items Pin
Frank Deo25-Jul-03 14:41
Frank Deo25-Jul-03 14:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.