Click here to Skip to main content
15,915,093 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to call a function a scheduled time? Pin
Blake Miller7-Nov-06 3:53
Blake Miller7-Nov-06 3:53 
QuestionPlease help ! Pin
Bravoone_20066-Nov-06 3:01
Bravoone_20066-Nov-06 3:01 
AnswerRe: Please help ! Pin
pgirish6-Nov-06 3:58
pgirish6-Nov-06 3:58 
AnswerRe: Please help ! Pin
Hamid_RT6-Nov-06 18:32
Hamid_RT6-Nov-06 18:32 
GeneralRe: Please help ! Pin
Bravoone_20066-Nov-06 19:22
Bravoone_20066-Nov-06 19:22 
GeneralRe: Please help ! Pin
Hamid_RT6-Nov-06 20:27
Hamid_RT6-Nov-06 20:27 
QuestionCopy to clipboard problem. Pin
rrrado6-Nov-06 2:50
rrrado6-Nov-06 2:50 
AnswerRe: Copy to clipboard problem. Pin
cje6-Nov-06 9:40
cje6-Nov-06 9:40 
I ran across the following code in one of our projects - not sure if it will help you or not

<br />
HGLOBAL hData = 0;<br />
// open memory file<br />
CSharedFile clipb (GMEM_MOVEABLE|GMEM_DDESHARE|GMEM_ZEROINIT);<br />
clipb.Write(cstrString, cstrString.GetLength()*sizeof(TCHAR));<br />
clipb.Write(_T("\0"), sizeof(TCHAR));<br />
hData = clipb.Detach();<br />
// Now, hand over memory block to clipboard<br />
if (hData)<br />
{<br />
   VERIFY(OpenClipboard());<br />
   SetClipboardData(CF_TEXT, hData);<br />
   VERIFY(CloseClipboard());<br />
}<br />



cje

GeneralRe: Copy to clipboard problem. Pin
rrrado7-Nov-06 21:21
rrrado7-Nov-06 21:21 
Questionshared data segment Pin
Abhi Lahare6-Nov-06 2:17
Abhi Lahare6-Nov-06 2:17 
AnswerRe: shared data segment Pin
John M. Drescher6-Nov-06 2:28
John M. Drescher6-Nov-06 2:28 
GeneralRe: shared data segment Pin
Blake Miller7-Nov-06 3:54
Blake Miller7-Nov-06 3:54 
QuestionCustomized CPropertyPage Pin
Ajay L D6-Nov-06 2:12
Ajay L D6-Nov-06 2:12 
AnswerRe: Customized CPropertyPage Pin
PJ Arends6-Nov-06 8:02
professionalPJ Arends6-Nov-06 8:02 
GeneralRe: Customized CPropertyPage Pin
Ajay L D6-Nov-06 21:43
Ajay L D6-Nov-06 21:43 
Questionabout DMA Pin
mt_samiei6-Nov-06 2:09
mt_samiei6-Nov-06 2:09 
QuestionCoInitializeEx() Pin
shadrach_india6-Nov-06 2:08
shadrach_india6-Nov-06 2:08 
AnswerRe: CoInitializeEx() Pin
Cedric Moonen6-Nov-06 2:39
Cedric Moonen6-Nov-06 2:39 
GeneralRe: CoInitializeEx() Pin
shadrach_india6-Nov-06 2:46
shadrach_india6-Nov-06 2:46 
GeneralRe: CoInitializeEx() Pin
Cedric Moonen6-Nov-06 3:22
Cedric Moonen6-Nov-06 3:22 
GeneralRe: CoInitializeEx() [modified] Pin
shadrach_india6-Nov-06 3:34
shadrach_india6-Nov-06 3:34 
GeneralRe: CoInitializeEx() Pin
shadrach_india6-Nov-06 3:49
shadrach_india6-Nov-06 3:49 
QuestionWindow Text title bar Pin
_tasleem6-Nov-06 1:59
_tasleem6-Nov-06 1:59 
AnswerRe: Window Text title bar Pin
benjymous6-Nov-06 3:09
benjymous6-Nov-06 3:09 
AnswerRe: Window Text title bar Pin
Hamid_RT6-Nov-06 18:53
Hamid_RT6-Nov-06 18:53 

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.