Click here to Skip to main content
14,606,048 members

C / C++ / MFC

 
GeneralRe: How to calculate width and height of different font size ,font style and no of characters ? Pin
shiv@nand2-Apr-10 1:18
Membershiv@nand2-Apr-10 1:18 
GeneralRe: How to calculate width and height of different font size ,font style and no of characters ? Pin
Eugen Podsypalnikov2-Apr-10 1:53
MemberEugen Podsypalnikov2-Apr-10 1:53 
GeneralRe: How to calculate width and height of different font size ,font style and no of characters ? Pin
shiv@nand2-Apr-10 2:15
Membershiv@nand2-Apr-10 2:15 
GeneralRe: How to calculate width and height of different font size ,font style and no of characters ? Pin
Eugen Podsypalnikov2-Apr-10 2:18
MemberEugen Podsypalnikov2-Apr-10 2:18 
GeneralRe: How to calculate width and height of different font size ,font style and no of characters ? Pin
shiv@nand2-Apr-10 2:25
Membershiv@nand2-Apr-10 2:25 
QuestionCan I export a makefile from Visual Studio? Pin
Aric Wang1-Apr-10 19:04
MemberAric Wang1-Apr-10 19:04 
QuestionWhat is your point, then? Pin
CPallini2-Apr-10 0:10
mveCPallini2-Apr-10 0:10 
QuestionHow to write a function that calls a secondary thread and returns back to the main thread? Pin
eight1-Apr-10 19:03
Membereight1-Apr-10 19:03 
Hi
This is more of a code architecture question. I'll try my best to explain what I'm trying to do.
I need to create a function that have access to a secondary thread, process it, and returns back to the primary thread.

Let say class B has FunctionX.
bool B::FunctionX(LPCTSTR lpszValue, CString& strResponse)
{
  //Access the secondary thread to process lpszValue and assign strResponse;
  //Returns true if process successful and false if process fail
}


Then, class CMyView will call FunctionX like so
void CMyView::Foo()
{
 B myB;
 CString str;
 if(myB.FunctionX(TEXT("TestValue"), str)
 {
  AfxMessagebox(TEXT("Oh Yeah!"));
 }
 else
 {
  AfxMessageBox(TEXT("Boohooo!"));
 }
}

QuestionRe: How to write a function that calls a secondary thread and returns back to the main thread? Pin
Adam Roderick J1-Apr-10 19:27
MemberAdam Roderick J1-Apr-10 19:27 
AnswerRe: How to write a function that calls a secondary thread and returns back to the main thread? Pin
Cedric Moonen1-Apr-10 20:22
MemberCedric Moonen1-Apr-10 20:22 
GeneralRe: How to write a function that calls a secondary thread and returns back to the main thread? Pin
eight1-Apr-10 20:50
Membereight1-Apr-10 20:50 
QuestionLong SMS in PDU mode not Done. Pin
Le@rner1-Apr-10 18:59
MemberLe@rner1-Apr-10 18:59 
QuestionSuspend ShellExcuteEx Pin
Orion Star1-Apr-10 11:06
MemberOrion Star1-Apr-10 11:06 
AnswerRe: Suspend ShellExcuteEx Pin
Richard Andrew x641-Apr-10 11:13
professionalRichard Andrew x641-Apr-10 11:13 
GeneralRe: Suspend ShellExcuteEx Pin
Orion Star2-Apr-10 4:12
MemberOrion Star2-Apr-10 4:12 
GeneralRe: Suspend ShellExcuteEx Pin
Richard Andrew x642-Apr-10 4:53
professionalRichard Andrew x642-Apr-10 4:53 
GeneralRe: Suspend ShellExcuteEx Pin
Orion Star2-Apr-10 5:12
MemberOrion Star2-Apr-10 5:12 
GeneralRe: Suspend ShellExcuteEx Pin
Richard Andrew x642-Apr-10 5:15
professionalRichard Andrew x642-Apr-10 5:15 
GeneralRe: Suspend ShellExcuteEx Pin
Richard Andrew x642-Apr-10 5:35
professionalRichard Andrew x642-Apr-10 5:35 
GeneralRe: Suspend ShellExcuteExd Pin
Orion Star2-Apr-10 9:53
MemberOrion Star2-Apr-10 9:53 
GeneralRe: Suspend ShellExcuteExd Pin
Richard Andrew x642-Apr-10 9:56
professionalRichard Andrew x642-Apr-10 9:56 
GeneralRe: Suspend ShellExcuteExd Pin
Orion Star2-Apr-10 10:09
MemberOrion Star2-Apr-10 10:09 
GeneralRe: Suspend ShellExcuteEx Pin
Orion Star2-Apr-10 9:45
MemberOrion Star2-Apr-10 9:45 
AnswerRe: Suspend ShellExcuteEx Pin
Adam Roderick J1-Apr-10 19:58
MemberAdam Roderick J1-Apr-10 19:58 
GeneralRe: Suspend ShellExcuteEx Pin
Orion Star2-Apr-10 4:13
MemberOrion Star2-Apr-10 4:13 

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.