Click here to Skip to main content
15,910,083 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionStatic link to ATL alwayas fail Pin
Falconapollo4-Jan-13 23:19
Falconapollo4-Jan-13 23:19 
AnswerRe: Static link to ATL alwayas fail Pin
Richard MacCutchan5-Jan-13 1:28
mveRichard MacCutchan5-Jan-13 1:28 
Questionhow to use a work thread write file and the main thread show a carton Pin
haha_c4-Jan-13 22:12
haha_c4-Jan-13 22:12 
SuggestionRe: how to use a work thread write file and the main thread show a carton Pin
David Crow5-Jan-13 11:41
David Crow5-Jan-13 11:41 
AnswerRe: how to use a work thread write file and the main thread show a carton Pin
Albert Holguin6-Jan-13 6:14
professionalAlbert Holguin6-Jan-13 6:14 
GeneralRe: how to use a work thread write file and the main thread show a carton Pin
haha_c6-Jan-13 14:58
haha_c6-Jan-13 14:58 
AnswerRe: how to use a work thread write file and the main thread show a carton Pin
Randor 6-Jan-13 17:39
professional Randor 6-Jan-13 17:39 
QuestioncapDriverConnect displays captured frame in CView Pin
Vaclav_4-Jan-13 16:15
Vaclav_4-Jan-13 16:15 
QuestionWhat is the merit to rewrite memcpy? Pin
econy4-Jan-13 7:31
econy4-Jan-13 7:31 
AnswerRe: What is the merit to rewrite memcpy? Pin
Richard MacCutchan4-Jan-13 9:19
mveRichard MacCutchan4-Jan-13 9:19 
GeneralRe: What is the merit to rewrite memcpy? Pin
econy4-Jan-13 10:31
econy4-Jan-13 10:31 
GeneralRe: What is the merit to rewrite memcpy? Pin
jeron14-Jan-13 10:49
jeron14-Jan-13 10:49 
GeneralRe: What is the merit to rewrite memcpy? Pin
Richard MacCutchan5-Jan-13 1:20
mveRichard MacCutchan5-Jan-13 1:20 
AnswerRe: What is the merit to rewrite memcpy? Pin
jschell6-Jan-13 5:02
jschell6-Jan-13 5:02 
AnswerRe: What is the merit to rewrite memcpy? Pin
Joe Woodbury7-Jan-13 10:15
professionalJoe Woodbury7-Jan-13 10:15 
QuestionWhat is the benefit using duplicate loop statement [solved] Pin
econy4-Jan-13 4:53
econy4-Jan-13 4:53 
AnswerRe: What is the benefit using duplicate loop statement Pin
jeron14-Jan-13 5:29
jeron14-Jan-13 5:29 
GeneralRe: What is the benefit using duplicate loop statement Pin
econy4-Jan-13 6:37
econy4-Jan-13 6:37 
GeneralRe: What is the benefit using duplicate loop statement Pin
jeron14-Jan-13 6:58
jeron14-Jan-13 6:58 
GeneralRe: What is the benefit using duplicate loop statement Pin
econy4-Jan-13 7:21
econy4-Jan-13 7:21 
GeneralRe: What is the benefit using duplicate loop statement Pin
Richard MacCutchan4-Jan-13 6:59
mveRichard MacCutchan4-Jan-13 6:59 
AnswerRe: What is the benefit using duplicate loop statement [solved] Pin
CPallini6-Jan-13 23:09
mveCPallini6-Jan-13 23:09 
AnswerRe: What is the benefit using duplicate loop statement [solved] Pin
Joe Woodbury7-Jan-13 10:19
professionalJoe Woodbury7-Jan-13 10:19 
QuestionIt's too slow to use the DrawDibDraw to draw a frame. Pin
yu-jian4-Jan-13 3:31
yu-jian4-Jan-13 3:31 
Questionhow to create font by unicode value? Pin
Falconapollo4-Jan-13 1:30
Falconapollo4-Jan-13 1:30 
As is known to all, unicode can represent all the character in the world. Now, my problem is how to create font by an unicode value. Because each unicode value represents a char.

Here is a related link: http://www.ssec.wisc.edu/~tomw/java/unicode.html[^]

Here is a C++ API:

C++
HFONT CreateFont(
  _In_  int nHeight,
  _In_  int nWidth,
  _In_  int nEscapement,
  _In_  int nOrientation,
  _In_  int fnWeight,
  _In_  DWORD fdwItalic,
  _In_  DWORD fdwUnderline,
  _In_  DWORD fdwStrikeOut,
  _In_  DWORD fdwCharSet,
  _In_  DWORD fdwOutputPrecision,
  _In_  DWORD fdwClipPrecision,
  _In_  DWORD fdwQuality,
  _In_  DWORD fdwPitchAndFamily,
  _In_  LPCTSTR lpszFace
);


Is it possible to do that by the function?
Anyone can help me?

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.