Overblog Follow this blog
Administration Create my blog
2  html5 videoplayers as exe

2 html5 videoplayers as exe

2 methods to work with the html5 video player as executable file. can see also the method to build programmatly a proj and compile an exe . NB: video played must be mandatory in html5 videos supported formats. *tested on visual foxpro 9 sp2-windows 8.1...

Read more

A custom messagebox with drawtext API

A custom messagebox with drawtext API

this code uses the drawText API to make a modal form as a windows custom messagebox. the transparency (0-255) can be applied for 2 kinds of forms -a top level form - any form with showWindow=0,1 but mandatory with the poperty form.desktop=.t. i used this...

Read more

 Photos  frames with gdiplusX

Photos frames with gdiplusX

I needed to make some frames on photos and gdiplusX comes my rescue. This article is devoted to this subject with 6 codes. -the gdiplusX hatchstyle pattern brushes can draw patterns (with no image) and draw directly on the context surface to output an...

Read more

A custom vfp Ansi and Unicode  tooltip

A custom vfp Ansi and Unicode tooltip

The drawText APi studied in previous post can draw a formatted text on any window surface. It can be ANSI (drawtext or DrawtextA) or Unicode(DrawTextW). A top level form is used here as tooltip fired on mouseEnter event on a control and destoyed on MouseLeave...

Read more

The DrawText API by a real example

The DrawText API by a real example

The drawText APi have some explanations in this MSDN link https://msdn.microsoft.com/en-us/library/windows/desktop/dd162498%28v=vs.85%29.aspx its very usefull when you want to format a text (ANSI orR Unicode) in a given area. The DrawText function draws...

Read more

Html5 canvas on HTA support.

Html5 canvas on HTA support.

The hta encapsules PEM of internet explorer but without security barriers. Hta is a normal window and looks like vfp one.Its usefull to run internet explorer in local. Normally the old HTA cannot support the html5 canvas (as vfp) . Use the following value...

Read more