Click here to Skip to main content
15,905,232 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRich edit control Pin
Aqueel20-Jul-05 3:47
Aqueel20-Jul-05 3:47 
GeneralRe: Rich edit control Pin
David Crow20-Jul-05 3:57
David Crow20-Jul-05 3:57 
GeneralRe: Rich edit control Pin
Neelesh K J Jain20-Jul-05 6:56
Neelesh K J Jain20-Jul-05 6:56 
GeneralRe: Rich edit control Pin
Trollslayer20-Jul-05 7:08
mentorTrollslayer20-Jul-05 7:08 
GeneralUnexpected exception found problem-help urgently Pin
sayup20-Jul-05 3:45
sayup20-Jul-05 3:45 
GeneralRe: Unexpected exception found problem-help urgently Pin
Marc Soleda20-Jul-05 4:05
Marc Soleda20-Jul-05 4:05 
GeneralRe: Unexpected exception found problem-help urgently Pin
David Crow20-Jul-05 4:08
David Crow20-Jul-05 4:08 
GeneralRe: Unexpected exception found problem-help urgently Pin
sayup20-Jul-05 20:58
sayup20-Jul-05 20:58 
This is my OnTimer() code
CDialogDlg::OnTimer()
{
UpdateData(TRUE);

var_x=0;
static int i=0;
static int j=512;

m_ctrl.ClearGraph();//each time before plotting graph earlier graph on screen erased//

for(;i<j;i++)
{
=""
="" m_ctrl.setelementlinecolor(2000);="" m_ctrl.plotxy(var_x,(double)buff[i],0);="" plotting="" 512="" bytes="" of="" data
="" var_x="var_x+(46.875/1000);
" }
="" j="j+512;//increment" so="" that="" in="" next="" settimer="" loopnext="" chunk="" plotted;i.e.from="" 512-1023bytes=""

="" if(j="">1024)
{
r=KillTimer(s);//If 1024 chunks are plotted i Wish to end call to SetTimer;hence calling KillTimer()//
}
UpdateData(FALSE);

}

I degugged the program by palcing breakpoint on KillTimer function.Both the graphs are plotted successfully an dthen plotting stops(that means KillTimer is called).Now as i press OK/CANCEL/Close button to close the dialog it gives message that unhandled exception occcured in dialog.exe
I am not writing any code in ONOK() orONCANCEL().
When i close the cross mark to close the dialog then also sam eerror occurs
please help


thanks
GeneralRe: Unexpected exception found problem-help urgently Pin
David Crow21-Jul-05 2:29
David Crow21-Jul-05 2:29 
GeneralRe: Unexpected exception found problem-help urgently Pin
sayup21-Jul-05 4:04
sayup21-Jul-05 4:04 
GeneralRe: Unexpected exception found problem-help urgently Pin
David Crow21-Jul-05 4:33
David Crow21-Jul-05 4:33 
GeneralDifference Between CDC and CClientDC Pin
Usman Tasleem Akshaf20-Jul-05 3:30
Usman Tasleem Akshaf20-Jul-05 3:30 
GeneralRe: Difference Between CDC and CClientDC Pin
Andrew Kirillov20-Jul-05 3:37
Andrew Kirillov20-Jul-05 3:37 
GeneralSome Technical Questions Pin
Usman Tasleem Akshaf20-Jul-05 2:28
Usman Tasleem Akshaf20-Jul-05 2:28 
Generalremote ftp folder using shell extension Pin
Asif Rehman20-Jul-05 0:59
Asif Rehman20-Jul-05 0:59 
Generalusing .net c++ Pin
ppp00120-Jul-05 0:56
ppp00120-Jul-05 0:56 
GeneralRe: using .net c++ Pin
maheswara20-Jul-05 1:27
maheswara20-Jul-05 1:27 
Generaldisplay window in full screen format Pin
laiju20-Jul-05 0:29
laiju20-Jul-05 0:29 
GeneralRe: display window in full screen format Pin
David Crow20-Jul-05 2:49
David Crow20-Jul-05 2:49 
GeneralRe: display window in full screen format Pin
laiju20-Jul-05 4:41
laiju20-Jul-05 4:41 
GeneralRe: display window in full screen format Pin
David Crow20-Jul-05 4:50
David Crow20-Jul-05 4:50 
GeneralRe: display window in full screen format Pin
vensatren20-Jul-05 3:08
vensatren20-Jul-05 3:08 
GeneralRe: display window in full screen format Pin
laiju20-Jul-05 4:41
laiju20-Jul-05 4:41 
GeneralTapi2.1. lineGetCallStatus Pin
nripun20-Jul-05 0:22
nripun20-Jul-05 0:22 
GeneralRe: Tapi2.1. lineGetCallStatus Pin
Blake Miller20-Jul-05 4:29
Blake Miller20-Jul-05 4:29 

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.