Pls help me out i am using visual C++6.0 enterprise edition....

/*--------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------*/
//  Source file originally created by PegWindowBuilder
//  
//  
//  Class Name: ecgclass
//  
//  Notes:
/*--------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------*/



/* WB Auto-Generated Start (1)  */
#include "peg.hpp"
#include "ecg_res.hpp"
#include "ecgone.hpp"
extern PegResourceTable Default_Theme_ResourceTable;
/* WB Auto-Generated End (2)  */

/*--------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------*/
/* WB Auto-Generated Start (3)  */
void PegAppInitialize(PegPresentationManager *pPresent)
{
    /* WB Auto-Generated End (20)  */

    /* WB Auto-Generated Start (21)  */
    PegResourceManager::InstallResourcesFromTable(&Default_Theme_ResourceTable);
    ecgclass *pWin = new ecgclass(0,0);
	ecgclass ;
    pPresent->Center(pWin);
    pPresent->Add(pWin);
    /* WB Auto-Generated End (4)  */

}

/* WB Auto-Generated Start (5)  */
/*--------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------*/
//  Constructor
//  Create top level object and add all children
/*--------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------*/
ecgclass::ecgclass(PEGINT Left, PEGINT Top) : 
    PegWindow(FF_THIN)
{
    PegRect ChildRect;
    PegThing *pChild1, *pChild2;

    /* WB Auto-Generated End (6)  */

    /* WB Auto-Generated Start (7)  */
    mReal.Set(Left, Top, Left + 949, Top + 849);
    InitClient();
    SetColor(PCI_NORMAL, CID_LOWLIGHT);
    RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);

    ChildRect.Set(Left + 800, Top + 71, Left + 935, Top + 248);
    pChild1 = new PegPrompt(ChildRect, 0, ID_ECG,
         FF_RAISED|AF_TRANSPARENT|TJ_LEFT);
    pChild1->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
    pChild1->SetColor(PCI_NTEXT, CID_BLACK);
    ChildRect.Set(Left + 800, Top + 71, Left + 841, Top + 248);
    pChild2 = new PegVPrompt(ChildRect, SID_ELECTRO, 0, FF_RAISED);
    pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
    pChild2->SetColor(PCI_NTEXT, CID_LIGHTGREEN);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 854, Top + 173, Left + 922, Top + 192);
    pChild2 = new PegPrompt(ChildRect, SID_ECGREADING);
    pChild2->SetColor(PCI_NTEXT, CID_GREEN);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 899, Top + 78, Left + 927, Top + 97);
    pChild2 = new PegPrompt(ChildRect, SID_UPPER);
    pChild2->SetColor(PCI_NTEXT, CID_GREEN);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 905, Top + 150, Left + 933, Top + 169);
    pChild2 = new PegPrompt(ChildRect, SID_LOWER);
    pChild2->SetColor(PCI_NTEXT, CID_GREEN);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 853, Top + 102, Left + 901, Top + 146);
    pChild2 = new PegTextBox(ChildRect, 0, ID_ECGBOX,
         FF_RECESSED|TT_COPY|EF_WRAP, 1000);
    pChild2->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
    pChild1->Add(pChild2);

    Add(pChild1);

    ChildRect.Set(Left + 800, Top + 247, Left + 935, Top + 344);
    pChild1 = new PegPrompt(ChildRect, 0, ID_SPO2,
         FF_RAISED|AF_TRANSPARENT|TJ_LEFT);
    pChild1->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
    pChild1->SetColor(PCI_NTEXT, CID_BLACK);
    ChildRect.Set(Left + 800, Top + 247, Left + 838, Top + 344);
    pChild2 = new PegVPrompt(ChildRect, SID_OXYGEN, 0,
         FF_RAISED|AF_TRANSPARENT);
    pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
    pChild2->SetColor(PCI_NTEXT, CID_MENUBAR_HOV);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 843, Top + 318, Left + 927, Top + 337);
    pChild2 = new PegPrompt(ChildRect, SID_SPOREADING);
    pChild2->SetColor(PCI_NTEXT, CID_LIGHTCYAN);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 905, Top + 249, Left + 933, Top + 268);
    pChild2 = new PegPrompt(ChildRect, SID_SPOUPPER);
    pChild2->SetColor(PCI_NTEXT, CID_LIGHTCYAN);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 905, Top + 298, Left + 933, Top + 317);
    pChild2 = new PegPrompt(ChildRect, SID_SPOLOWER);
    pChild2->SetColor(PCI_NTEXT, CID_LIGHTCYAN);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 905, Top + 274, Left + 933, Top + 293);
    pChild2 = new PegPrompt(ChildRect, SID_PERCENT);
    pChild2->SetColor(PCI_NTEXT, CID_LIGHTCYAN);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 844, Top + 262, Left + 892, Top + 306);
    pChild2 = new PegTextBox(ChildRect, 0, ID_SPOBOX,
         FF_RECESSED|TT_COPY|EF_WRAP, 1000);
    pChild2->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
    pChild1->Add(pChild2);

    Add(pChild1);

    ChildRect.Set(Left + 800, Top + 344, Left + 935, Top + 441);
    pChild1 = new PegPrompt(ChildRect, 0, ID_CO2,
         FF_RAISED|AF_TRANSPARENT|TJ_LEFT);
    pChild1->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
    pChild1->SetColor(PCI_NTEXT, CID_BLACK);
    ChildRect.Set(Left + 800, Top + 344, Left + 835, Top + 441);
    pChild2 = new PegVPrompt(ChildRect, SID_CARBON, 0,
         FF_RAISED|AF_TRANSPARENT);
    pChild2->SetColor(PCI_NORMAL, CID_BLACK);
    pChild2->SetColor(PCI_NTEXT, CID_YELLOW);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 844, Top + 344, Left + 933, Top + 363);
    pChild2 = new PegPrompt(ChildRect, SID_CARBONAGENT);
    pChild2->SetColor(PCI_NTEXT, CID_YELLOW);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 838, Top + 377, Left + 931, Top + 396);
    pChild2 = new PegPrompt(ChildRect, SID_CARBONREADING, 0,
         FF_NONE|AF_TRANSPARENT|TJ_RIGHT);
    pChild2->SetColor(PCI_NTEXT, CID_YELLOW);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 882, Top + 420, Left + 931, Top + 439);
    pChild2 = new PegPrompt(ChildRect, SID_CARBONREAD);
    pChild2->SetColor(PCI_NTEXT, CID_YELLOW);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 881, Top + 397, Left + 896, Top + 417);
    pChild2 = new PegPrompt(ChildRect, SID_PARAONELOW);
    pChild2->SetColor(PCI_NTEXT, CID_YELLOW);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 918, Top + 365, Left + 933, Top + 385);
    pChild2 = new PegPrompt(ChildRect, SID_CARBOREADIN);
    pChild2->SetColor(PCI_NTEXT, CID_YELLOW);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 837, Top + 397, Left + 933, Top + 397);
    pChild2 = new PegTextBox(ChildRect, 0, 0, FF_RECESSED|TT_COPY|EF_WRAP,
         1000);
    pChild2->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 848, Top + 360, Left + 865, Top + 378);
    pChild2 = new PegTextBox(ChildRect, 0, ID_COBOX, FF_RECESSED|TT_COPY|EF_WRAP,
         1000);
    pChild2->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 896, Top + 360, Left + 913, Top + 378);
    pChild2 = new PegTextBox(ChildRect, 0, ID_COBOXTWO,
         FF_RECESSED|TT_COPY|EF_WRAP, 1000);
    pChild2->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 845, Top + 404, Left + 873, Top + 432);
    pChild2 = new PegTextBox(ChildRect, 0, ID_COBOXTHRE,
         FF_RECESSED|TT_COPY|EF_WRAP, 1000);
    pChild2->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
    pChild1->Add(pChild2);

    Add(pChild1);

    ChildRect.Set(Left + 801, Top + 538, Left + 936, Top + 635);
    pChild1 = new PegPrompt(ChildRect, 0, ID_P2,
         FF_RAISED|AF_TRANSPARENT|TJ_LEFT);
    pChild1->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
    pChild1->SetColor(PCI_NTEXT, CID_BLACK);
    ChildRect.Set(Left + 801, Top + 575, Left + 836, Top + 635);
    pChild2 = new PegVPrompt(ChildRect, SID_ARTS, 0, FF_RAISED|AF_TRANSPARENT);
    pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
    pChild2->SetColor(PCI_NTEXT, CID_HELP_PRMPT);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 801, Top + 538, Left + 851, Top + 577);
    pChild2 = new PegPrompt(ChildRect, SID_PARAMETERTWO, 0,
         FF_RAISED|AF_TRANSPARENT|TJ_LEFT);
    pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
    pChild2->SetColor(PCI_NTEXT, CID_WHITE);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 855, Top + 540, Left + 934, Top + 565);
    pChild2 = new PegPrompt(ChildRect, SID_PARATWOUPPER);
    pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
    pChild2->SetColor(PCI_NTEXT, CID_WHITE);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 840, Top + 593, Left + 919, Top + 618);
    pChild2 = new PegPrompt(ChildRect, SID_PARATWOREAD);
    pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
    pChild2->SetColor(PCI_NTEXT, CID_WHITE);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 855, Top + 608, Left + 934, Top + 633);
    pChild2 = new PegPrompt(ChildRect, SID_PARATWOREADIN);
    pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
    pChild2->SetColor(PCI_NTEXT, CID_WHITE);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 881, Top + 565, Left + 891, Top + 595);
    pChild2 = new PegPrompt(ChildRect, SID_PARATWOSLASH);
    pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
    pChild2->SetColor(PCI_NTEXT, CID_WHITE);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 893, Top + 568, Left + 920, Top + 591);
    pChild2 = new PegTextBox(ChildRect, 0, ID_PTWOTWO,
         FF_RECESSED|TT_COPY|EF_WRAP, 1000);
    pChild2->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 850, Top + 566, Left + 877, Top + 589);
    pChild2 = new PegTextBox(ChildRect, 0, ID_PTWO, FF_RECESSED|TT_COPY|EF_WRAP,
         1000);
    pChild2->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
    pChild1->Add(pChild2);

    Add(pChild1);

    ChildRect.Set(Left + 799, Top + 633, Left + 934, Top + 730);
    pChild1 = new PegPrompt(ChildRect, 0, ID_GAS,
         FF_RAISED|AF_TRANSPARENT|TJ_LEFT);
    pChild1->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
    pChild1->SetColor(PCI_NTEXT, CID_BLACK);
    ChildRect.Set(Left + 799, Top + 633, Left + 834, Top + 730);
    pChild2 = new PegVPrompt(ChildRect, SID_GASEOUS, 0,
         FF_RAISED|AF_TRANSPARENT);
    pChild2->SetColor(PCI_NORMAL, CID_BLACK);
    pChild2->SetColor(PCI_NTEXT, CID_YELLOW);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 845, Top + 643, Left + 873, Top + 662);
    pChild2 = new PegPrompt(ChildRect, SID_OXYGENPERCENT, 0, FF_NONE|TJ_LEFT);
    pChild2->SetColor(PCI_NORMAL, CID_SHADOW);
    pChild2->SetColor(PCI_NTEXT, CID_GREEN);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 845, Top + 692, Left + 874, Top + 722);
    pChild2 = new PegPrompt(ChildRect, SID_NITROGENPERCENT);
    pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
    pChild2->SetColor(PCI_NTEXT, CID_WHITE);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 891, Top + 644, Left + 923, Top + 670);
    pChild2 = new PegTextBox(ChildRect, 0, ID_GASO, FF_RECESSED|TT_COPY|EF_WRAP,
         1000);
    pChild2->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 892, Top + 693, Left + 922, Top + 719);
    pChild2 = new PegTextBox(ChildRect, 0, ID_GASNO, FF_RECESSED|TT_COPY|EF_WRAP,
         1000);
    pChild2->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
    pChild1->Add(pChild2);

    Add(pChild1);

    ChildRect.Set(Left + 800, Top + 441, Left + 935, Top + 538);
    pChild1 = new PegPrompt(ChildRect, 0, ID_P1,
         FF_RAISED|AF_TRANSPARENT|TJ_LEFT);
    pChild1->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
    pChild1->SetColor(PCI_NTEXT, CID_BLACK);
    ChildRect.Set(Left + 800, Top + 478, Left + 835, Top + 538);
    pChild2 = new PegVPrompt(ChildRect, SID_ARTS, 0, FF_RAISED|AF_TRANSPARENT);
    pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
    pChild2->SetColor(PCI_NTEXT, CID_HELP_PRMPT);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 800, Top + 441, Left + 850, Top + 480);
    pChild2 = new PegPrompt(ChildRect, SID_PARAMETERONE, 0,
         FF_RAISED|AF_TRANSPARENT|TJ_LEFT);
    pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
    pChild2->SetColor(PCI_NTEXT, CID_WHITE);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 854, Top + 442, Left + 933, Top + 467);
    pChild2 = new PegPrompt(ChildRect, SID_PARATWOUPPER);
    pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
    pChild2->SetColor(PCI_NTEXT, CID_WHITE);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 836, Top + 493, Left + 915, Top + 518);
    pChild2 = new PegPrompt(ChildRect, SID_PARATWOREAD);
    pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
    pChild2->SetColor(PCI_NTEXT, CID_WHITE);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 856, Top + 511, Left + 935, Top + 536);
    pChild2 = new PegPrompt(ChildRect, SID_PARATWOREADIN);
    pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
    pChild2->SetColor(PCI_NTEXT, CID_WHITE);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 883, Top + 468, Left + 893, Top + 498);
    pChild2 = new PegPrompt(ChildRect, SID_PARATWOSLASH);
    pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
    pChild2->SetColor(PCI_NTEXT, CID_WHITE);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 851, Top + 468, Left + 878, Top + 491);
    pChild2 = new PegTextBox(ChildRect, 0, ID_PONE, FF_RECESSED|TT_COPY|EF_WRAP,
         1000);
    pChild2->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 893, Top + 469, Left + 920, Top + 492);
    pChild2 = new PegTextBox(ChildRect, 0, ID_PONETWO,
         FF_RECESSED|TT_COPY|EF_WRAP, 1000);
    pChild2->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
    pChild1->Add(pChild2);

    Add(pChild1);

    ChildRect.Set(Left + 662, Top + 634, Left + 797, Top + 732);
    pChild1 = new PegPrompt(ChildRect, 0, ID_AGENT,
         FF_RAISED|AF_TRANSPARENT|TJ_LEFT);
    pChild1->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
    pChild1->SetColor(PCI_NTEXT, CID_BLACK);
    ChildRect.Set(Left + 662, Top + 635, Left + 697, Top + 732);
    pChild2 = new PegVPrompt(ChildRect, SID_AGENTS, 0,
         FF_RAISED|AF_TRANSPARENT);
    pChild2->SetColor(PCI_NORMAL, CID_BLACK);
    pChild2->SetColor(PCI_NTEXT, CID_HIGHLIGHT);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 698, Top + 681, Left + 794, Top + 681);
    pChild2 = new PegTextBox(ChildRect, 0, 0, FF_RECESSED|TT_COPY|EF_WRAP,
         1000);
    pChild2->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 698, Top + 634, Left + 796, Top + 671);
    pChild2 = new PegTextBox(ChildRect, SID_AGENTONE, 0, FF_NONE|TT_COPY|EF_WRAP,
         1000);
    pChild2->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
    pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
    pChild2->SetColor(PCI_NTEXT, CID_WHITE);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 698, Top + 689, Left + 796, Top + 726);
    pChild2 = new PegTextBox(ChildRect, SID_AGENTTWO, 0, FF_NONE|TT_COPY|EF_WRAP,
         1000);
    pChild2->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
    pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
    pChild2->SetColor(PCI_NTEXT, CID_WHITE);
    pChild1->Add(pChild2);

    Add(pChild1);

    ChildRect.Set(Left + 527, Top + 634, Left + 664, Top + 732);
    pChild1 = new PegPrompt(ChildRect, 0, ID_RESP,
         FF_RAISED|AF_TRANSPARENT|TJ_LEFT);
    pChild1->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
    pChild1->SetColor(PCI_NTEXT, CID_BLACK);
    ChildRect.Set(Left + 527, Top + 635, Left + 562, Top + 732);
    pChild2 = new PegVPrompt(ChildRect, SID_RESPIRATON, 0,
         FF_RAISED|AF_TRANSPARENT);
    pChild2->SetColor(PCI_NORMAL, CID_BLACK);
    pChild2->SetColor(PCI_NTEXT, CID_HIGHLIGHT);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 642, Top + 636, Left + 660, Top + 662);
    pChild2 = new PegPrompt(ChildRect, SID_RESPIUP);
    pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
    pChild2->SetColor(PCI_NTEXT, CID_WHITE);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 648, Top + 664, Left + 659, Top + 685);
    pChild2 = new PegPrompt(ChildRect, SID_RESPILOW);
    pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
    pChild2->SetColor(PCI_NTEXT, CID_WHITE);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 627, Top + 687, Left + 656, Top + 713);
    pChild2 = new PegPrompt(ChildRect, SID_RESPIBEAT);
    pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
    pChild2->SetColor(PCI_NTEXT, CID_WHITE);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 575, Top + 646, Left + 621, Top + 681);
    pChild2 = new PegTextBox(ChildRect, 0, ID_RESPO, FF_RECESSED|TT_COPY|EF_WRAP,
         1000);
    pChild2->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
    pChild1->Add(pChild2);

    Add(pChild1);

    ChildRect.Set(Left + 389, Top + 634, Left + 529, Top + 732);
    pChild1 = new PegPrompt(ChildRect, 0, ID_TEMP,
         FF_RAISED|AF_TRANSPARENT|TJ_LEFT);
    pChild1->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
    pChild1->SetColor(PCI_NTEXT, CID_BLACK);
    ChildRect.Set(Left + 390, Top + 634, Left + 425, Top + 732);
    pChild2 = new PegVPrompt(ChildRect, SID_TEMPERATURE, 0,
         FF_RAISED|AF_TRANSPARENT);
    pChild2->SetColor(PCI_NORMAL, CID_BLACK);
    pChild2->SetColor(PCI_NTEXT, CID_HIGHLIGHT);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 495, Top + 688, Left + 524, Top + 714);
    pChild2 = new PegPrompt(ChildRect, SID_TEMPDEGREE);
    pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
    pChild2->SetColor(PCI_NTEXT, CID_WHITE);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 431, Top + 636, Left + 460, Top + 662);
    pChild2 = new PegPrompt(ChildRect, SID_TEMPE);
    pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
    pChild2->SetColor(PCI_NTEXT, CID_WHITE);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 494, Top + 634, Left + 523, Top + 660);
    pChild2 = new PegPrompt(ChildRect, SID_TEMPUPPER);
    pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
    pChild2->SetColor(PCI_NTEXT, CID_WHITE);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 495, Top + 658, Left + 524, Top + 684);
    pChild2 = new PegPrompt(ChildRect, SID_TEMPLOW);
    pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
    pChild2->SetColor(PCI_NTEXT, CID_WHITE);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 436, Top + 674, Left + 482, Top + 709);
    pChild2 = new PegTextBox(ChildRect, 0, ID_TEMPO, FF_RECESSED|TT_COPY|EF_WRAP,
         1000);
    pChild1->Add(pChild2);

    Add(pChild1);

    ChildRect.Set(Left + 0, Top + 634, Left + 301, Top + 732);
    pChild1 = new PegPrompt(ChildRect, 0, ID_MANUALBOX,
         FF_RAISED|AF_TRANSPARENT|TJ_LEFT);
    pChild1->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
    pChild1->SetColor(PCI_NTEXT, CID_BLACK);
    ChildRect.Set(Left + 45, Top + 644, Left + 117, Top + 671);
    pChild2 = new PegTextBox(ChildRect, SID_MANUALLLY, ID_MANUAL,
         FF_NONE|TT_COPY|EF_WRAP, 1000);
    pChild2->AddStatus(PSF_SIZEABLE);
    pChild2->RemoveStatus(PSF_MOVEABLE);
    pChild2->SetColor(PCI_NORMAL, CID_BLACK);
    pChild2->SetColor(PCI_NTEXT, CID_MAGENTA);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 0, Top + 634, Left + 35, Top + 732);
    pChild2 = new PegVPrompt(ChildRect, SID_BLOODPRESSURE, 0,
         FF_RAISED|AF_TRANSPARENT);
    pChild2->SetColor(PCI_NORMAL, CID_BLACK);
    pChild2->SetColor(PCI_NTEXT, CID_LIGHTMAGENTA);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 167, Top + 680, Left + 246, Top + 705);
    pChild2 = new PegPrompt(ChildRect, SID_PARATWOREAD);
    pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
    pChild2->SetColor(PCI_NTEXT, CID_LIGHTMAGENTA);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 185, Top + 700, Left + 264, Top + 725);
    pChild2 = new PegPrompt(ChildRect, SID_PARATWOREADIN);
    pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
    pChild2->SetColor(PCI_NTEXT, CID_LIGHTMAGENTA);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 46, Top + 673, Left + 71, Top + 698);
    pChild2 = new PegPrompt(ChildRect, SID_NIBPET);
    pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
    pChild2->SetColor(PCI_NTEXT, CID_LIGHTMAGENTA);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 121, Top + 668, Left + 146, Top + 693);
    pChild2 = new PegPrompt(ChildRect, SID_NIBPTWO);
    pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
    pChild2->SetColor(PCI_NTEXT, CID_LIGHTMAGENTA);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 138, Top + 644, Left + 183, Top + 669);
    pChild2 = new PegPrompt(ChildRect, SID_NIBPREADIN);
    pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
    pChild2->SetColor(PCI_NTEXT, CID_LIGHTMAGENTA);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 205, Top + 647, Left + 235, Top + 674);
    pChild2 = new PegTextBox(ChildRect, 0, ID_NIBPUP,
         FF_RECESSED|TT_COPY|EF_WRAP, 1000);
    pChild2->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 243, Top + 644, Left + 253, Top + 674);
    pChild2 = new PegPrompt(ChildRect, SID_PARATWOSLASH);
    pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
    pChild2->SetColor(PCI_NTEXT, CID_WHITE);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 256, Top + 647, Left + 286, Top + 674);
    pChild2 = new PegTextBox(ChildRect, 0, ID_NIBPDOWN,
         FF_RECESSED|TT_COPY|EF_WRAP, 1000);
    pChild2->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
    pChild1->Add(pChild2);

    ChildRect.Set(Left + 42, Top + 698, Left + 108, Top + 722);
    pChild2 = new PegTextBox(ChildRect, SID_USAGETIMER, ID_TIMER,
         FF_RECESSED|TT_COPY|EF_WRAP, 1000);
    pChild2->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
    pChild2->SetColor(PCI_NTEXT, CID_BLACK);
    pChild1->Add(pChild2);

    Add(pChild1);

    ChildRect.Set(Left + 492, Top + 751, Left + 558, Top + 770);
    pChild1 = new PegPrompt(ChildRect, SID_BATTERYSPO);
    pChild1->SetColor(PCI_NTEXT, CID_LIGHTCYAN);
    Add(pChild1);

    ChildRect.Set(Left + 689, Top + 753, Left + 734, Top + 772);
    pChild1 = new PegPrompt(ChildRect, SID_BATTERYECG);
    pChild1->SetColor(PCI_NTEXT, CID_LIGHTGREEN);
    Add(pChild1);
	
	#define PegLineChart
	#define ChildRect

    ChildRect.Set(Left + 1, Top + 70, Left + 800, Top + 249);
    pChild1 = new PegLineChart(ChildRect, 0, 50, 0, 50, 10, 10);
    pChild1->SetId(ID_GRAPH1);
    pChild1->SetColor(PCI_NORMAL, CID_LOWLIGHT);
    pChild1->SetColor(PCI_NTEXT, CID_DESKTOP);
    ((PegLineChart *) pChild1)->SetExStyle (CS_DRAWYTICS|CS_AUTOSIZE|CS_DRAWYLABELS);
    ((PegLineChart *) pChild1)->RemoveStyle (FF_MASK);
    ((PegLineChart *) pChild1)->AddStyle (FF_NONE);
    Add(pChild1);

    ChildRect.Set(Left + 1, Top + 250, Left + 797, Top + 345);
    pChild1 = new PegLineChart(ChildRect, 0, 50, 0, 50, 10, 10);
    pChild1->SetId(ID_GRAPH2);
    pChild1->SetColor(PCI_NORMAL, CID_LOWLIGHT);
    pChild1->SetColor(PCI_NTEXT, CID_DESKTOP);
    ((PegLineChart *) pChild1)->SetExStyle(CS_DRAWYTICS|CS_AUTOSIZE|CS_DRAWYLABELS);
    ((PegLineChart *) pChild1)->RemoveStyle(FF_MASK);
    ((PegLineChart *) pChild1)->AddStyle(FF_NONE);
    Add(pChild1);

    ChildRect.Set(Left + 1, Top + 346, Left + 797, Top + 441);
    pChild1 = new PegLineChart(ChildRect, 0, 50, 0, 50, 10, 10);
    pChild1->SetId(ID_GRAPH3);
    pChild1->SetColor(PCI_NORMAL, CID_LOWLIGHT);
    pChild1->SetColor(PCI_NTEXT, CID_DESKTOP);
    ((PegLineChart *) pChild1)->SetExStyle(CS_DRAWYTICS|CS_AUTOSIZE|CS_DRAWYLABELS);
    ((PegLineChart *) pChild1)->RemoveStyle(FF_MASK);
    ((PegLineChart *) pChild1)->AddStyle(FF_NONE);
    Add(pChild1);

    ChildRect.Set(Left + 1, Top + 534, Left + 800, Top + 634);
    pChild1 = new PegLineChart(ChildRect, 0, 50, 0, 50, 10, 10);
    pChild1->SetId(ID_GRAPH5);
    pChild1->SetColor(PCI_NORMAL, CID_DARKGRAY);
    pChild1->SetColor(PCI_NTEXT, CID_DESKTOP);
    ((PegLineChart *) pChild1)->SetExStyle(CS_DRAWYTICS|CS_AUTOSIZE|CS_DRAWYLABELS);
    ((PegLineChart *) pChild1)->RemoveStyle(FF_MASK);
    ((PegLineChart *) pChild1)->AddStyle(FF_NONE);
    Add(pChild1);

    ChildRect.Set(Left + 1, Top + 439, Left + 797, Top + 534);
    pChild1 = new PegLineChart(ChildRect, 0, 50, 0, 50, 10, 10);
    pChild1->SetId(ID_GRAPH4);
    pChild1->SetColor(PCI_NORMAL, CID_LOWLIGHT);
    pChild1->SetColor(PCI_NTEXT, CID_BLACK);
    ((PegLineChart *) pChild1)->SetExStyle(CS_DRAWYTICS|CS_AUTOSIZE|CS_DRAWYLABELS);
    ((PegLineChart *) pChild1)->RemoveStyle(FF_MASK);
    ((PegLineChart *) pChild1)->AddStyle(FF_NONE);
    Add(pChild1);

    ChildRect.Set(Left + 442, Top + 774, Left + 589, Top + 802);
    pChild1 = new PegProgressBar(ChildRect,
         FF_RECESSED|PS_SHOW_VAL|PS_RECESSED|PS_PERCENT, 0, 100, 0);
    pChild1->SetId(ID_PERCENTSPO);
    pChild1->SetColor(PCI_NORMAL, CID_DARKGRAY);
    Add(pChild1);

    ChildRect.Set(Left + 638, Top + 774, Left + 786, Top + 802);
    pChild1 = new PegProgressBar(ChildRect,
         FF_RECESSED|PS_SHOW_VAL|PS_RECESSED|PS_PERCENT, 0, 100, 0);
    pChild1->SetId(ID_PERCENTECG);
    Add(pChild1);

    ChildRect.Set(Left + 473, Top + 812, Left + 537, Top + 837);
    pChild1 = new PegTextBox(ChildRect, SID_SPOTIMER, ID_TIMERSPO,
         FF_RECESSED|TT_COPY|EF_WRAP, 1000);
    pChild1->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
    Add(pChild1);

    ChildRect.Set(Left + 665, Top + 813, Left + 733, Top + 836);
    pChild1 = new PegTextBox(ChildRect, SID_ECGTIMWER, ID_TIMERECG,
         FF_RECESSED|TT_COPY|EF_WRAP, 1000);
    pChild1->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
    Add(pChild1);

    /* WB Auto-Generated End (8)  */

}


/*--------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------*/
/* WB Auto-Generated Start (9)  */
PEGINT ecgclass::Message(const PegMessage &Mesg)
{
/* WB Auto-Generated End (10)  */

    /* WB Auto-Generated Start (11)  */
    switch (Mesg.Type)
    {
    /* WB Auto-Generated End (12)  */

   case 1:
	break;

		default:
        return PegWindow::Message(Mesg);
    return 0;
	}
}

--------------------Configuration: bitmaps - Win32 Debug--------------------
Compiling...
ecgone.cpp
D:\Desktop\examples\kiran\ecg\ecgone.cpp(555) : error C2143: syntax error : missing ';' before '.'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(556) : error C2059: syntax error : 'constant'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(560) : error C2059: syntax error : ')'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(561) : error C2059: syntax error : ')'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(562) : error C2059: syntax error : ')'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(565) : error C2143: syntax error : missing ';' before '.'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(566) : error C2059: syntax error : ','
D:\Desktop\examples\kiran\ecg\ecgone.cpp(570) : error C2059: syntax error : ')'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(571) : error C2059: syntax error : ')'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(572) : error C2059: syntax error : ')'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(575) : error C2143: syntax error : missing ';' before '.'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(576) : error C2059: syntax error : ','
D:\Desktop\examples\kiran\ecg\ecgone.cpp(580) : error C2059: syntax error : ')'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(581) : error C2059: syntax error : ')'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(582) : error C2059: syntax error : ')'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(585) : error C2143: syntax error : missing ';' before '.'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(586) : error C2059: syntax error : ','
D:\Desktop\examples\kiran\ecg\ecgone.cpp(590) : error C2059: syntax error : ')'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(591) : error C2059: syntax error : ')'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(592) : error C2059: syntax error : ')'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(595) : error C2143: syntax error : missing ';' before '.'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(596) : error C2059: syntax error : ','
D:\Desktop\examples\kiran\ecg\ecgone.cpp(600) : error C2059: syntax error : ')'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(601) : error C2059: syntax error : ')'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(602) : error C2059: syntax error : ')'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(605) : error C2143: syntax error : missing ';' before '.'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(606) : error C2143: syntax error : missing ')' before ','
D:\Desktop\examples\kiran\ecg\ecgone.cpp(606) : error C2512: 'PegProgressBar' : no appropriate default constructor available
D:\Desktop\examples\kiran\ecg\ecgone.cpp(607) : error C2143: syntax error : missing ';' before ')'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(612) : error C2143: syntax error : missing ';' before '.'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(613) : error C2143: syntax error : missing ')' before ','
D:\Desktop\examples\kiran\ecg\ecgone.cpp(613) : error C2512: 'PegProgressBar' : no appropriate default constructor available
D:\Desktop\examples\kiran\ecg\ecgone.cpp(614) : error C2143: syntax error : missing ';' before ')'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(618) : error C2143: syntax error : missing ';' before '.'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(619) : error C2143: syntax error : missing ')' before ','
D:\Desktop\examples\kiran\ecg\ecgone.cpp(619) : error C2512: 'PegTextBox' : no appropriate default constructor available
D:\Desktop\examples\kiran\ecg\ecgone.cpp(620) : error C2143: syntax error : missing ';' before ')'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(624) : error C2143: syntax error : missing ';' before '.'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(625) : error C2143: syntax error : missing ')' before ','
D:\Desktop\examples\kiran\ecg\ecgone.cpp(625) : error C2512: 'PegTextBox' : no appropriate default constructor available
D:\Desktop\examples\kiran\ecg\ecgone.cpp(626) : error C2143: syntax error : missing ';' before ')'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : fatal error C1003: error count exceeds 100; stopping compilation
Error executing cl.exe.

bitmaps.exe - 102 error(s), 0 warning(s)

Edited 7 Years Ago by peter_budo: Do not use CODE SNIPPED for asking questions. Use FORUM HREAD!

Your first error is on line 555. On line 553, you redefine the identifier ChildRect to mean nothing, was that your intent? I probably can't help beyond that, GUI building makes me dizzy.

If you are going to do this kind of advanced-level programming then you really need to learn how to debug your own errors. The problem is those two defines on lines 552 and 553. Delete them.

If you are going to do this kind of advanced-level programming then you really need to learn how to debug your own errors. The problem is those two defines on lines 552 and 553. Delete them.

Thnks for u both ...
Y=The thing is when i remove those #define's i ll some errors sayin undeclared identifier so gave that..
If not the correct way pls help me out.


Thank u

I'd suggest you look closer at the error it should tell you what line it's on within a couple lines. Perhaps post the offending code block and the actual error.

Things to look at:
Did you misspell anything?
Did you inadvertently close the scope?
Did you remember all your semi-colons?
Do you know that ChildRect is actually the undefined identifier?
What is pChild1? Line 540 looks out of place with the rest of your code. Did you forget to reference an object with the Add() method?
...

Edited 7 Years Ago by Fbody: n/a

This question has already been answered. Start a new discussion instead.