Alert Box
$30-40 USD
Оплачується при отриманні
Project for Palm OS 3-5
What is the code that would trigger "Alert Box" during application loading? I want this box to be show only once to all new users.
I have done "Alert Box" but don't know how to call it when application loads. I named AlertBox "NewUserAlert"
Codes looks like this:
file.h
#define UserFonts_01 1004
#define NewUserAlert 1003
#define VersionID 1
#define ApplNameID 1001
#define ApplID 1002
**********************************************
file.c
#include
#include
#include "PayoTech.h"
static int StartApplication(void);
static void StopApplication(void);
DWord PilotMain(Word action, Ptr cmdPBP, Word launchFlags)
{
int error;
if (action != sysAppLaunchCmdNormalLaunch) return 0;
error = StartApplication();
if (error) return error;
StopApplication();
}
static int StartApplication(void)
{
return 0;
}
static void StopApplication(void)
{
}
**********************************************
[url removed, login to view]
#include "PayoTech.h"
FONT ID UserFonts_01 FONTID 128 "[url removed, login to view]"
ALERT ID NewUserAlert
DEFAULTBUTTON 0
INFORMATION
BEGIN
TITLE "- Welcome -"
MESSAGE "Welcome to \nPayotech!"
BUTTONS "OK"
END
VERSION ID VersionID "1.0"
APPLICATIONICONNAME ID ApplNameID "PayoTech"
APPLICATION ID ApplID "PAYT"
ICON "[url removed, login to view]"
## Deliverables
Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased.
ID Проекту: #2833442