TEXTOUT() function cannot use some predefined fonts?

Re: TEXTOUT() function cannot use some predefined fonts?

Postby ukoenig » Mon Oct 14, 2013 5:34 pm

Boris,
there is still some work to do, to add the different painters.
As soon these parts are finished, I will add the download-link.

Possible Windows-backgrounds ( defined )

Image

Possible Dialog-backgronds ( defined ) with defined size

Image

Best regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: TEXTOUT() function cannot use some predefined fonts?

Postby ukoenig » Wed Oct 16, 2013 11:58 am

Boris,
slowly I reach the end.
Still I have to add, to create a EXE of the selections.
The tool has grown now as a complete title-tester.
With a right mouseclick inside the dialog, the title moves to this position.
All settings / selections are saved to a INI-file.
Because of the NEW style-define, 160 combinations are possible :

Image

everything can be defined :

Image

Best regards
Uwe :!:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: TEXTOUT() function cannot use some predefined fonts?

Postby codemaker » Wed Oct 16, 2013 2:55 pm

Looks promissing...
Is there a way to test this ?
User avatar
codemaker
 
Posts: 208
Joined: Wed Dec 03, 2008 4:48 pm
Location: Belgrade, Serbia

Re: TEXTOUT() function cannot use some predefined fonts?

Postby ukoenig » Wed Oct 16, 2013 2:59 pm

Boris,

I think tomorrow, it will be ready for download.

I added a optional free defined text-solution.
The text can be defined inside the Title-painter ( up to 30 chars )
Now You can create / design any Title You like, adjusted to the text,
because the font-size can be changed as well.
Image REFLEX can to be switched now ( ON /OFF )

Image

TTitle used as Dialog-title without sysmenu.

Image

Best regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: TEXTOUT() function cannot use some predefined fonts?

Postby codemaker » Thu Oct 17, 2013 11:45 am

Can't wait to try :)
User avatar
codemaker
 
Posts: 208
Joined: Wed Dec 03, 2008 4:48 pm
Location: Belgrade, Serbia

Re: TEXTOUT() function cannot use some predefined fonts?

Postby ukoenig » Thu Oct 17, 2013 6:32 pm

Boris,

the DOWNLOAD ( 6.26 MB ) :
( It has grown bigger as aspected )

http://www.pflegeplus.com/fw_downloads/TPaint2.zip ( Updated ! )

Painter => TITLE.exe
created EXE => MYTITLE.exe

To create Your own EXE-file, make Your changes in MYTITLE.RMK
Maybe You want to use the selections at Restart, You must select > Save to INI / EXIT.
To change the font at runtime, define a new size inside the Titlt-painter and use the FONT-button.
A maybe needed UPDATE will only include the EXE for download.
To use a given title-size related to dialog-size, there is a needed factor of 2.02
The Width and Height is calculated and defined in the created EXE / PRG.
sample :
@ nTTop, nTLeft TITLE oTitle SIZE nTWidth / 2.02, nTHeight / 2.02 of oDlgMain TRANSPARENT BORDER BASE
The position of nTTop and nTLeft is defined with a right mouseclick inside the dialog.

Let me now for maybe any more extensions or changes.

The final painter

Image

The created PRG and EXE

Image

A created Dialog-title :

Image

All in one, I'm working on some extensions, it can be used as LOGO-editor

Image



Best Regards
Uwe :P
Last edited by ukoenig on Sat Oct 19, 2013 8:36 am, edited 2 times in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: TEXTOUT() function cannot use some predefined fonts?

Postby ukoenig » Fri Oct 18, 2013 2:53 pm

Updated to 2.1

added to the TEXT a new LOGO-design.
Some options added like image-resize and text-shadow-distance
You can copy the INI-file to the subdirectory TEMPLATES with a new name.
Copy from there, a selected INI back to the main-directory and rename to SETTING.INI

Download : http://www.pflegeplus.com/fw_downloads/Tpaint2.zip

Image

Image

Best Regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], Horizon, nageswaragunupudi, Otto and 58 guests