Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Multi-Language Problem....Awaiting For Multilingual Guru Answer

Multi-Language Problem....Awaiting For Multilingual Guru Answer

Scheduled Pinned Locked Moved C / C++ / MFC
helpdesign
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Ahmad99
    wrote on last edited by
    #1

    PROBLEM -------- Actually i want to change the Layout of Dialog at run time, so i call CWnd::ModifyStyleEx(0,WS_EX_LAYOUTRTL); It changes the tiltle and System Menu location from right to left.but it did not change the location of other controls lying on the dialog, eg Button, ComboBox, etc. if i set the "Right to left layout (More Extended Style)at design time, then it changes the layout of all other controls lying on dialog automatically" so would u tell me where is the problem. Explanation ----------- if i fix the property at design time (More Extended Style) "Right to lfet layout" then it works fine, it changes the layout of all controls, even CTreeCtrl, but if i chnage this property at run time by calling CWnd::ModifyStyleEx(0,WS_EX_LAYOUTRTL);then it changes only title bar and no effect on other controls. Have a nice wishes for multilingual guru

    R 1 Reply Last reply
    0
    • A Ahmad99

      PROBLEM -------- Actually i want to change the Layout of Dialog at run time, so i call CWnd::ModifyStyleEx(0,WS_EX_LAYOUTRTL); It changes the tiltle and System Menu location from right to left.but it did not change the location of other controls lying on the dialog, eg Button, ComboBox, etc. if i set the "Right to left layout (More Extended Style)at design time, then it changes the layout of all other controls lying on dialog automatically" so would u tell me where is the problem. Explanation ----------- if i fix the property at design time (More Extended Style) "Right to lfet layout" then it works fine, it changes the layout of all controls, even CTreeCtrl, but if i chnage this property at run time by calling CWnd::ModifyStyleEx(0,WS_EX_LAYOUTRTL);then it changes only title bar and no effect on other controls. Have a nice wishes for multilingual guru

      R Offline
      R Offline
      Rashid Thadha
      wrote on last edited by
      #2

      Surely the answer to this is to convert your code to Unicode !! This support Multi-Languages, All you need to do then is to use different resource for each Language.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups