Any questions? Ask us: support@enigmaprotector.com

dialog designer help

Post here any topics that related to Enigma Protector, its functionality, your misunderstanding, offers to improvements etc etc etc

dialog designer help

Postby amaranth » Fri Jan 30, 2015 11:12 pm

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!
amaranth
 
Posts: 2
Joined: Fri Jan 30, 2015 3:15 pm

Re: dialog designer help

Postby SeniorEx » Tue Feb 03, 2015 9:22 pm

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;
SeniorEx
 
Posts: 13
Joined: Thu Jan 08, 2015 6:40 am


Return to Basic

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 10 guests