How to input multi line text in .bar file? | developer.brewmp.com How to input multi line text in .bar file? | developer.brewmp.com

Developer

How to input multi line text in .bar file?

Forums:

How to input multi line text in .bar file?

widewave wrote:How to input multi line text in .bar file?
Use \n between your text lines.

widewave wrote:How to input multi line text in .bar file?
Use \n between your text lines.

AECHAR temp2[64] = {0};
ISHELL_LoadResString(pOwner->a.m_pIShell, PUSHEMAIL_RES_FILE, wText, temp2, sizeof(temp2));
ISTATIC_SetText(pIStatic, NULL, temp2, AEE_FONT_NORMAL, AEE_FONT_NORMAL);
display:
aaa\nbbb

AECHAR temp2[64] = {0};
ISHELL_LoadResString(pOwner->a.m_pIShell, PUSHEMAIL_RES_FILE, wText, temp2, sizeof(temp2));
ISTATIC_SetText(pIStatic, NULL, temp2, AEE_FONT_NORMAL, AEE_FONT_NORMAL);
display:
aaa\nbbb

widewave wrote:AECHAR temp2[64] = {0};
ISHELL_LoadResString(pOwner->a.m_pIShell, PUSHEMAIL_RES_FILE, wText, temp2, sizeof(temp2));
ISTATIC_SetText(pIStatic, NULL, temp2, AEE_FONT_NORMAL, AEE_FONT_NORMAL);
display:
aaa\nbbb
The IStatic control is (like others) inconsitently implemented
across handsets - so to find it displying text incorrectly is not
all that surprising. I suggest writing your own static text control.
It doesn't take very long and then you will have complete control over it
(word wrapping, etc).

widewave wrote:AECHAR temp2[64] = {0};
ISHELL_LoadResString(pOwner->a.m_pIShell, PUSHEMAIL_RES_FILE, wText, temp2, sizeof(temp2));
ISTATIC_SetText(pIStatic, NULL, temp2, AEE_FONT_NORMAL, AEE_FONT_NORMAL);
display:
aaa\nbbb
The IStatic control is (like others) inconsitently implemented
across handsets - so to find it displying text incorrectly is not
all that surprising. I suggest writing your own static text control.
It doesn't take very long and then you will have complete control over it
(word wrapping, etc).

Can you suggest me a way to write it.
Thanks in advance

Can you suggest me a way to write it.
Thanks in advance