Click here to Skip to main content
15,898,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Binary was not built with debug information Pin
toxcct12-Sep-06 3:46
toxcct12-Sep-06 3:46 
GeneralRe: Binary was not built with debug information Pin
RugbyLeague12-Sep-06 3:50
RugbyLeague12-Sep-06 3:50 
Questionhelp please!!!!!!!!!!!!!!! Pin
wiemounir12-Sep-06 3:42
wiemounir12-Sep-06 3:42 
AnswerRe: help please!!!!!!!!!!!!!!! Pin
toxcct12-Sep-06 3:48
toxcct12-Sep-06 3:48 
Generalnothing changes Pin
wiemounir12-Sep-06 4:25
wiemounir12-Sep-06 4:25 
Questionhow to handle screen resolution changes in a floating ccontrolbar Pin
PrabhuDev12-Sep-06 2:55
PrabhuDev12-Sep-06 2:55 
QuestionProblem with MessageBox & Pointing Pin
Semion_N12-Sep-06 2:49
Semion_N12-Sep-06 2:49 
AnswerRe: Problem with MessageBox & Pointing [modified] Pin
_AnsHUMAN_ 12-Sep-06 2:55
_AnsHUMAN_ 12-Sep-06 2:55 
Semion_N wrote:
When I'm trying to use simple MessageBox("hello");

MessageBox function take 4 parameters.
It's declared as:
int MessageBox(HWND hWnd,
LPCTSTR lpText,
LPCTSTR lpCaption,
UINT uType
);
MessageBoxA- Windows
MessageBoxW- Unicode //// Correction
On the other hand AfxMessageBox takes only 1 parameter.The other's are default.
int AfxMessageBox(
   LPCTSTR lpszText,
   UINT nType = MB_OK,   // This is default
   UINT nIDHelp = 0      // This is also default 
);
int AFXAPI AfxMessageBox(
   UINT nIDPrompt,
   UINT nType = MB_OK,
   UINT nIDHelp = (UINT
) -1 
);


Semion_N wrote:
When I'm running the project it thorows me an error at line 40:
c = T->PointersToNodes[1]->currentCaseVector[i];(c is char).

D'Oh! | :doh:



-- modified at 9:14 Tuesday 12th September, 2006

Somethings seem HARD to do, until we know how to do them.
Wink | ;-) _AnShUmAn_

GeneralRe: Problem with MessageBox & Pointing Pin
Semion_N12-Sep-06 3:02
Semion_N12-Sep-06 3:02 
GeneralRe: Problem with MessageBox & Pointing Pin
toxcct12-Sep-06 3:02
toxcct12-Sep-06 3:02 
AnswerRe: Problem with MessageBox & Pointing Pin
Waldermort12-Sep-06 3:11
Waldermort12-Sep-06 3:11 
GeneralRe: Problem with MessageBox & Pointing Pin
Semion_N12-Sep-06 3:22
Semion_N12-Sep-06 3:22 
GeneralRe: Problem with MessageBox & Pointing Pin
Waldermort12-Sep-06 3:38
Waldermort12-Sep-06 3:38 
GeneralRe: Problem with MessageBox & Pointing Pin
Semion_N12-Sep-06 3:42
Semion_N12-Sep-06 3:42 
AnswerRe: Problem with MessageBox & Pointing Pin
_AnsHUMAN_ 12-Sep-06 3:47
_AnsHUMAN_ 12-Sep-06 3:47 
GeneralRe: Problem with MessageBox & Pointing Pin
Semion_N12-Sep-06 4:12
Semion_N12-Sep-06 4:12 
AnswerRe: Problem with MessageBox & Pointing Pin
Semion_N12-Sep-06 5:20
Semion_N12-Sep-06 5:20 
GeneralRe: Problem with MessageBox & Pointing Pin
Waldermort12-Sep-06 6:42
Waldermort12-Sep-06 6:42 
GeneralRe: Problem with MessageBox & Pointing Pin
Semion_N12-Sep-06 8:10
Semion_N12-Sep-06 8:10 
Questionwho sent the message "WM_CREATE" and "WM_PAINT"? Pin
bloodwinner12-Sep-06 1:58
bloodwinner12-Sep-06 1:58 
AnswerRe: who sent the message "WM_CREATE" and "WM_PAINT"? Pin
HakunaMatada12-Sep-06 2:13
HakunaMatada12-Sep-06 2:13 
AnswerRe: who sent the message "WM_CREATE" and "WM_PAINT"? Pin
_AnsHUMAN_ 12-Sep-06 2:16
_AnsHUMAN_ 12-Sep-06 2:16 
AnswerRe: who sent the message "WM_CREATE" and "WM_PAINT"? Pin
Hamid_RT12-Sep-06 2:31
Hamid_RT12-Sep-06 2:31 
AnswerRe: who sent the message "WM_CREATE" and "WM_PAINT"? Pin
Hamid_RT13-Sep-06 8:11
Hamid_RT13-Sep-06 8:11 
QuestionIWebBrowser2 woes. Pin
HakunaMatada12-Sep-06 1:31
HakunaMatada12-Sep-06 1:31 

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.