... use the fw_saytext function then it doesn't work, because initially in the section_advice() function the fw_saytext function works well in fact it shows the initial message then if you see well I replaced the getlabeldim function with CalcTextHeight( hDC, cText, oFont, nWidth ) corrected by Nageswarao ...