Click here to Skip to main content
15,885,985 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to display Images in a List Control or any other control one by one Pin
Shiv Murti Pal8-May-09 1:09
Shiv Murti Pal8-May-09 1:09 
AnswerRe: How to display Images in a List Control or any other control one by one Pin
Hamid_RT8-May-09 2:16
Hamid_RT8-May-09 2:16 
QuestionFlash ActiveX and DX Pin
GamerGoon8-May-09 0:33
GamerGoon8-May-09 0:33 
QuestionDll address Pin
gopalraja8-May-09 0:12
gopalraja8-May-09 0:12 
AnswerRe: Dll address Pin
_AnsHUMAN_ 8-May-09 0:23
_AnsHUMAN_ 8-May-09 0:23 
Questionhow to add word in a special position where cursor at Pin
jeansea7-May-09 23:51
jeansea7-May-09 23:51 
AnswerRe: how to add word in a special position where cursor at Pin
_AnsHUMAN_ 7-May-09 23:56
_AnsHUMAN_ 7-May-09 23:56 
QuestionDebugging problem Pin
pani687-May-09 23:50
pani687-May-09 23:50 
I have created a long string to be shown in in a message box (code given below). When I set a break point at the Format function of the string and run the debugger, the break point is diabled with a message "The breakpoint will not be currently hit. No executable code is associated with this line. Possible causes includes: preprocessor directives or compiler/linker optimizations." However, other break points (even set immediately after the Format funtion works. The code I am using is as follows:

CString strMessage;

strMessage.Format(L"A text file containing the boundary detals in the following format may be imported:\n"
    L"\nn (Number of boundary points, integer)"
    L"\nX_1         (X co-ordinate of first boundary point)"
    L"\nY_1         (Y co-ordinate of first boundary point)"
    L"\nX_2         (X co-ordinate of second boundary point)"
    L"\nY_2         (Y co-ordinate of second boundary point)"
    L"\n..."
    L"\n..."
    L"\n..."
    L"\nX_n         (X co-ordinate of n\'th boundary point)"
    L"\nY_n         (Y co-ordinate of n\'th boundary point)\n"
    L"\nThe X and Y co-ordinates can be any real values positive, negative or zero\n"
    L"\n\nNote: The existing data will be replaced with the content of the text file!"
    L"\n\nDo you have a text file in this format and wish to continue?");
if(MessageBox(strMessage,NULL,MB_YESNO|MB_ICONQUESTION)==IDNO)
    return;


I am using VS 2008.

Any ideas to solve the problem will be highly helpful for me.

Thanks in advance.
AnswerRe: Debugging problem Pin
_AnsHUMAN_ 7-May-09 23:53
_AnsHUMAN_ 7-May-09 23:53 
GeneralRe: Debugging problem Pin
Rajesh R Subramanian8-May-09 0:06
professionalRajesh R Subramanian8-May-09 0:06 
GeneralRe: Debugging problem Pin
_AnsHUMAN_ 8-May-09 0:09
_AnsHUMAN_ 8-May-09 0:09 
GeneralRe: Debugging problem Pin
Rajesh R Subramanian8-May-09 0:45
professionalRajesh R Subramanian8-May-09 0:45 
GeneralRe: Debugging problem Pin
Stuart Dootson8-May-09 2:08
professionalStuart Dootson8-May-09 2:08 
GeneralRe: Debugging problem Pin
Stuart Dootson8-May-09 2:09
professionalStuart Dootson8-May-09 2:09 
AnswerRe: Debugging problem [modified] Pin
Madhu Nair8-May-09 0:39
Madhu Nair8-May-09 0:39 
GeneralRe: Debugging problem Pin
pani688-May-09 1:45
pani688-May-09 1:45 
GeneralRe: Debugging problem Pin
Stuart Dootson8-May-09 2:12
professionalStuart Dootson8-May-09 2:12 
AnswerRe: Debugging problem Pin
David Crow8-May-09 3:02
David Crow8-May-09 3:02 
QuestionRe: Debugging problem [modified] Pin
Madhu Nair8-May-09 6:52
Madhu Nair8-May-09 6:52 
Questionhow to design and program 'language change' Pin
karpis_miroslav7-May-09 23:34
karpis_miroslav7-May-09 23:34 
AnswerRe: how to design and program 'language change' Pin
_AnsHUMAN_ 7-May-09 23:48
_AnsHUMAN_ 7-May-09 23:48 
GeneralRe: how to design and program 'language change' Pin
karpis_miroslav7-May-09 23:56
karpis_miroslav7-May-09 23:56 
QuestionHow to get IP Address of the system using MFC Pin
PankajB7-May-09 23:29
PankajB7-May-09 23:29 
AnswerRe: How to get IP Address of the system using MFC Pin
_AnsHUMAN_ 7-May-09 23:51
_AnsHUMAN_ 7-May-09 23:51 
GeneralRe: How to get IP Address of the system using MFC Pin
PankajB7-May-09 23:59
PankajB7-May-09 23:59 

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.