Casio PA-2400W manual Options of Command Line, Px,y, Sw,h

Page 34

4.5 SIPANEL.EXE

4.5.1 Overview

Initiate SIPANEL.EXE and call SIPANEL.DLL to control the SIPanel. The SIPanel will be initiated in the non-display mode. If it has already been initiated, it will be displayed as specified by the command line options. If it has already been displayed, it will be set to non-display and all parameters other than /Q will be ignored.

4.5.2 Options of Command Line

Format: sipanel.exe [/Q] [/T01] [/D01] [/N01] [/L01] [/Px,y] [/Sw,h]

One specification unit consists of a ' /' and analphabet (not case-sensitive) plus a number. To specify multiple units delimit them by inserting a space after each unit (order of unit specification does not matter). All parameters other than those listed below will be ignored (invalid).

/T1

Adds a text area. If keyboard character is touched once it will be temporarily displayed in

 

the text area, and, if the Return key is touched, it will be transferred to a currently active

 

window.

/T0

Does not add a text area. (Initial condition default.)

/D1

Establishes a drag area in the upper section of the screen. This drag area is a range in which

 

a mouse event is detected if the display position of SIPanel is modified.

 

Note:

/D3

If the drag area extends beyond the display range, dragging is no longer possible.

Does not establish a drag area. Dragging is not possible.

/D0 or /D2 Establishes a drag area on the left side of the screen. (Initial condition default.)

/N2

Displays a panel that only contains numeric keys.

/N1

Adds numeric keys to the standard keyboard.

/N0

Does not add numeric keys to the standard keyboard. (Initial condition default.)

/L1

Activates the Caps Lock key.

/L0

Deactivates the Caps Lock key. (Initial condition default.)

/Px,y

Specifies the coordinates of the top left corner of the SIPanel.

 

"x" should be between 0 and 479 of the X-axis coordinate, and "y" should be between 0 and

 

239 of the Y-axis coordinate. "x" and "y" should be separated by comma (",").

/Sw,h

The default values are x=0 and y=0.

Specifies the width and height of SIPanel to be displayed.

 

"w", the width, should be between 1 and 480, and "h", the height, should be between 1 and

 

240. "w" and "h" should be separated by a comma (",").

 

The default values are w=320 and h=120.

Note:

If values that are to small are specified, tapping the panel has no effect and, consequently, a key input is not possible. Unless otherwise specified, the parameters will retain their previous values.

If SIPanel is initiated without a parameter being specified, the following condition is employed for the defaults:

sipanel.exe /T0 /D0 /N0 /L0 /P0, 0 /S288, 100

34

Image 34
Contents PA-2400W Library Manual VersionTable of Contents Fchkce /G Fchkce /C Preface CasioSystem Library Bootup LibrarySupported Files SIPanel LibrarySystem configuration Host PC PA-2400W CopyDedicated Library and Utility System Library 3 I/O Bootup LibrarySIPanel Library File Transfer Utility File Check UtilityDevelopment Environment System Library Overview Parameters None Return Values Details of FunctionTitle Function Header #include CasioSys.h RemarksTurns off the backlight Language Interface Calling Sequence False TrueBacklight is on Backlight is offHeader #include CasioSys. h Remarks DisablePowerOff Bool EnablePowerOff Enable the power to be turned off with the power button Disable the power to be turned off with the power buttonHeader Bool ApoCountReset Void SoftReset Language Interface Calling Sequence Disables automatic power-on with the alarmInternal error Parameters Bool bModeBool GetPowerOnAlarm Default Sample program to acquire power-on event notification Bool GetPowerEventStat SIPANEL.DLL SIPanel Library OverviewSIPANEL.EXE Program for starting up the library Use of SIPanel LibraryRestrictions RegistryLpctstr lpParam Sipshow SiphideSample program to start up the SIPanel Hinstance LptstrTchar ClassNameTSR = TEXTSipTsr Sample program of application software for business useTchar ClassName = Text CallSip HbCallText = CreateWindow TEXTbutton, TEXTText AreaWsvisible Wsoverlapped Wssysmenu HWnd = CreateWindowClassName, ClassNameLpCmdLine Find SipTsr Px,y Options of Command LineSw,h IOBOX1.DLL O Bootup Library OverviewFunction Port294,967,295 msec. equals to Infinite Infinite = No timeoutDword Fail to call the functionMultiple-Thread Mode Sequential ModeUse of ioboxchk Hwnd Sample Program= Null WINDOWHEIGHT/2 WsoverlappedWINDOWWIDTH/2 NullCase Wmpaint Wait for 5 seconds Enable the power on event notification Disable the power on by alarmRegistry of Libraries RS-232C Interface File Transfer Utility OverviewIrDA 1.0 Interface List of Supported Commands Operation Use of FlceTermination of Flce Input ParameterRestrictions Types of Arguments Communication CommandsOptions OverwriteMethod of Describing Pathname Reference Storage Card PC card My Documents Internal RAMDOS Windows95 /Windows NT Required Error if omittedSpecifying Non-existing File Windows CESetting Up Registry Setting Up ItemsLong lReg1 Setting Up Registry with User ApplicationHkey hKey1 Dword Disp1Err=FALSE Else If err==TRUE Return errTermination Codes Should take an action that is appropriate to each definitionError Code Meaning Possible Cause Remedy Location of Log File Log FileLog File Name Method of Creation12Precautions Details of Command and Option Flce /S \casio\*.dat d\casiodat\ Transmission file pathnameDestination directory pathname Flce /SR \casio\*.dat d\casiodat\\12\*.dat d\casio\*.* \casio data\ PathnamePathname of requested file Flce /RR a\12\*.dat d\casio\*.* \casio data\Target file pathname Appended file pathnameFlce /A \MY\casio.dat b\your\master.dat Pathname of file to be deleted Without the R option Flce /N a\ 12\kk.dat a\casio\ Source pathnameDestination pathname Flce /N a\12\kk.dat a\casio\sj.datParameters None SetupExample Flce /SR \casio ap\*.* \casio ap\ /TFlce /Y=COM1, , casio.scr Session with PCFlce casio.scr Session between PA-2400W-and-PA-2400WCommand and Status Idle notificationPreparation at PC Retry Process When Downloading FileRetry Method \soft\Preparation at PA-2400W RestrictionRetry.scr List of Commands File Check Utility OverviewDownloading file from PC to PA-2400W Operation MethodOperation Transmission side PA-2400W Copying file with PC card from PA-2400W to PA-2400WCopy PC card Describing Method 1Pathname Examples of Correct Startup Details about Command and OptionExamples of specification for command and option Example of Incorrect Startup no /G or /C optionCommand of Fchkce 1Generation of List File Comparison by List File Example \AP\MENU.EXE 12345 \CONFIG.SYS 1000 \AUTOEXEC.BAT 512Format of List File FILENO=3Syntax Analysis of Script File Childproccmd = COption = Recursiveoption Updateoption Recursiveoption = R Error Messages/Codes Restriction AO Append output Option /SCSpecification of a script file nameSpecification of recursive call File name list or Script file name\casio\ .dat \casio data\ \casio\ Destination directory nameFCHK.LOG file output directory name Fchkce /G /R \casio\ .dat \casio data\ \casio\FCHK.LOG file pathname Does not compare the update dataOption Fchkce /C \casio data\