Click here to Skip to main content
15,888,454 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionLinked List Problem - K reverse linked list Pin
Member 1405554315-Nov-18 0:04
Member 1405554315-Nov-18 0:04 
AnswerRe: Linked List Problem - K reverse linked list Pin
CPallini15-Nov-18 0:24
mveCPallini15-Nov-18 0:24 
GeneralRe: Linked List Problem - K reverse linked list Pin
Stefan_Lang15-Nov-18 3:43
Stefan_Lang15-Nov-18 3:43 
GeneralRe: Linked List Problem - K reverse linked list Pin
CPallini15-Nov-18 6:07
mveCPallini15-Nov-18 6:07 
AnswerRe: Linked List Problem - K reverse linked list Pin
Daniel Pfeffer15-Nov-18 2:16
professionalDaniel Pfeffer15-Nov-18 2:16 
AnswerRe: Linked List Problem - K reverse linked list Pin
Stefan_Lang15-Nov-18 4:19
Stefan_Lang15-Nov-18 4:19 
QuestionRe: Linked List Problem - K reverse linked list Pin
David Crow15-Nov-18 5:37
David Crow15-Nov-18 5:37 
Questionfacing issue in “Ajantha” font on windows10 in GDIplus Pin
Avinash.Pandey12-Nov-18 22:06
Avinash.Pandey12-Nov-18 22:06 
I am facing an issue while printing some text using Ajantha Font, My observation says that after ANSI code 127 GDIPlus is not printing the correct font on windows 10 x64, where as GDI (Direct printing on DC does it correctly).

CFont font;
VERIFY(font.CreateFont(
40, // nHeight
20, // nWidth
0, // nEscapement
0, // nOrientation
FW_DONTCARE, // nWeight
FALSE, // bItalic
FALSE, // bUnderline
FALSE, // cStrikeOut
DEFAULT_CHARSET, // nCharSet
OUT_DEFAULT_PRECIS, // nOutPrecision
CLIP_DEFAULT_PRECIS, // nClipPrecision
DEFAULT_QUALITY, // nQuality
DEFAULT_PITCH, // nPitchAndFamily
_T("AJANTHA"))); // lpszFacename

// Do something with the font just created...
CClientDC cdc(this);
CFont* def_font = cdc.SelectObject(&font);
cdc.TextOut(11, 11, _T("€ € ~ ƒ „ …"), 11);
cdc.SelectObject(def_font);

Font mFont(dc.m_hDC, font);
SolidBrush BlueBrush(Color(255, 0, 0, 255));
graphics.DrawString( strText, -1, &mFont, PointF(0, 150), pStringFormat, &BlueBrush);

// Done with the font. Delete the font object.
font.DeleteObject();
QuestionRe: facing issue in “Ajantha” font on windows10 in GDIplus Pin
Richard MacCutchan13-Nov-18 5:06
mveRichard MacCutchan13-Nov-18 5:06 
AnswerRe: facing issue in “Ajantha” font on windows10 in GDIplus Pin
leon de boer13-Nov-18 6:22
leon de boer13-Nov-18 6:22 
QuestionElevate Process from user to Admins Rights without UAC Elevation Pin
Drakesal12-Nov-18 21:22
Drakesal12-Nov-18 21:22 
AnswerRe: Elevate Process from user to Admins Rights without UAC Elevation Pin
Richard MacCutchan12-Nov-18 21:35
mveRichard MacCutchan12-Nov-18 21:35 
QuestionOk im back with another problem... Pin
Member 140474359-Nov-18 12:36
Member 140474359-Nov-18 12:36 
AnswerRe: Ok im back with another problem... Pin
Richard MacCutchan9-Nov-18 21:44
mveRichard MacCutchan9-Nov-18 21:44 
AnswerRe: Ok im back with another problem... Pin
leon de boer10-Nov-18 19:21
leon de boer10-Nov-18 19:21 
QuestionMobile app Pin
valentineNandang9-Nov-18 2:45
valentineNandang9-Nov-18 2:45 
AnswerRe: Mobile app Pin
Richard MacCutchan9-Nov-18 2:52
mveRichard MacCutchan9-Nov-18 2:52 
QuestionHello I am having a problem Pin
Member 140474357-Nov-18 12:30
Member 140474357-Nov-18 12:30 
AnswerRe: Hello I am having a problem Pin
David Crow7-Nov-18 17:34
David Crow7-Nov-18 17:34 
QuestionScript generation from Objects using C++ Pin
FrankStar895-Nov-18 12:30
FrankStar895-Nov-18 12:30 
AnswerRe: Script generation from Objects using C++ Pin
CPallini5-Nov-18 21:06
mveCPallini5-Nov-18 21:06 
GeneralRe: Script generation from Objects using C++ Pin
FrankStar8912-Nov-18 11:19
FrankStar8912-Nov-18 11:19 
GeneralRe: Script generation from Objects using C++ Pin
CPallini12-Nov-18 21:18
mveCPallini12-Nov-18 21:18 
AnswerRe: Script generation from Objects using C++ Pin
leon de boer6-Nov-18 14:30
leon de boer6-Nov-18 14:30 
GeneralRe: Script generation from Objects using C++ Pin
FrankStar8912-Nov-18 11:22
FrankStar8912-Nov-18 11:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.