Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > Visual C++
Visual C++ Questions specific to Microsoft's Visual C++. For questions not specific to this Microsoft version, use the C++ Programming forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 13th, 2004, 03:22 PM
Registered User
Join Date: Feb 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Muhammad Arif Send a message via MSN to Muhammad Arif Send a message via Yahoo to Muhammad Arif
Default How can i display arabic character in vc++.6

Hello Sir:

i am a student of BCS and i have given a project to make an editor
in vc++ which will show arabic character in it.

please Sir if u have any idea about it so plz do sent me some information on it
              i will be very thankful to u :

I wana know about the Vc++ and i am doing project in it
Old April 20th, 2004, 01:59 PM
Authorized User
Join Date: Apr 2004
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts


Showing Arabic, Urdu or any other characters is not defficult in VC.

Design an new Urdu font in any font editor or search from web and download urdu font.

Then use CFont class to select that font.

CFont font;
       22, // nHeight
       0, // nWidth
       60, // nEscapement
             0, // nOrientation
   FW_NORMAL, // nWeight
   FALSE, // bItalic
   FALSE, // bUnderline
   0, // cStrikeOut
   ANSI_CHARSET, // nCharSet
   OUT_DEFAULT_PRECIS, // nOutPrecision
   CLIP_DEFAULT_PRECIS, // nClipPrecision
   DEFAULT_QUALITY, // nQuality
   DEFAULT_PITCH | FF_SWISS, // nPitchAndFamily
   "Arial")); // Put here name of your urdu font in place of "Arial"

// Do something with the font just created...
CClientDC dc(this);
CFont* def_font = dc.SelectObject(&font);
dc.TextOut(50, 50, "GOD is one");


u can contact me for further information.
Burhan Khan

Similar Threads
Thread Thread Starter Forum Replies Last Post
Display Arabic/Urdu Data in Crystal Report 8.0 hafizfarooq Crystal Reports 18 October 13th, 2008 09:13 AM
How to display arabic data in Crystal Report tpshajad Crystal Reports 0 February 2nd, 2008 03:19 PM
encoding problem with arabic character farukcse Pro PHP 0 November 15th, 2007 04:44 PM
Display Label in Arabic shashikumar Visual Studio 2005 1 August 4th, 2006 05:10 AM
How can i display the Arabic character Muhammad Arif BOOK: Beginning Visual C++ 6 1 March 25th, 2005 06:39 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.