home | Download | Guestbook | Sitemap
codelookerDownloadWindows/.NETGUI Develop
Search:
Transparent
  • Classification:Windows/.NET - GUI Develop
  • Development Tool:Delphi
  • Sise:301 KB
  • Upload time:2011/12/8 3:29:11
  • Uploader:masroor
  • Download Statistics:
Description
Here I will show you how to transparent your main window using a simple technic but a proffessional one! I am sure that all of you have seen some apps that the main window has not a rectangular shape and sometimes they looks like a curve or even a circular shape. Program has a Main procedure which calls the Transparent fucntion. I wrote a function SetTransparent that has the responsibility to cut the main part of the window and just remains the button and the image on the form. The idea is very simple. We shall define the area that we want to cut. So we define the main window and then we start subtract the objects which we want to keep them remained. So we use the CreateRectRgn function to define the main form area. Then by calling the CreatePolygonRgn we define the area which we want to keep in the form. Then by calling CombineRgn we tell to windows to combine the main window with the are that we defined. The last parameter of this function detemines that how this combination should be done. RGN_OR means that we shall keep the part and RGN_DIFF means that we have to subtract the region and so that the specific area will disappears! At the end by calling SetWindowRgn function we show the final reagions that we defined. I hope you liked it.




File list:
Project1.cfg
Project1.dof
Project1.dpr
Project1.exe
Project1.res
Unit1.dfm
Unit1.pas
If you are a member, Log in. If you are not a member, Please register
Related source code
[Matlab: distribution normality tests...] - This code show you how to import data into matlab, JB, KS and Lillie tests for normality. Then using empirical uniform transformation to get marginal distribution for copula. Also plot those marginal distributions in 3-D.
[One sided transform] - Use of fft to calculated DFT of sine wave and plotting stem graph
[Fast Fourier Transform] - VHDL for Fast Fourier Transform
[discrete cosine transform DCT] - code matlab DCT pour les images jpeg
[TRANSCEPTOR-CC1101-PIC18F26J50] - Communication interface USB / RF module CC1101P using microchip microcontroller PIC18F26J50
[Practica_Nro_5_Transformacion_Trifas...] - a important grades about a practice of motors in the industries, specially in the motors of induction
[transparan] - transparent effects on the body
[Current-transformer-saturation-compe...] - Current transformer saturation compensation based on a partial nonlinear model
[Color-image-compresion-dct-transform...] - CODE FOR COLOR IMAGE COMPRESSION USING QUANTIZATION ALORITHM. VECTOR QUANTIZATION.
[3DAlphaTransparency_src] - This example illustrates how bitmap texture files with an alpha channel or a key color transparency can be mapped onto managed Direct3D vertex buffers in C#. In this example, .png, .bmp, and .jpg files provide the textures.
Download Address
download DownLoad
Comments: Don't forget to comment after downloading! Comment...
About - Advertise - Sitemap