Casio PA-2400W manual Lpctstr lpParam

Page 27

4.4 Details of Function

Title

 

Function

SIP_ExecutePanel

Initiation of the SIPanel

Initiates the SIPanel in the non-display mode. If it has already been initiated, it will be displayed as specified by the parameters.

C Language Interface￿

Calling Sequence￿

￿int SIP_ExecutePanel (LPCTSTR lpParam)

Parameters￿

LPCTSTR lpParam:

Pointer to the parameters string. One specification unit consists of a '/' and an alphabet (not case-sensitive) plus a numeral. To specify multiple units delimit them with a space (order of specification unit 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.

 

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 the SIPanel is modified.

 

Note:

 

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

/D3

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

/Sw, h

"x" and "y" should be separated by a comma (","). The default values are x=0 and y=0.

Specifies the width and height of the 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=288 and h=100.

 

Note:

 

If values that are too 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.

￿SIP_ExecutePanel (L"/T0 /D0 /N0 /L0 /P0,0 /S288, 100");

Return Values￿

: Normal termination

SIP_NO_ERROR

SIP_SHOW

: Normal initiation, the SIPanel is in the display mode.

SIP_HIDE

: Normal initiation, the SIPanel is in the non-display mode.

Header￿

￿#include <SIPanel. h>

Remarks￿

The SIPanel screen may be hidden (HIDE state) if the function is called while the SIPanel is displayed. During the HIDE state, if the function is called without specifying parameters, the SIPanel will be displayed in the same mode specified by previous setting parameters.

27

Image 27
Contents Version PA-2400W Library ManualTable of Contents Fchkce /G Fchkce /C Casio PrefaceSIPanel Library Bootup LibrarySupported Files System LibraryHost PC PA-2400W Copy System configuration3 I/O Bootup Library Dedicated Library and Utility System LibrarySIPanel Library File Check Utility File Transfer UtilityDevelopment Environment System Library Overview Header #include CasioSys.h Remarks Details of FunctionTitle Function Parameters None Return ValuesTurns off the backlight Language Interface Calling Sequence Backlight is off TrueBacklight is on FalseHeader #include CasioSys. h Remarks DisablePowerOff Bool EnablePowerOff Disable the power to be turned off with the power button Enable the power to be turned off with the power buttonHeader Bool ApoCountReset Void SoftReset Parameters Bool bMode Disables automatic power-on with the alarmInternal error Language Interface Calling SequenceBool GetPowerOnAlarm Default Sample program to acquire power-on event notification Bool GetPowerEventStat SIPanel Library Overview SIPANEL.DLLSIPANEL.EXE Registry Use of SIPanel LibraryRestrictions Program for starting up the libraryLpctstr lpParam Siphide SipshowSample program to start up the SIPanel Lptstr HinstanceHbCallText = CreateWindow TEXTbutton, TEXTText Area Sample program of application software for business useTchar ClassName = Text CallSip Tchar ClassNameTSR = TEXTSipTsrHWnd = CreateWindowClassName, ClassName Wsvisible Wsoverlapped WssysmenuLpCmdLine Find SipTsr Options of Command Line Px,ySw,h Port O Bootup Library OverviewFunction IOBOX1.DLLFail to call the function Infinite = No timeoutDword 294,967,295 msec. equals to InfiniteSequential Mode Multiple-Thread ModeUse of ioboxchk Sample Program Hwnd= Null Null WsoverlappedWINDOWWIDTH/2 WINDOWHEIGHT/2Case Wmpaint Wait for 5 seconds Disable the power on by alarm Enable the power on event notificationRegistry of Libraries File Transfer Utility Overview RS-232C InterfaceIrDA 1.0 Interface List of Supported Commands Input Parameter Use of FlceTermination of Flce OperationRestrictions Overwrite Communication CommandsOptions Types of ArgumentsMethod of Describing Pathname Storage Card PC card My Documents Internal RAM ReferenceWindows CE Windows95 /Windows NT Required Error if omittedSpecifying Non-existing File DOSSetting Up Items Setting Up RegistryDword Disp1 Setting Up Registry with User ApplicationHkey hKey1 Long lReg1Return err Err=FALSE Else If err==TRUEShould take an action that is appropriate to each definition Termination CodesError Code Meaning Possible Cause Remedy Method of Creation Log FileLog File Name Location of Log File12Precautions Details of Command and Option Flce /SR \casio\*.dat d\casiodat\ Transmission file pathnameDestination directory pathname Flce /S \casio\*.dat d\casiodat\Flce /RR a\12\*.dat d\casio\*.* \casio data\ PathnamePathname of requested file \12\*.dat d\casio\*.* \casio data\Appended file pathname Target 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\sj.dat Source pathnameDestination pathname Flce /N a\ 12\kk.dat a\casio\Flce /SR \casio ap\*.* \casio ap\ /T Parameters None SetupExampleSession between PA-2400W-and-PA-2400W Session with PCFlce casio.scr Flce /Y=COM1, , casio.scrIdle notification Command and Status\soft\ Retry Process When Downloading FileRetry Method Preparation at PCRestriction Preparation at PA-2400WRetry.scr File Check Utility Overview List of CommandsOperation Method Downloading file from PC to PA-2400WOperation Copying file with PC card from PA-2400W to PA-2400W Transmission side PA-2400WCopy PC card Describing Method 1Pathname Example of Incorrect Startup no /G or /C option Details about Command and OptionExamples of specification for command and option Examples of Correct StartupCommand of Fchkce 1Generation of List File Comparison by List File FILENO=3 \AP\MENU.EXE 12345 \CONFIG.SYS 1000 \AUTOEXEC.BAT 512Format of List File ExampleChildproccmd = C Syntax Analysis of Script FileOption = Recursiveoption Updateoption Recursiveoption = R Error Messages/Codes Restriction File name list or Script file name Option /SCSpecification of a script file nameSpecification of recursive call AO Append outputFchkce /G /R \casio\ .dat \casio data\ \casio\ Destination directory nameFCHK.LOG file output directory name \casio\ .dat \casio data\ \casio\Fchkce /C \casio data\ Does not compare the update dataOption FCHK.LOG file pathname