Salam:
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;
font.CreateFont(
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");
dc.SelectObject(def_font);
///////////////////////////////////////////
u can contact me for further information.
Burhan Khan
|