Re: Obtaining date format

2006-02-02 Thread Kyle Dorian
Awesome - that's exactly the sort of thing I'm looking for! Thanks for the super quick responses. Cheers, Kyle -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Obtaining date format

2006-02-02 Thread Kyle Dorian
Hi all, I was wondering what function can be called from within an application that obtains the date format that is setup on a particular device (eg. that returns a string like "D/M/Y" or something similar)? Cheers, Kyle -- For information on using the PalmSource Developer Forums, or to unsubs

Re: Application compatibility with Palm OS Garnet v5.4.5

2005-12-01 Thread Kyle Dorian
Thanks for your responses. Does anyone know where I can download a simulator/emulator running Palm OS Garnet? I've attempted to download the Tungsten T5 simulator from the PalmOne website but this crashes almost immediately after selecting the ROM image. Thanks. -- For information on using t

Application compatibility with Palm OS Garnet v5.4.5

2005-11-30 Thread Kyle Dorian
Hi all, I have an application created in Codewarrior that works beautifully on Palm OS v4.1. However when running the same application on Palm OS Garnet v5.4.5 I occasionally have fatal exceptions or memory error issues occur (generally during shutdown). Could this be something to do with som

Communicating with SQL Server from a Palm application

2005-11-29 Thread Kyle Dorian
Hi all, Is there any way to communicate directly with a Microsoft SQL Server database on a remote machine from a Palm device? What I would like to do is execute queries or stored procedures from a Palm device and obtain the results back from the database. (eg. are there any libraries for the

Auto power off event

2005-03-01 Thread Kyle Dorian
Hi all, Would someone please be able to tell me what event occurs during an auto power off? I am trying to write some code in an application that will do certain things when a power off occurs and know what event occurs when the power button is pressed, but not when an auto power off happens.

Find button assigning to other purpose

2004-10-26 Thread Kyle Dorian
Hi all, I was wondering if it was possible in an application to assign a press of the 'Find' button to another purpose? What I am looking to do is allowing the user to press the 'Find' button, which will bring up a separate 'Find' window in my application to search specifically in my applicati

re: DmFindRecordByID error

2004-08-24 Thread Kyle Dorian
Ok, I've solved my own problem. It seems that a record may have a unique ID with a maximum of 24 bits (i.e. 16777215), despite passing in a UInt32. So annoying...and the only place in the documentation to find it is by looking at the SortRecordInfoType structure to find that the uniqueID is an

DmFindRecordByID error

2004-08-23 Thread Kyle Dorian
Hi all, I'm trying to create a new record in a database with a large unique ID and firstly check if a record with the same unique ID exists by calling DmFindRecordByID. However, I receive a fatal exception saying that I have passed the function an invalid unique ID. As the ID that I'm passing

Drawing list dynamically

2004-08-17 Thread Kyle Dorian
Hi all, I am trying to draw a list dynamically on top of an existing table. The operating system is v3.5 so is it correct that the resource ID of the list should be less than that of the table so it will be drawn above it? Currently I am creating the list and it is displaying on the screen, b

Creating own keyboard

2004-08-11 Thread Kyle Dorian
Hi all, I'm looking to create my own keyboard to display instead of the default keyboard (as the input is restricted to certain characters). How can I display my new keyboard instead of the existing ones when the 'ABC' or '123' corners of the graffiti pad are pressed? Thanks in advance, Kyle

Re: Icons changing in alert dialogs

2004-08-10 Thread Kyle Dorian
Thanks, that makes sense. When I created the resource file there was an alert with ID of so everything created after that automatically had an ID of 1 or greater. Cheers, Kyle -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/de

Icons changing in alert dialogs

2004-08-09 Thread Kyle Dorian
Hi all, Has anyone had the problem where the application icon displays as the icon in an alert, regardless of the alert type (i.e. all of the warning/error/confirmation icons normally displayed in the top left corner of an alert have been replaced by the application icon)? I have recently chan

Events when displaying 'Find' dialog and Keyboard

2004-07-29 Thread Kyle Dorian
Hi, What events should occur when trying to display the 'Find' dialog (i.e. pressing the magnifying glass on the screen), and bringing up the keyboard dialog (i.e. pressing the 'abc' or '123' buttons)? I wish to check both of these scenarios because I believe I should be receiving a keyDownEve

Re: Icon for application in PilRC Designer

2004-07-29 Thread Kyle Dorian
Excellent - an icon family works with an ID of 1000. Thanks. Kyle -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Icon for application in PilRC Designer

2004-07-28 Thread Kyle Dorian
Thanks for your suggestions. I have an APPLICATIONICONNAME and ICON objects available to me (no APPLICATIONICON object). I have created an ICON with a BMP file set, then set the icon name property in APPLICATIONICONNAME to the ID of the ICON. However this doesn't seem to work, so is there som

Icon for application in PilRC Designer

2004-07-28 Thread Kyle Dorian
Hi, I have an application which I am trying to create my own icon for (as displayed in the application launcher). Currently the default application icon is being displayed. I am creating the forms, etc for the application in PilRC Designer (which creates a .rcp resource file). What do I need

re: keyDownEvent required for keyboard display

2004-07-26 Thread Kyle Dorian
Alternatively, is it possible to find the coordinates of the 'abc' and '123' buttons on the screen? I have seen that it is possible to find the numeric and alpha graffiti areas, so perhaps is it possible that the 'abc' and '123' are always a specific size depending on their graffiti areas? Che

keyDownEvent required for keyboard display

2004-07-26 Thread Kyle Dorian
Hi all, I've been looking into creating my own keyboard dialog to display when pressing the '123' button on a Palm (as I wish to include support for negative values in numeric fields, etc). What I wish to get is a keyDownEvent in my event handler so that I can then display the keyboard. The o

Obtaining system colours

2004-07-22 Thread Kyle Dorian
Hi all, Is there any way to find the system colours for a particular device? What I am looking to do is redraw particular aspects of a form but am looking to do these redraws in the system colours. As the application may be used on various devices with different colour schemes (eg. colour, gr

Disabling menu for a short time

2004-07-01 Thread Kyle Dorian
Hi all, I'm looking for a way to disable the menu being selected in an application for a short time, then enabling it again. I want to do this so that certain controls cannot be selected for a certain time whilst some other events are occurring. I have been able to disable other buttons being

Changing number of visible items in a list

2004-06-08 Thread Kyle Dorian
Hi all, Is there any way to change the number of visible items displayed in a list during runtime? Thanks in advance, Kyle -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Highlighting multiple items in a table

2004-05-31 Thread Kyle Dorian
Hi all, I'm creating a table and wanting to highlight multiple cells within the one column. In particular, I want to highlight a textTableItem and a customTableItem cell in the same row when either of the two are clicked. I have the table set to non-editable (because I only want the cells to be

Alignment of text in Table

2004-05-30 Thread Kyle Dorian
Hi all, Is there any way to align the text in a particular column of a displayed table (i.e. right justify all text in a specific column)? I'm trying to display a number in a column and subsequently wish for them all to be aligned to the right side of the cell (I'm not using a numeric column type

Re: Creating multiple databases

2004-05-02 Thread Kyle Dorian
d)? DmOpenRef db1 = NULL; DmOpenRef db2 = NULL; DmOpenRef db3 = NULL; DmOpenRef db4 = NULL; I also define four MemHandles (1 for each database) immediately after this, but that doesn't appear to be causing any problems. Any thoughts on this would be appreciated. - Kyle "Kyle Dorian" &

Re: Creating multiple databases

2004-04-27 Thread Kyle Dorian
Thanks for your suggestions. I have had a look at the addresses and values of the databases when opened and just prior to shutting down, and they have the same addresses and values so it appears that no memory trampling or similar is occurring. Would it be possible that there is some sort of issu

Re: Creating multiple databases

2004-04-21 Thread Kyle Dorian
Thanks for your thoughts. I've checked that the error occurs when calling my shutdown routine which closes the database (i.e. when calling DmCloseDatabase). DmOpenDatabaseInfo isn't called during the shutdown routine - the only time it is called is when creating the database. "Ben Combee" <[EMA

Creating multiple databases

2004-04-20 Thread Kyle Dorian
Hi all, I am writing an application that contains 4 databases. On startup I open all 4 (and create if they don't already exist). I am finding however that when closing the program, an exception occurs. In particular, when running the program in the emulator, the following error is displayed