ave_15
asked on
CEdit Aligment on 95 and NT
Hi there.
I have created an edit box using CEdit class. I am creating it dynemically using Create method. I am creating it with the right alignment. But, in Windows 95, it becomes center aligned and width of text also gets decreased. Though, this works fine in Windows NT.
m_Edit[i].Create( WS_CHILD | WS_TABSTOP | ES_READONLY | WS_VISIBLE | ES_RIGHT, CRect(50, 20, 150, 40),this,IDC_TEST2+i);
Can you pl. tell me if i should take some care in case of Windows 95 ?
- Amit Engineer.
I have created an edit box using CEdit class. I am creating it dynemically using Create method. I am creating it with the right alignment. But, in Windows 95, it becomes center aligned and width of text also gets decreased. Though, this works fine in Windows NT.
m_Edit[i].Create( WS_CHILD | WS_TABSTOP | ES_READONLY | WS_VISIBLE | ES_RIGHT, CRect(50, 20, 150, 40),this,IDC_TEST2+i);
Can you pl. tell me if i should take some care in case of Windows 95 ?
- Amit Engineer.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanx for the prompt response. I'll try this suggestion. Thanx a lot.
ASKER