Click here to Skip to main content
15,909,939 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Template Linker Errors... Pin
Arsalan Malik20-Sep-04 2:49
Arsalan Malik20-Sep-04 2:49 
GeneralRe: Template Linker Errors... Pin
Milby00720-Sep-04 4:47
Milby00720-Sep-04 4:47 
GeneralRe: Template Linker Errors... Pin
Bob Stanneveld20-Sep-04 6:27
Bob Stanneveld20-Sep-04 6:27 
GeneralVirtual Keyboard Pin
racing5720-Sep-04 2:35
racing5720-Sep-04 2:35 
GeneralRe: Virtual Keyboard Pin
Blake Miller20-Sep-04 5:04
Blake Miller20-Sep-04 5:04 
GeneralRe: Virtual Keyboard Pin
racing5720-Sep-04 5:11
racing5720-Sep-04 5:11 
GeneralRe: Virtual Keyboard Pin
cwetze0115-Dec-04 15:55
cwetze0115-Dec-04 15:55 
GeneralEdit Box from funtion Pin
W00dSt0ck20-Sep-04 2:14
W00dSt0ck20-Sep-04 2:14 
Hello! I am new to MFC.
I want to change an Edit Box from a function!
The situation is the following (simplified):
<br />
<br />
int function();     //Prototype<br />
<br />
void TestDlg::OnGo()<br />
{<br />
     SetDlgItemText(IDC_Output, "From OnGo!!!");     //Works fine<br />
     function();  // Call my function<br />
}<br />
<br />
int function()<br />
{<br />
     SetDlgItemText(IDC_Output, "From funtion()!!");    // ERROR<br />
}<br />
<br />


So, the output from the function does not work. I know, I have to append something, but what?????
GeneralRe: Edit Box from funtion Pin
Alpha Siera20-Sep-04 3:00
Alpha Siera20-Sep-04 3:00 
GeneralRe: Edit Box from funtion Pin
W00dSt0ck20-Sep-04 3:18
W00dSt0ck20-Sep-04 3:18 
GeneralRe: Edit Box from funtion Pin
Alpha Siera20-Sep-04 3:31
Alpha Siera20-Sep-04 3:31 
GeneralRe: Edit Box from funtion Pin
Arsalan Malik20-Sep-04 3:08
Arsalan Malik20-Sep-04 3:08 
GeneralRe: Edit Box from funtion Pin
W00dSt0ck20-Sep-04 4:10
W00dSt0ck20-Sep-04 4:10 
GeneralRe: Edit Box from funtion Pin
David Crow20-Sep-04 5:36
David Crow20-Sep-04 5:36 
Generalglobal hotkey: i dont get the WM_HOTKEY message Pin
Member 134487420-Sep-04 2:00
Member 134487420-Sep-04 2:00 
GeneralInternetGetConnectedState and LAN Pin
WernerP20-Sep-04 1:05
WernerP20-Sep-04 1:05 
QuestionHow to lock a CFile in VC++ 6.0? Pin
Neeranjan19-Sep-04 22:26
Neeranjan19-Sep-04 22:26 
AnswerRe: How to lock a CFile in VC++ 6.0? Pin
Alpha Siera19-Sep-04 22:40
Alpha Siera19-Sep-04 22:40 
GeneralRe: How to lock a CFile in VC++ 6.0? Pin
Neeranjan19-Sep-04 22:59
Neeranjan19-Sep-04 22:59 
GeneralRe: How to lock a CFile in VC++ 6.0? Pin
Alpha Siera20-Sep-04 0:22
Alpha Siera20-Sep-04 0:22 
GeneralRe: How to lock a CFile in VC++ 6.0? Pin
David Crow20-Sep-04 5:43
David Crow20-Sep-04 5:43 
GeneralRe: How to lock a CFile in VC++ 6.0? Pin
Neeranjan20-Sep-04 20:22
Neeranjan20-Sep-04 20:22 
GeneralRe: How to lock a CFile in VC++ 6.0? Pin
David Crow21-Sep-04 3:40
David Crow21-Sep-04 3:40 
GeneralRe: How to lock a CFile in VC++ 6.0? Pin
Neeranjan21-Sep-04 4:38
Neeranjan21-Sep-04 4:38 
GeneralRe: How to lock a CFile in VC++ 6.0? Pin
David Crow21-Sep-04 5:24
David Crow21-Sep-04 5:24 

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.