Search found 17 matches: createfont

Return to advanced search

Re: DEFINE FONT vs TFont()

... nCharSet, nOutPrecision, nClipPrecision,; nQuality, oDevice, nPitchFamily ) creates a font with exactly the same parameters using Windows function CreateFont(). CreateFontIndirect() uses LOGFONT structure with the same values to create a font. Both functions result in the same font. TFont class ...
by nageswaragunupudi
Tue Dec 19, 2017 7:49 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: DEFINE FONT vs TFont()
Replies: 20
Views: 3326

Re: DEFINE FONT vs TFont()

... Es como si FW utilizara un 'pinzel' y dibujara la letra en lugar de coger la fuente en si. Fonts are not generated by FWH. FWH calls Windows API CreateFont( <params> ) and Windows creates the fonts. FWH does not draw fonts on the screen, it is Windows OS that draws the font on the screen. ...
by nageswaragunupudi
Mon Dec 18, 2017 3:07 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: DEFINE FONT vs TFont()
Replies: 20
Views: 3326

Re: Ayuda DLL

Antonio buenos dias, gracias por la ayuda Agrego la VM.LIB (xharbour), y me manda estos errorres :( :( Proyecto: Kept5, Entorno: BorlandDLL: [1]:Harbour.Exe Source\Tseguro.prg /m /n /es2 /ki /iP:\32bits\xharbour\include;P:\32bits\FWH\INCLUDE /i /oObj\Tseguro.c xHarbour Compiler build 1.2.1 (SimpLex)...
by ricardog
Thu Aug 31, 2017 2:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda DLL
Replies: 24
Views: 6329

Re: error FWH 15.04 with xHarbour.com

Tim,

really strange

Could you add this function and try it again ?

function CreateFont()

return nil
by Antonio Linares
Fri May 15, 2015 5:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: error FWH 15.04 with xHarbour.com
Replies: 38
Views: 7771

Re: xHarbour 1.2.3 build 20141106

... LOADIMAGE,LOADBITMAP,LOADBITMAPEX,OPENIMAGE,OPENBITMAP,CREATESOLIDBRUSH,CREATEHATCHBRUSH,CREATEFONT,LOADICON,WINDOW2BITMAP WVW_DLGSETICON,WVW_CREATEDIALOGDYNAMIC,WVW_CREATEFONT,WVW_SETPOPUPMENU,WVW_CREATEMENU,WVW_CREATEPOPUPMENU,WVW_GETMENU ...
by Enrico Maria Giordano
Thu Dec 04, 2014 5:09 pm
 
Forum: WhatsNew / Novedades
Topic: xHarbour 1.2.3 build 20141106
Replies: 16
Views: 5819

Re: FWH 14.09 y xHarbour Compilation errors

... LOADIMAGE,LOADBITMAP,LOADBITMAPEX,OPENIMAGE,OPENBITMAP,CREATESOLIDBRUSH,CREATEHATCHBRUSH,CREATEFONT,LOADICON,WINDOW2BITMAP WVW_DLGSETICON,WVW_CREATEDIALOGDYNAMIC,WVW_CREATEFONT,WVW_SETPOPUPMENU,WVW_CREATEMENU,WVW_CREATEPOPUPMENU,WVW_GETMENU ...
by Enrico Maria Giordano
Tue Nov 18, 2014 2:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 14.09 y xHarbour Compilation errors (Solved)
Replies: 14
Views: 4691

Re: rc/res to source

... (LPCTSTR)IDI_APPLICATION); wcex.hCursor = LoadCursor(NULL, IDC_ARROW); wcex.lpszClassName = WndClass00; RegisterClassEx(&wcex); HFONT hfont0 = CreateFont(-11, 0, 0, 0, 0, FALSE, FALSE, FALSE, 1, 0, 0, 0, 0, ("MS Sans Serif")); HWND hwnd = CreateWindowEx(0, ("WndClass0"), ...
by MdaSolution
Tue Aug 02, 2011 8:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: rc/res to source
Replies: 4
Views: 996

Re: Printing Arabic Text

... 178oFnt := TFont():New( "Courier New", 0, -11,,,,, 700,,,, ARABIC_CHARSET, 3, 2, 1, oPrn ) Detailed description on CreateFont() can be found at MSDN . p.s. Antonio, would it be possible for DEFINE FONT to be enhanced so we could pass the character set too? TIA
by hua
Wed Jul 06, 2011 4:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Printing Arabic Text
Replies: 4
Views: 1294

Re: Se necesita ayuda en el wiki !

... cMDIStruct() cMimeDec() cMimeEnc() cNewFileName() cNtxKey() ColorsQty() CPUType() CreateCare() CreateCDC() CreateDC() CreateDlgIndirect() CreateFont() CreateHatchBrush() CreateMenu() CreateOLEObject() CreatePatternBrush() CreatePen() CreatePopUpMenu() CreateSolidBrush() CreateWindow() ...
by Cgallegoa
Sat Feb 20, 2010 8:13 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Se necesita ayuda en el wiki !
Replies: 12
Views: 5500

Re: How to show changed Propertys of a Font at Runtime ?

... it is a Windows own GDI object. You may have to destroy the previous handle of the font, using DeleteObject() and then create a new font using CreateFont() http://msdn.microsoft.com/en-us/library/dd183499(VS.85).aspx
by Antonio Linares
Sat Oct 17, 2009 5:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to show changed Propertys of a Font at Runtime ?
Replies: 2
Views: 611

Manuel, La diferencia que indicas viene de los parámetros que usa CreateFont(). Mira lo que comenta el API de Windows: http://msdn.microsoft.com/en-us/library/ms534214(VS.85).aspx nHeight [in] Specifies the height, in logical units, of the font's character ...
by Antonio Linares
Mon Nov 24, 2008 1:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: SelFont
Replies: 11
Views: 2817

... error: Macro redefinition of 'CreateDC'. D:\COMPILER\xHB\c_include\win\wingdi.h(3825): error: Macro redefinition of 'CreateFont'. D:\COMPILER\xHB\c_include\win\wingdi.h(3826): error: Macro redefinition of 'CreateIC'. D:\COMPILER\xHB\c_include\win\wingdi.h(3832): error: ...
by hterce
Wed Sep 03, 2008 10:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Source code for Tree32.lib
Replies: 13
Views: 3307

Dear Dutch, I use CreateFont() and it works perfectly now. I'm interested on this topic for other nonlatin languages, like Arabic which has the additional problem that mixes left-to-right with right-to-left text in a single row. Could ...
by Davide
Mon Jun 25, 2007 11:34 pm
 
Forum: FiveWin for CA-Clipper
Topic: To Antonio, How to DEFINE FONT with Script Thai?
Replies: 6
Views: 2659

Dear Antonio,

I use CreateFont() and it works perfectly now.

Regards,
Dutch
by dutch
Mon Jun 25, 2007 3:50 am
 
Forum: FiveWin for CA-Clipper
Topic: To Antonio, How to DEFINE FONT with Script Thai?
Replies: 6
Views: 2659

Dutch,

I really don't know it. You should google for some info about it.

Maybe CreateFont() supports a parameter for "scripts"
by Antonio Linares
Sun Jun 24, 2007 6:50 pm
 
Forum: FiveWin for CA-Clipper
Topic: To Antonio, How to DEFINE FONT with Script Thai?
Replies: 6
Views: 2659
Next

Return to advanced search