Search:
 
Home
Noticias / Transparent form with visible controls / /

Text translated for the Google Translator:

I present here for vocês, an interesting resource that I developed. It removes the deep one of form and leaves objects floating in its space.

Work established and inspired in the technique of the colleague Craig Boyd.: http://www.sweetpotatosoftware.com/SPSBlog/PermaLink,guid,9a91dea3-6413-42e9-aeff-f0097937474d.aspx

More below follows download of this example, but I will try to explain to them as I made.

They perceive below the deep one of form in the pink color (rgb (255,128,255)) e objects in the space of form overlapping these spotted areas:

Now, below they see the execution of form above:

How I made this? Well, using GDI32.dll

Declarações das DLLs e suas funções:
DECLARE LONG
CreateRectRgn IN "gdi32" LONG X1, LONG Y1, LONG X2, LONG Y2
DECLARE LONG CombineRgn IN "gdi32" LONG hDestRgn, LONG hSrcRgn1, LONG hSrcRgn2, LONG nCombineMode
DECLARE LONG DeleteObject IN "gdi32" LONG hObject
DECLARE LONG SetWindowRgn IN "user32" LONG HWND, LONG hRgn, Integer bRedraw

Downloads in Here! (5kb)

Um abraço.

Author:Rafael Lippert
Similar topics
Noticias :
- Because to use the Visual FoxPro (In Portuguese)
- My Namespace
Documento sem título

Rafael Lippert
rafaellippert@gmail.com