Hi all
I am getting a error in creating a LABEL.I need to display different label at different positions
for the first time iam getting it perfectly alright.i.e. when iam placing a symbol in window its coming perfectly alright.But when Iam placing another symbol in window its getting hanged in Label->Create() function. Am I missing something.
Code:
if(td.L_Type==ENT_LAND)
	{
	ConvertLonLatToXY(td.L_Latitude,td.L_Longitude);// To get X,Y cordinates
	Label->Create(td.LandID, WS_OVERLAPPED|WS_CHILD|WS_DLGFRAME|WS_VISIBLE, 
        CRect(lx+10,ly,lx+55,ly+20), this, 0x188); // THIS IS WHERE SYSTEM GETS HANGED
                                                     //lx,ly value are correct it is giving different x & y value
	}