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++.
    :
    :

  • Chris BrownChris Brown USAMember Posts: 4,624 ✭✭

    _______ \ http://forcoder.org \ free video tutorials and ebooks about < PL/SQL Visual Basic R JavaScript Scratch MATLAB PHP Perl Assembly Go C++ C Delphi Python C# Swift Ruby Visual Basic .NET Java Objective-C Scheme Lisp SAS Logo Scala VBScript Clojure Hack Ada Lua Rust COBOL Crystal Julia LabVIEW D Dart Kotlin ML ABAP Bash Alice Fortran Apex Transact-SQL Erlang Awk F# FoxPro Prolog /> _

Sign In or Register to comment.