Howdy, Stranger!

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

Categories

Question in MFC

KassamKassam Member Posts: 26
Hi,

I designed a simple GUI using MFC, it's a simple program that should read strings from a file and write it in the edit box, I want to know how I can output each string in a new line on the edit box ?

Thanks.

Comments

  • BitByBit_ThorBitByBit_Thor Member Posts: 2,444
    : Hi,
    :
    : I designed a simple GUI using MFC, it's a simple program that should
    : read strings from a file and write it in the edit box, I want to
    : know how I can output each string in a new line on the edit box ?
    :
    : Thanks.
    :
    :

    Insert "
    " between the lines.

    Best Regards,
    Richard

    The way I see it... Well, it's all pretty blurry
  • AsmGuru62AsmGuru62 Member Posts: 6,519
    : : Hi,
    : :
    : : I designed a simple GUI using MFC, it's a simple program that should
    : : read strings from a file and write it in the edit box, I want to
    : : know how I can output each string in a new line on the edit box ?
    : :
    : : Thanks.
    : :
    : :
    :
    : Insert "
    " between the lines.
    :
    : Best Regards,
    : Richard
    :
    : The way I see it... Well, it's all pretty blurry

    [color=Blue]
    In addition to this make sure that edit box has ES_MULTILINE style
    [/color]
  • KassamKassam Member Posts: 26
    : : : Hi,
    : : :
    : : : I designed a simple GUI using MFC, it's a simple program that should
    : : : read strings from a file and write it in the edit box, I want to
    : : : know how I can output each string in a new line on the edit box ?
    : : :
    : : : Thanks.
    : : :
    : : :
    : :
    : : Insert "
    " between the lines.
    : :
    : : Best Regards,
    : : Richard
    : :
    : : The way I see it... Well, it's all pretty blurry
    :
    : [color=Blue]
    : In addition to this make sure that edit box has ES_MULTILINE style
    : [/color]


    Ok, thanks a lot, it works.

Sign In or Register to comment.