CAST II Game Engine

   DESCRIPTION       FEATURES       SCREENSHOTS       FORUMS       DOCUMENTATION       DOWNLOADS       CONTACTS   
Units
Class Hierarchy
Classes, Interfaces and Objects
Types
Enumerations
Variables
Constants
Functions and Procedures
Identifiers

Class TWin32AppStarter

Unit

AppsInit

Declaration

type TWin32AppStarter = class(TAppStarter)

Description

Win32 implementation of TAppStarter

Hierarchy

TAppStarter

Fields

 NameDescription
ProtectedWindowClassCurrent window class

Methods

Overview

Publicconstructor Create(const AProgramName: string; AWindowProc: TWndProc; Options: TStarterOptions);
Publicdestructor Destroy; override;
Publicfunction isAlreadyRunning(ActivateExisting: Boolean): Boolean; override;
Publicprocedure PrintError(const Msg: string; ErrorType: TLogLevel); override;
Publicfunction Process: Boolean; override;
Protectedfunction ProcessMessage(Msg: Longword; wParam: Integer; lParam: Integer): Integer; override;

Description

Publicconstructor Create(const AProgramName: string; AWindowProc: TWndProc; Options: TStarterOptions);

 

Publicdestructor Destroy; override;

 

Publicfunction isAlreadyRunning(ActivateExisting: Boolean): Boolean; override;

Returns True if another instance of the application (currently, an application with the same window class name) is already rinning. If ActivateExisting is True the other instance will be activated.

Publicprocedure PrintError(const Msg: string; ErrorType: TLogLevel); override;

 

Publicfunction Process: Boolean; override;

Performs win32 messages processing

Protectedfunction ProcessMessage(Msg: Longword; wParam: Integer; lParam: Integer): Integer; override;

Windows message handler

Properties

Overview

Publicproperty WindowClassName: string;

Description

Publicproperty WindowClassName: string;

Application's window class name

Last modified: 4 Jul, 2008
Copyright (C) 2006-2008, casteng.com