Overblog All blogs Top blogs Tech & Science
Follow this blog Administration + Create my blog
MENU
Advertising

api

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

Advertising
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

Wallpapers slideshow with visual foxpro

Wallpapers slideshow with visual foxpro

The wallpaper is a screen backgroung image set by the system with the API SystemParametersInfo Its becomes a system image (a num is affected to it by the system). This code set a folder of images and play them with a timer as a wallpaper sequentially...

Read more

Advertising
Ownerdrawn transparent menus-Herman Tan class

Ownerdrawn transparent menus-Herman Tan class

Herman Tan ownerdrawn menu (2005- last updated published 2006-2008) can be downloaded from this link: http://hermantan.blogspot.com/2006/09/updated-ownerdrawn-menu-class.html first version can be seen in https://www.universalthread.com/ViewPageArticle.aspx?ID=476...

Read more

public Hotkeys in  Visual foxpro

public Hotkeys in Visual foxpro

Inside Foxpro system can Assign easily Access Keys and Keyboard Shortcuts As you create a menu system, you should consider ease of access to the system, and you must assign tasks to the system. You must give menus and menu items tasks to perform, such...

Read more

Transparencies in visual foxpro

Transparencies in visual foxpro

In visual foxpro the only control having a windows handle (hwnd) is the form.The transparency can then be applied and monitoring only to this window. Some Controls have the backstyle property (0,1) but cannot control the transparency. The backstyle Specifies...

Read more

Advertising
MSPAINT on a top level form

MSPAINT on a top level form

This code use Mspaint as child window of a top level form. i cut the titlebar and position the window on the form with setWindowPos API. The MSPAint menu and toolbars are all enabled and work.The only one problem was the QUIT command in mspaint who closes...

Read more

Hide any  application icon from the taskbar

Hide any application icon from the taskbar

Any windows appstarts with puting an icon on taskbar.This icon gives a windows system menu (maximize, close,size...) This code makes any application icon hidden from the taskbar when running. can visit MSDN https://msdn.microsoft.com/en-us/library/windows/desktop/ff700543%28v=vs.85%29.aspx...

Read more

<< < 1 2 3 > >>