Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 29-07-2018, 01:29
Jiva newstone's Avatar
Jiva newstone Jiva newstone is offline
Registered User
 
Join Date: Nov 2016
Location: India
Posts: 190
Thanks: 227
Thanked 412 Times in 96 Posts
Jiva newstone is on a distinguished road
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
Attached Images
File Type: png Rg.PNG (560.4 KB, 117 views)
Reply With Quote
The Following 2 Users Say Thank You to Jiva newstone For This Useful Post:
JRD! (29-07-2018), Stor31 (29-07-2018)
Sponsored Links
  #2  
Old 29-07-2018, 04:19
JRD!'s Avatar
JRD! JRD! is offline
Registered User
 
Join Date: Sep 2015
Location: Matrix
Posts: 274
Thanks: 225
Thanked 600 Times in 168 Posts
JRD! is on a distinguished road
Hi, for the little anecdote, I made the screenshots with greenshot, it's the software that rounds the corners of the window, is when I saw that, I thought it would be good add the rounds to the angles, and I see that you thought the same thing
__________________
Practice makes perfect.
Reply With Quote
The Following 3 Users Say Thank You to JRD! For This Useful Post:
Jiva newstone (29-07-2018), Stor31 (29-07-2018), Titeuf (29-07-2018)
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Conversion Designer/Installer Creator Razor12911 Conversion Tutorials 1613 03-10-2024 02:24
altef_4's installer altef_4 Conversion Tutorials 244 24-05-2024 23:20
Game Installer Designer by altef_4 altef_4 Conversion Tutorials 236 28-05-2021 03:54
Crysis 3 DVD9 to 3xDVD5 Custom Installer spawniectes PC Games - CD/DVD Conversions 79 31-08-2017 08:19
Tutorial using CI 8.0.0 yener90 Conversion Tutorials 424 21-10-2014 10:49



All times are GMT -7. The time now is 14:38.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com