|
#29
|
||||
|
||||
|
use this for Round edges of form
[code] function CreateRoundRectRgn(p1, p2, p3, p4, p5, p6: Integer): THandle; external 'CreateRoundRectRgn@gdi32 stdcall'; function SetWindowRgn(hWnd: HWND; hRgn: LongWord; bRedraw: BOOL): Integer; external '[email protected] stdcall'; procedure InitializeWizard; var RegisterWizardform : HWND; begin with TLabel.Create(WizardForm) do begin Parent:=WizardForm; SetBounds(25,364,0,0); Font.Style := [fsBold]; AutoSize:=true; Font.Size := 12; Font.Color:={#FontColor}; Font.Name:='{#FontName}'; Caption:=('Coded by JRD'); end; RegisterWizardform:= CreateRoundRectRgn(0, 0, WizardForm.Width, WizardForm.Height, 5, 5); SetWindowRgn(WizardForm.Handle, RegisterWizardform, True); end; and change the 5,5 value to anything u want ,like if u change it to 250,250 it will make the form round |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Conversion Designer/Installer Creator | Razor12911 | Conversion Tutorials | 1613 | 03-10-2024 01:24 |
| altef_4's installer | altef_4 | Conversion Tutorials | 244 | 24-05-2024 22:20 |
| Game Installer Designer by altef_4 | altef_4 | Conversion Tutorials | 236 | 28-05-2021 02:54 |
| Crysis 3 DVD9 to 3xDVD5 Custom Installer | spawniectes | PC Games - CD/DVD Conversions | 79 | 31-08-2017 07:19 |
| Tutorial using CI 8.0.0 | yener90 | Conversion Tutorials | 424 | 21-10-2014 09:49 |