Link to home
Start Free TrialLog in
Avatar of ave_15
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.
Avatar of ave_15
ave_15

ASKER

Edited text of question.
ASKER CERTIFIED SOLUTION
Avatar of chensu
chensu
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ave_15

ASKER

Thanx for the prompt response. I'll try this suggestion. Thanx a lot.