Howdy, Stranger!

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

Categories

Edit Control for Right to Left Language

riffat_nazirriffat_nazir Member Posts: 1
I am familiar to mfc42 edit control. I wana develop an application which uses right to left language (Urdu). I could not find the way to implent such a control in VC++.

Comments

  • pingpongpingpong Member Posts: 937
    As far as I know, all Microsoft controls support WS_EX_RIGHT and WS_EX_RTLREADING flags, well, at least the standard edit control.

    Either set the flags in your resource editor (Properties/Extended Styles) or with code:

    DWORD dwFlags = pWnd->GetWindowLong(GWL_EX_STYLE);
    dwFlags |= (WS_EX_RIGHT | WS_EX_RTLREADING);
    pWnd->SetWindowLong(GWL_EX_STYLE, dwFlags);

    : I am familiar to mfc42 edit control. I wana develop an application which uses right to left language (Urdu). I could not find the way to implent such a control in VC++.
    :
    :

Sign In or Register to comment.