Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Display a text String without cutting it!!!

agrumeagrume Member Posts: 1
Hi all,
I have the following problem.
I need to display in my CFrameWnd a text String that represents a filePath.
For this reason I have written the following code:
fPath.Create("Select a .yuv input file" , WS_CHILD | WS_VISIBLE | SS_SUNKEN | SS_LEFT, CRect(CPoint(102 , 25) , CSize(250 , 25)) , this , IDC_FPATH);
fPath is a CStatic object.
It works fine but if the input file path is longer then 250 px , the text will be cut.I would have a box that allow to click on the box and scroll the text by the keyborad arrows.
Some idea?

Thanks a lot

Alessandro

Comments

Sign In or Register to comment.