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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 14-02-2020, 04:34
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 673
Thanks: 479
Thanked 2,443 Times in 547 Posts
BLACKFIRE69 is on a distinguished road
Talking A Little problem (Delphi)

I'm trying to create a new panel using a DLL built with Delphi 10.3.
it works...

But the problem is that when I use a custom type it doesn't work.

So how to do this?

example:

.
Attached Images
File Type: png 1.png (14.4 KB, 222 views)

Last edited by BLACKFIRE69; 15-10-2022 at 16:27.
Reply With Quote
Sponsored Links
  #2  
Old 14-02-2020, 17:38
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,045
Thanks: 1,763
Thanked 2,245 Times in 767 Posts
Cesar82 is on a distinguished road
It also doesn't work with delphi 2010.

Using procedure works perfectly.
Code:
procedure ColorPanelCreate(hParent: HWND; hLeft, hTop, hWidth, hHeight: Integer; out CstmPanel: TCusPanel);
Reply With Quote
The Following User Says Thank You to Cesar82 For This Useful Post:
Behnam2018 (17-02-2020)
  #3  
Old 15-02-2020, 04:27
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 673
Thanks: 479
Thanked 2,443 Times in 547 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
It also doesn't work with delphi 2010.

Using procedure works perfectly.
Code:
procedure ColorPanelCreate(hParent: HWND; hLeft, hTop, hWidth, hHeight: Integer; out CstmPanel: TCusPanel);
Yes! , now it works...

Thax Cesar82!


.
Reply With Quote
The Following User Says Thank You to BLACKFIRE69 For This Useful Post:
Behnam2018 (17-02-2020)
  #4  
Old 30-01-2021, 04:09
Ele's Avatar
Ele Ele is offline
Registered User
 
Join Date: Nov 2020
Location: Near Mars
Posts: 93
Thanks: 77
Thanked 93 Times in 37 Posts
Ele is on a distinguished road
Lightbulb

Hi Mr.BLACKFIRE69,

I'm very new to Delphi but I've done this in a different way. Check out the example.


Quote:
function ButtonCreate(hParent :HWND; hLeft, hTop, hWidth, hHeight: Integer; title: PAnsiChar; titleclr, backcolor, forecolor: integer): longint;
procedure ButtonMouseEnter(Btn: longint; titleclr, backclr, foreclr: integer);
procedure ButtonMouseLeave(Btn: longint; titleclr, backclr, foreclr: integer);
procedure ButtonOnClick(Btn: longint; event: TNotifyEvent);
procedure ButtonDeInit;

Screenshots:
Attached Images
File Type: png cusbutton.png (9.1 KB, 102 views)
Attached Files
File Type: zip Custom Buttons Example.zip (245.2 KB, 31 views)
__________________
- All life is an experiment. The more experiments you make the better. -
Reply With Quote
The Following 2 Users Say Thank You to Ele For This Useful Post:
Carldric Clement (03-02-2021), ffmla (30-01-2021)
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
dvd playing problem... themis_t CD/DVD Software & Utilities 6 20-10-2004 13:44
Problem with Record Now Max ver 4.5 brkr101 PS2 Games 2 22-04-2004 21:40
problem with my xbox mrlucky XBox Games 1 11-01-2004 08:38
A problem about NFS Underground Gilvin PC Games 1 22-11-2003 21:17
Problem with pics on web pages and cookies EVOEvo CD/DVD-Writers 3 05-10-2003 17:57



All times are GMT -7. The time now is 04:09.


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