Page 1 of 1

dialog designer help

Posted: Fri Jan 30, 2015 11:12 pm
by amaranth
Image

Hi, I'm trying to build a nag screen that appears when the player opens a trail-version of a game. I'm not sure how to do a few things.

-I would like to have a button that links to the order page for the game (a url). I want this link to look like the other buttons on the form.

-When I click the Unlock Game button, if the wrong code is entered the nag screen closes. I want to make sure the nag screen stays open if the wrong code is entered.

-How do I show the amount of time left before the trial ends?

-How do I hide "Continue Free Trial" button after there is no time left?

Thanks for your help ahead of time!

Re: dialog designer help

Posted: Tue Feb 03, 2015 9:22 pm
by SeniorEx
Use Enigma API to solve all of ur problems , read the help file.

for ex to avoid closing the nag (delphi)

uses
enigma_ide; // the module contains a definitions of Enigma API

function ProcessRegistration(Name, Key : string) : boolean;
begin
Result := fasle;
if EP_RegCheckAndSaveKey(PChar(Name), PChar(Key)) then // check and save registration information
begin
MessageBox(0, 'The Registration information had been saved successfully!', 'Application', 0);
Result := true; // return successful result
end
else
MessageBox(0, 'The Registration information is incorrect!', 'Application', 0);
end;