Click here to Skip to main content
15,905,504 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: about accessing a locked file Pin
hqfhy20-Sep-06 18:10
hqfhy20-Sep-06 18:10 
GeneralRe: about accessing a locked file Pin
David Crow21-Sep-06 4:07
David Crow21-Sep-06 4:07 
Questionwhat is error C2079?? Pin
dacky20-Sep-06 17:28
dacky20-Sep-06 17:28 
AnswerRe: what is error C2079?? Pin
Rinu_Raj20-Sep-06 17:33
Rinu_Raj20-Sep-06 17:33 
AnswerRe: what is error C2079?? Pin
Christian Graus20-Sep-06 17:46
protectorChristian Graus20-Sep-06 17:46 
AnswerRe: what is error C2079?? Pin
Hamid_RT21-Sep-06 8:13
Hamid_RT21-Sep-06 8:13 
QuestionHow TO : Copy Unicode Characters to Clipboard Pin
Mohammad Rastkar20-Sep-06 16:20
Mohammad Rastkar20-Sep-06 16:20 
AnswerRe: How TO : Copy Unicode Characters to Clipboard Pin
Aneesh Valeri20-Sep-06 18:09
Aneesh Valeri20-Sep-06 18:09 
CString csText(_T("Unicode string"));

HGLOBAL hglbCopy;
// Open the clip board and set the data in to the clip board.
if( OpenClipboard(0) )
{
EmptyClipboard();
wchar_t *wcBuffer = 0;
hglbCopy = GlobalAlloc( GMEM_MOVEABLE,
( csText.GetLength() + 1 ) * sizeof (wchar_t) );
wcBuffer = ( wchar_t* )GlobalLock( hglbCopy );
wcscpy( wcBuffer, csText );
GlobalUnlock( hglbCopy );
SetClipboardData( CF_UNICODETEXT, hglbCopy );
CloseClipboard();


rgds
aneesh

GeneralRe: How TO : Copy Unicode Characters to Clipboard Pin
Mohammad Rastkar20-Sep-06 18:25
Mohammad Rastkar20-Sep-06 18:25 
AnswerRe: How TO : Copy Unicode Characters to Clipboard Pin
Rinu_Raj20-Sep-06 18:40
Rinu_Raj20-Sep-06 18:40 
AnswerRe: How TO : Copy Unicode Characters to Clipboard Pin
Mohammad Rastkar20-Sep-06 18:58
Mohammad Rastkar20-Sep-06 18:58 
AnswerRe: How TO : Copy Unicode Characters to Clipboard Pin
Rinu_Raj20-Sep-06 19:02
Rinu_Raj20-Sep-06 19:02 
GeneralRe: How TO : Copy Unicode Characters to Clipboard Pin
Naveen20-Sep-06 19:00
Naveen20-Sep-06 19:00 
QuestionAnother Question ! Pin
Mohammad Rastkar20-Sep-06 19:36
Mohammad Rastkar20-Sep-06 19:36 
QuestioniActiveScript->SetScriptState() Pin
yaoyong9920-Sep-06 15:48
yaoyong9920-Sep-06 15:48 
Questionxp style issues with background colour Pin
CodeGoose20-Sep-06 15:18
CodeGoose20-Sep-06 15:18 
AnswerRe: xp style issues with background colour Pin
Christian Graus20-Sep-06 16:07
protectorChristian Graus20-Sep-06 16:07 
GeneralRe: xp style issues with background colour Pin
CodeGoose21-Sep-06 9:44
CodeGoose21-Sep-06 9:44 
AnswerRe: xp style issues with background colour Pin
Haroon Sarwar20-Sep-06 20:54
Haroon Sarwar20-Sep-06 20:54 
GeneralRe: xp style issues with background colour Pin
CodeGoose21-Sep-06 10:13
CodeGoose21-Sep-06 10:13 
GeneralRe: xp style issues with background colour Pin
Haroon Sarwar21-Sep-06 18:35
Haroon Sarwar21-Sep-06 18:35 
QuestionVisual C++ App Wizard Pin
sidkraft20-Sep-06 14:06
sidkraft20-Sep-06 14:06 
AnswerRe: Visual C++ App Wizard Pin
Christian Graus20-Sep-06 14:58
protectorChristian Graus20-Sep-06 14:58 
QuestionProtected storage Pin
Mike_V20-Sep-06 13:01
Mike_V20-Sep-06 13:01 
AnswerRe: Protected storage Pin
Steve S21-Sep-06 5:29
Steve S21-Sep-06 5:29 

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.