Need more color depth help

2008-05-29 Thread Jim Duffy
Hi all, Could someone offer additional help in getting my bitmaps to display in 16 gray scale in my app. Dave pointed me to the WinScreenMode() function, however I can't seem to get this function to work for me. I don't quite understand what to pass to this function to set the entire display

Re: Link Error help needed

2008-05-29 Thread Jim Duffy
(MainForm.c) that includes 'MainFormHandleEvent'. You must do this for any function that you call from outside the module (.c file) that it is contained in. Hope this solves your problem. Regards, Steve -Original Message- From: Jim Duffy [mailto:[EMAIL PROTECTED] Sent: Thursday

Re: switch controls from black to white

2008-05-29 Thread Jim Duffy
. This technique has worked really nicely for me in the past. Regards, CSE -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jim Duffy Sent: Tuesday, 1 August 2000 11:59 AM To: Palm Developer Forum Subject: switch controls from black to white Can

Link Error help needed

2008-05-29 Thread Jim Duffy
Hi everyone, as a novice to C and C++ as well as palm programming. I am working on my first palm program now which I started using the standard palm os 3.1 stationary provided in Code Warrior. I have about 7 forms all working together fine. I have been dumping all the related functions into

Re: switch controls from black to white

2008-05-29 Thread Jim Duffy
bitmap over into a bitmap editor, then put it on top of the button. If you're developing for the color units, then you should use the bitmap button resource and library functions that are a part of the SDK 3.5. -Rus -Original Message- From: Jim Duffy [mailto:[EMAIL PROTECTED] Sent

Re: switch controls from black to white

2008-05-29 Thread Jim Duffy
Could you elaborate? Nesse, Rustin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Bitmap buttons! =) -Rus -Original Message- From: Jim Duffy [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 01, 2000 11:59 AM To: Palm Developer Forum Subject: switch controls from black

switch controls from black to white

2008-05-29 Thread Jim Duffy
Can anyone point me to how I could change the text of a label control and the color of a button control (and text) from black to white? I would like to put it against a dark background. Thanks a lot, Jim -- For information on using the ACCESS Developer Forums, or to unsubscribe, please

Drawling questons

2008-05-29 Thread Jim Duffy
As a novice, I need help of drawling on the Palm. I would like to draw some lines and rectangles in my UI to divide certain sections. Does anyone know where I can find a list of functions that do this. I found a rectangles section in the Palm OS Reference but none of the functions seem to be

CPU usage and Constructor

2008-05-29 Thread Jim Duffy
When I leave constructor open, my system performance goes way down. My CPU usage jumps to 100% whenever Constructor is open and slows Windows down greatly. Does anyone know why this is happening or how to fix it. Thanks Jim -- For information on using the ACCESS Developer Forums, or to

LED font

2008-05-29 Thread Jim Duffy
When I try to use the LED font to display a time and date value on my main form, I get strange characters in place of the ':' and the '/' characters. Is there a way to display these characters using the LED font? Or is there some sort of font library around that does it? Thank you Jim --

Hiding a Label control

2008-05-29 Thread Jim Duffy
Hi there, As a novice to Code Warrior and C, I am trying to have a form load with some of the controls hidden until the user selects a checkbox which then displays the controls. I can get all the controls to hide except for the Label control. I tried nearly all the control functions with many

Re: Getting text from editable field.

2008-05-28 Thread Jim Duffy
Jim [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Make sure that Text is pointing to a valid memory location, and that space is large enough to contain the entire TextP; Jim Duffy wrote: I hate to ask this since so much has already been posted about fields, but I

Getting text from editable field.

2008-05-28 Thread Jim Duffy
I hate to ask this since so much has already been posted about fields, but I can't seem to be able to get the text from a field and copy it into a string. Setting the text to the field is no problem. the code is static void GetFieldText(UInt32 FieldID, char *Text) { FieldPtr FieldP;

programatically hitting a popup trigger

2008-05-28 Thread Jim Duffy
Hello, In my code, I am trying to hit a Popup Trigger to display its associated list using the CtlHitControl() function, however, when I do this, the list apears only briefly and then disapears. Does anyone know why this happens and how I can have it stay visible? Thank you, Jim --

distributing compiled code

2008-05-28 Thread Jim Duffy
Hi all, I have a source file I would like to be able to distribute as a static library. I would like to have the code compiled when releasing it and supplying a developer with the header file. How do I go about getting this source file compiled in a way I can distribute? When I compile, I

Re: PalmOS (3.5) is corrupting my Alert resource!

2008-05-28 Thread Jim Duffy
Well what do ya know... and all this time I thought there were developers who can't spell. I have found 2 apps on my device that showed 'OQ' instead of OK. it seems though that upgrading to 3.5.2 solves this bug William F. Weiher III [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]

Accessing Control Resources

2008-05-28 Thread Jim Duffy
Hi everyone, Could someone please point me to where I could read the values held in a controls resource?? I want my program to be able to read a popuptrigger and find out what list is associated with it. Also I need to read a push button or checkbox and see if it is part of a control group..

Re: Sharing code as headers or shared libraries

2008-05-28 Thread Jim Duffy
Thanks a bunch for the guidance, You right, it looks like the second choice would be best for what I am doing regards Jim Dave Johnson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] At 11:35 AM -0800 10/31/00, Dave Johnson wrote: At 1:04 PM -0500 10/31/00, Jim Duffy wrote

Re: Sharing code as headers or shared libraries

2008-05-28 Thread Jim Duffy
Thanks for the guidance, I'm looking into shared libraries now, but can someone elaborate on a static library ?? thanks Jim Stringer [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Subject: Re: Sharing code as headers or shared libraries From: Gavin Maxwell [EMAIL PROTECTED]

Sharing code as headers or shared libraries

2008-05-28 Thread Jim Duffy
I'm not quite sure how to ask this but I have writen a small function which I want other programs to be able to use. The code works in a stationary template app and now I want to seperate it into its own mosule. How do I go about doing this? I found some info on Knowledge Basse describing

text and fields

2008-05-28 Thread Jim Duffy
Hi everyone, As a relatively novice programmer, I am at the point in my app where I want to start coding the database functionality. I want to start out by simply having some text (and numeric) fields in some forms saved into the global prefs struct so they can be retrieved when the app is

Re: Link Error : Could not open file: C:\palmSDK\SampleCode\HelloWorld\HelloWord\RESOURCE.FRK\Starter.tmp

2008-05-28 Thread Jim Duffy
I could be wrong on this but... I beleive you should use double slashes instead of one so the compiler does not take it as an escape sequence. like #include C:\\PalmSDK\\Sample Code\\Hello World\\Hello World\\RESOURCE.FRK\\Starter.tmp try that. Jim Muthuraj Velayutham [EMAIL PROTECTED] wrote

changing control frame in program

2008-05-28 Thread Jim Duffy
I am trying to change the border drawn around controls within my program. looking at the ButtonFrameType and the ControlStyleType I can see that it can be done, however, the docs advise not to directly change the attributes and to instead use the provided functions.. I can't find any functions

Using multiple HandleEvents

2008-05-28 Thread Jim Duffy
HI all, I am trying to use the List objects in my app to respond to more than what the LstHandleEvent looks for. Is there a way to use 2 HandleEvents at the same time? or is there a way I can see the code for that handler and add my own cases to the switch statement? Thanks in advance, Jim

Any custom fonts out there?

2008-05-28 Thread Jim Duffy
Does anyone know if there are any custom font resources available to developers?? I am looking for a font about the same size as the LED font except with a complete character set or at least letters and the ':' so I can display the time. thanx Jim -- For information on using the ACCESS

Re: Saving preferences

2008-05-28 Thread Jim Duffy
OK. got it working changed the Word data type to UInt16 and it took it. tnaks for the help Jim Jim Duffy [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Could someone please offer guidance with using Palm preferences... First, I am using the starter stationary for my app

Saving preferences

2008-05-28 Thread Jim Duffy
Could someone please offer guidance with using Palm preferences... First, I am using the starter stationary for my app which provides for the initial statements of get and set preferences in the AppStart and AppStop Function. What I am trying to do is simply save the Form which is open when the

Re: WinDrawChars and Transparency

2006-12-30 Thread Jim Duffy
Thanks! That worked perfectly.. Jim John Wilund [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] hi, I need to draw characters to the screen which has a FormBitmap set as a background. When I draw the characters though, their backgrounds show up as white. I can't see a way to

Initiate Hard Reset

2006-12-30 Thread Jim Duffy
Hi All, Does anyone know if it is possible to programmatically initiate a hard reset? The power button on my TX is not working right now but it seems to be some kind of software issue, so I wanted to wipe it out to see if it would fix itself. Of course the power button is needed to do a

Re: Initiate Hard Reset

2006-12-30 Thread Jim Duffy
Nevermine... I found a utility that did the trick called PowerBtn http://software.treonauts.com/product.asp?id=7586 Jim Jim Duffy [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi All, Does anyone know if it is possible to programmatically initiate a hard reset? The power

WinDrawChars and Transparency

2006-12-28 Thread Jim Duffy
Hi All, I need to draw characters to the screen which has a FormBitmap set as a background. When I draw the characters though, their backgrounds show up as white. I can't see a way to use WinSetBackColor to a transparent value. Does anyone have a suggestion as to how I can accomplish this?

POL API Documentation

2006-09-17 Thread Jim Duffy
Hi All, Does anyone have the POL C++ library api docs on hand that they could possibly send me or know where I can download them online? I recently rebuilt my laptop and those docs were in the 'Program Files\Metrowerks' directory and thus got wiped out. I am still using POL for some projects

Re: new-bie J2ME or c++

2006-07-20 Thread Jim Duffy
I would recomend Java MIDP actually. Yes, it is a bit more pesky to work with on the Palm OS but once you get a build process in place it something you won't really need to mess with any more. You can download the IBM Java toolkit form Palm's developer site. If your only writing a simple

Re: Dynamically Displaying Help Icon

2006-04-13 Thread Jim Duffy
Well, the software I'm doing is for enterprise customers.. The PDA's used run only my software and the user base are mainly mechanical engineers who barely know what a PDA is. P. Douglas Reeder, aka Skapti [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Jim Duffy wrote: I want

Dynamically Displaying Help Icon

2006-04-12 Thread Jim Duffy
Hi All, Does anyone have suggestions on how one could dynamically display the help icon on a form? I'm referring to the 'i' icon that shows up in the upper right area of a toolbar if a help string resource is associated to the form. I want the icon to show if a field in my DB has a string

POL Gone?

2005-11-08 Thread Jim Duffy
Hi All, Does anyone know the status of the POL C++ library? The link to the website seems to be down.. http://www.pollib.com/ Jim -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reading AppInfo block in DB

2005-11-08 Thread Jim Duffy
Hi All, I'm having trouble reading the app info block in my DB. I've written this kind of code before and it works fine when the AppInfo block is of a known size that can be directly assigned to a C struct. However, in this particular database, the app info block can be of an arbitrary

Bottom to top Pen stroke

2005-04-22 Thread Jim Duffy
Hi All, In the 'Buttons' dialog of the Prefs panel there is a button titled More. In there, one can select an action that happens when one strokes the pen from the bottom of the Graffiti area to the top of the screen.. Does this pen stroke have a virtual key code or something? I would like to

Re: Bottom to top Pen stroke

2005-04-22 Thread Jim Duffy
// 0x010E #define graffitiReferenceChr vchrGraffitiReference // 0x010F Jeff Loucks Work 425-284-1128 [EMAIL PROTECTED] Home 253-851-8908 [EMAIL PROTECTED] Mobile 253-691-8812 -Original Message- From: Jim Duffy [mailto:[EMAIL PROTECTED] Sent: Friday, April 22

Save state in Simulator

2005-02-11 Thread Jim Duffy
Does anyone know a way or a particular version of the Palm OS Simulator that is capable of saving it's state between sessions like POSE does? I'm demonstrating my software to potential customers and it's a hassle to have to re-install all the necessary files each time I launch the simulator..

Developer Forums woes

2004-11-29 Thread Jim Duffy
Does anyone else here find the developer forum setup a bit lacking? For example, when I need to do a search for a technical issue while developing, I am left with 2 mediocre options. I can search for relevant text in my newsreader application (Outlook). this will work only for threads that I

Re: Developer Forums woes

2004-11-29 Thread Jim Duffy
Thanks! That's much better.. Jim Ben Combee [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] At 03:18 PM 11/29/2004, you wrote: Does anyone else here find the developer forum setup a bit lacking? For example, when I need to do a search for a technical issue while developing, I am

locking code resource

2004-11-01 Thread Jim Duffy
Hi All, I'm writing a communications based static library, which will get compiled into a host application. It's setup so that the caller of the library passes in a pointer to a callback function that they want to have invoked when serial data is available. Much like the 'SysNotifyRegister'

Re: Kiosk mode for Palm

2004-11-01 Thread Jim Duffy
There is no straight forward way to accomplish this. But it should be possible. Look into the 'Notification Manager' section of the API reference. the notification 'sysNotifyLateWakeupEvent' can be sent to your app telling you that the device has just powered up. You can then launch you app

static library with C++ POL

2004-09-21 Thread Jim Duffy
Does anyone know if it is possible to use a static library writen in C in a POL C++ project? It works fine if I create a standard Code Warrior project but if I try in with a POL C++ project, I get 'function undefined' errors for the public API's I'm trying to call in the library.. Thanks, Jim

Re: static library with C++ POL

2004-09-21 Thread Jim Duffy
That did the trick.. Thanks a bunch ;) Jim Eka Gauranga Das [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] try extern C { #include whatever.h } On Tue, 21 Sep 2004 11:13:20 -0700, Jim Duffy [EMAIL PROTECTED] wrote: Does anyone know if it is possible to use a static

hex string to int

2004-09-14 Thread Jim Duffy
Hi All, Does anyone have some sample code that demonstrates how to convert a hex string to an int value? For example I need to convert a string like 3F to an Int16 with a value of 63 Can't find any API call that could help with this. Thanks in advance.. Jim -- For information on using

Tungsten Voice Memo Button

2003-11-18 Thread Jim Duffy
Hi All, I've been trying for a while to utilize the voice memo button on the Tungsten line to no avail. I've found a post from Phil Lachmann on the archive which I think I could use.. However, I can't get his email from eScribe and the post is not on my local machien and thus I can't pull it off

Differences in OS versions

2003-08-28 Thread Jim Duffy
Hi all, Sorry for the vague subject line of this post, but I don't really know a possible route cause to provide a more detailed description. I have an database app which has been in use for over 2 years.. It's a 210K .prc file with it's project files broken up in 5 segments and is using the

T/2 Voice Memo button

2003-08-21 Thread Jim Duffy
Hi all, I would like to use the Voice Memo button found on the left side of the Tungsten T/2 in my software.. Would anyone know what virtual character this button generates? Also, is there a definitive way to programmatically find out if the software is running on a T/2 with this button or one

Replace Substrings

2003-08-14 Thread Jim Duffy
Hi all, Does anyone know a way to search through a string for all instances of a substring and replace them with a different substring? For example: string1 This[CR]is a [CR] Test I need to replace all the [CR] with the '\n' newline character.. I've tried using StrStr() and TxtReplaceStr()

userDataP example code

2003-07-30 Thread Jim Duffy
Hi All, I'm using SysNotifyRegister in my app and need to pass in some data that gets passed back when the event has occurred.. I seem to be having trouble though when it comes to reading back my data when the notification occurs. Could anyone please enlighten me as to what I'm missing..

Re: App crash on HotSync or reset

2003-05-27 Thread Jim Duffy
:[EMAIL PROTECTED] Sent: Monday, May 26, 2003 11:52 PM To: Palm Developer Forum Subject: Re: App crash on HotSync or reset Jim Duffy [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hey guys, I'm currently working on a new version of my software.. All of the sudden, it is now crashing

record alignement problem

2003-03-01 Thread Jim Duffy
If anyone could shead some light on this, I'd greatly appreciate it... I'm trying to read an array of UInt16's at the end of my records. There is a struct and a sereies of packed strings before the beginning of the array. With help from others I now have this code in place.

Re: record alignement problem

2003-03-01 Thread Jim Duffy
of feel like a knuckel head since I spend a full day wrestling this issue ;) Jim Chris Antos [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] What is the value of ProfileLength? Next you should check the code that writes the record. Jim Duffy [EMAIL PROTECTED] wrote in message news

Reading UInt16 array at end of record

2003-02-28 Thread Jim Duffy
Hi all, I'm trying to read an array of UInt16's at the end of my records. There is a struct and a sereies of packed strings before the beginning of the array. With help from others I now have this code in place. _ UInt16 ProfileGlobal[1000]; unsigned char

Re: Reading UInt16 array at end of record

2003-02-26 Thread Jim Duffy
Yes, I can calculate the length of the record up to the beginning of the UInt16 array, but my problem is moving the pointer from the beginning of the record to that position. If my struct is 40 bytes long and the total of all the packed strings is 91, the I need to move 131 bytes into the record.

Re: Reading UInt16 array at end of record

2003-02-26 Thread Jim Duffy
This seems to be what I was looking for. I will try it out pronto. Thank you both for the help ;) Jim John Marshall [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Wed, Feb 26, 2003 at 12:47:08PM -0800, Jim Duffy wrote: If my struct is 40 bytes long and the total of all

Reading UInt16 array at end of record

2003-02-25 Thread Jim Duffy
Hi all, I have a DB where it's records consist of a struct followed by a series of variable length strings. I now need to add a variable length of UInt16's at the end of the records. Writing the records is no problem, but my trouble comes when trying to read them back. Can read the struct

JPEG support

2003-01-13 Thread Jim Duffy
Hi all, I know this topic has been covered quite a bit on the forum, but I still can't find a decent solution for displaying jpeg images within my app. I have downloaded the Eyemodule jpeg library which is a modified version of the IJG library. After compiling the shared library and the

Segment bigger than 64K

2003-01-07 Thread Jim Duffy
Hi everyone, I am working on a newer version of some software I have written. This is a multi segment project with the 'Code Model' set to Large under the project settings in CW 7. After adding some code, I get a series of errors, many of which are '16 bit reference out of range' I am

Re: Segment bigger than 64K

2003-01-07 Thread Jim Duffy
Thanx guys, No segment in my code is greater than 32K. The idea that my global space is too large makes a lot os sense since I am trying to merge 2 large preference struct globals into a single new struct to be stored in the app info block of the db. It's around 25K in size ;) Going to try to

Re: Reading array of structs in DB record

2002-08-20 Thread Jim Duffy
It worked! The code example work perfectly Martin, Thanks for the help! ;) Jim Hans-Christoph Wirth [EMAIL PROTECTED] wrote in message news:94009@palm-dev-forum... Jim Duffy wrote: When I go to read the records back, I need to lock a ItemType* to see the array of ItemTypes, but I

Reading array of structs in DB record

2002-08-19 Thread Jim Duffy
Hi all, Could someone please help resolve a record reading issue I'm having.. I am writing records to a DB which start off with a custom struct SystemType and then followed by a variable length array of a different struct ItemType When I go to read the records back, I need to lock a ItemType*

Vertical slider control

2002-07-16 Thread Jim Duffy
Hi all, Does anyone have any suggestions on a quick and dirty way to display a slider control vertically without making a gadget? Thanks! Jim -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

App launcher info

2002-06-02 Thread Jim Duffy
Hi all, Could anyone point me to where I can get information about Palm's built in App Launcher? I'm looking for layout details for the 2 icon views so I my program can navigate and select programs much like the Sony Jog Dial or Handera can do. Thanks in advance. Jim Duffy Vorpalware

App launcher details

2002-05-28 Thread Jim Duffy
Hi everyone, Does anyone know where I can get details on Palm's built in App Launcher program? I'm writing a hack that I want to navigate the apps shown in app launcher much like Sony's jog dial does or the Handera jog wheel. Is the app icons stored in a table or a gadget? Also, how can I

Re: LED on m5XX series...

2002-05-17 Thread Jim Duffy
I am also looking to do something similar. Can anyone advise? Jim C. B. Schofield [EMAIL PROTECTED] wrote in message news:86528@palm-dev-forum... Is there a public API for direct control of the LED on the m5xx Palms? In other words, I want to turn the LED on or off inside my application

Flashing LED once

2002-05-14 Thread Jim Duffy
Hello, I would like to use the 4.0 SDK attention calls to flash the LED on the device just once. Does anyone know a way to accomplish this? the AttnDoSpecialEffect only seems to set off the LED 3 times with 2 flashes each... Thanks for the help... Jim -- For information on using the

Detecting an app being deleted

2002-05-12 Thread Jim Duffy
Hi, Does anyone have suggestions on how to go about having an app be notified when it is being deleted to run a final cleanup routine? Thanx in adv Jim -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Alliance program Hardware discount

2001-09-23 Thread Jim Duffy
I just went to the Hardware Discount listing in the Resource Pavilion to order a IIIc for a color app I'm doing for a client only to find that the 500, 505 and VIIx are on the list. Has anyone else noticed this on the list or it is just me. Not to be paranoid or anything, but could I have been

Multi Segment weirdness

2001-08-06 Thread Jim Duffy
Hi everyone, I'm having some difficulty breaking my app into multiple segments. I have followed the docs carefully and can compile no problem. However, once I change the StartupCode.lib file to the MSL Runtime Palm OS (2i).lib file strange things happen. Basically I have 5 lists in my app

Re: Multi Segment weirdness

2001-08-06 Thread Jim Duffy
with the multisegment option already invoked, compile and make sure that there are no errors and then introduce your files into the project. As for a cure, that's all that I can suggest. John N. -Original Message- From: Jim Duffy [mailto:[EMAIL PROTECTED]] Sent: Monday, August 06, 2001 4:07 PM

List items not appearing

2001-07-29 Thread Jim Duffy
Hi all, I have a strange bug in my app that I'm not sure how to track down. I have 5 separate lists in my app that each use a 2 dimensional array to hold 16 user editable items. These have been working fine for the longest time. Due to the size of the app, I had to segment the project into 2

Re: dmErrMemError when installing prc file into POSE

2001-07-19 Thread Jim Duffy
Thanks a bunch, Segmenting my source code fixed it. Jim [EMAIL PROTECTED] wrote in message news:57077@palm-dev-forum... segment ur App M+S Telf. (511)448-4116 / 448-7874 Fax. (511)271-2393 http://www.msconsultores.com.pe -- For information on using the Palm Developer Forums,

Re: dmErrMemError when installing prc file into POSE

2001-07-18 Thread Jim Duffy
I am also experiencing the same problem.. I added 2 new forms to the project and the code associated with loading them and I'mgetting the same error in POSE. The app will also not load on an actual device. When I go into the code I added and comment some of it out, it starts to work again. If

Handling software registration

2001-05-28 Thread Jim Duffy
Hi all, This isn't exactly a developer question, but I recently released my first software title and now have the administrative chore of handling all the incoming registrations and maintaining them in a meaningful way. Can anyone offer any suggestions on some ways to handle these task

OS 3.1 Large Bold Font

2001-05-18 Thread Jim Duffy
Hello, I am using the Large Bold font for displaying the '/' and ':' characters in my app. they display just fine with OS. 3.3 and 3.5 but when viewed in Palm OS 3.1 I get strange characters as if they weren't supported. In the documentation under compatibility, it states that the large bold

Re: Packed Record HELP PLEASE

2001-04-02 Thread Jim Duffy
Thanx for this help Fox, Could you add to the reading part a bit though? For example, What kind of pointer should I be using to get to the strings. I need to first get past my struct which is at the beginning of the record to get to my strings. I tried: MemPtr RecP; MemHandle RecH RecP =

Re: Packed Record HELP PLEASE

2001-04-02 Thread Jim Duffy
r *. -Original Message- From: Jim Duffy [mailto:[EMAIL PROTECTED]] Sent: Monday, April 02, 2001 11:58 AM To: Palm Developer Forum Subject: Re: Packed Record HELP PLEASE Thanx for this help Fox, Could you add to the reading part a bit though? For example, What kind of pointer shou

Packed Record HELP PLEASE

2001-04-01 Thread Jim Duffy
Could anyone out there please help me with reading packed records? I have read through all the books I have and combed the archives for the answers I need with no luck. Each record in my DB needs to store a C struct with fixed sized variables followed by 3 variable length strings which I am

Table draw problem on 3.3 device

2001-03-27 Thread Jim Duffy
I am drawling cells in a table using TblSetCustomDrawProcedure() It has been working fine on both the Emulator and an actual device running 3.5. But when I run it with a Palm III with os 3.3 the changing text in the cells just get writen over top of what is already there. I tried drawling a

Re: CW7 Always Crash When Compile

2001-03-02 Thread Jim Duffy
You also need to copy "PPalmRez.dll" from the Preference Panel directory on the 4.0 CD. This version should be 4,5,2,0 If that doesn't work, try going to the bitmap you are adding or editing and changing a single pixel and then changing it back. Then compile. If it still doesn't work, try

editable list help

2001-02-19 Thread Jim Duffy
Hi all, I designed forms and routines to look and act like the CategoryEdit dialogs that come up when a user selects to edit a list of categories to be implemented in 5 separate popup lists in my app where a user can edit the text within these lists. The char arrays to hold these lists are

Re: sony-forum?

2001-01-17 Thread Jim Duffy
Just a note: If you have problems reading the group, you can always select "individual e-mails" so the messages come right to your inbox. "Mark A. Peters" [EMAIL PROTECTED] wrote in message news:36024@palm-dev-forum... Thanks - I was premature in claiming I could post, but I subsequently

Error #32 DirectBits not supported

2001-01-08 Thread Jim Duffy
Hi all, When trying to create GraphicRepeatingButtons I get an error when setting the "Selected Bitmap" field to something different than the "Bitmap Resource" field. When compiling I get this error: Link Error: Unexpected Error #32 DirectBits not supported. Compilation halted. Does anyone

upgrade from 3.1 project to 3.5

2001-01-04 Thread Jim Duffy
Hi all, I have a project that was originally created using a 3.1 stationary in Code Warrior R6 Recently I upgraded it by creating a new 3.5 stationary and then cutting and pasting my code into the new starter.c file leaving the new #includes and changing to the new data types as well as adding

Re: Getting text from editable field.

2000-12-07 Thread Jim Duffy
Jim [EMAIL PROTECTED] wrote in message news:32275@palm-dev-forum... Make sure that Text is pointing to a valid memory location, and that space is large enough to contain the entire TextP; Jim Duffy wrote: I hate to ask this since so much has already been posted about fields

programatically hitting a popup trigger

2000-12-05 Thread Jim Duffy
Hello, In my code, I am trying to hit a Popup Trigger to display its associated list using the CtlHitControl() function, however, when I do this, the list apears only briefly and then disapears. Does anyone know why this happens and how I can have it stay visible? Thank you, Jim -- For

Getting text from editable field.

2000-12-05 Thread Jim Duffy
I hate to ask this since so much has already been posted about fields, but I can't seem to be able to get the text from a field and copy it into a string. Setting the text to the field is no problem. the code is static void GetFieldText(UInt32 FieldID, char *Text) { FieldPtr FieldP;

distributing compiled code

2000-12-04 Thread Jim Duffy
Hi all, I have a source file I would like to be able to distribute as a static library. I would like to have the code compiled when releasing it and supplying a developer with the header file. How do I go about getting this source file compiled in a way I can distribute? When I compile, I

Accessing Control Resources

2000-11-13 Thread Jim Duffy
Hi everyone, Could someone please point me to where I could read the values held in a controls resource?? I want my program to be able to read a popuptrigger and find out what list is associated with it. Also I need to read a push button or checkbox and see if it is part of a control group..

Re: PalmOS (3.5) is corrupting my Alert resource!

2000-11-13 Thread Jim Duffy
Well what do ya know... and all this time I thought there were developers who can't spell. I have found 2 apps on my device that showed 'OQ' instead of OK. it seems though that upgrading to 3.5.2 solves this bug William F. Weiher III [EMAIL PROTECTED] wrote in message

Re: Sharing code as headers or shared libraries

2000-10-31 Thread Jim Duffy
Thanks for the guidance, I'm looking into shared libraries now, but can someone elaborate on a "static library" ?? thanks Jim Stringer [EMAIL PROTECTED] wrote in message news:28659@palm-dev-forum... Subject: Re: Sharing code as headers or shared libraries From: Gavin Maxwell [EMAIL

Re: Sharing code as headers or shared libraries

2000-10-31 Thread Jim Duffy
Thanks a bunch for the guidance, You right, it looks like the second choice would be best for what I am doing regards Jim Dave Johnson [EMAIL PROTECTED] wrote in message news:28733@palm-dev-forum... At 11:35 AM -0800 10/31/00, Dave Johnson wrote: At 1:04 PM -0500 10/31/00, Jim Duffy

Sharing code as headers or shared libraries

2000-10-30 Thread Jim Duffy
I'm not quite sure how to ask this but I have writen a small function which I want other programs to be able to use. The code works in a stationary template app and now I want to seperate it into its own mosule. How do I go about doing this? I found some info on Knowledge Basse

text and fields

2000-10-15 Thread Jim Duffy
Hi everyone, As a relatively novice programmer, I am at the point in my app where I want to start coding the database functionality. I want to start out by simply having some text (and numeric) fields in some forms saved into the global prefs struct so they can be retrieved when the app is

changing control frame in program

2000-10-13 Thread Jim Duffy
I am trying to change the border drawn around controls within my program. looking at the ButtonFrameType and the ControlStyleType I can see that it can be done, however, the docs advise not to directly change the attributes and to instead use the provided functions.. I can't find any functions

Re: Link Error : Could not open file: C:\palmSDK\SampleCode\HelloWorld\HelloWord\RESOURCE.FRK\Starter.tmp

2000-10-12 Thread Jim Duffy
I could be wrong on this but... I beleive you should use double slashes instead of one so the compiler does not take it as an escape sequence. like #include "C:\\PalmSDK\\Sample Code\\Hello World\\Hello World\\RESOURCE.FRK\\Starter.tmp" try that. Jim Muthuraj Velayutham [EMAIL PROTECTED]

Using multiple HandleEvents

2000-10-09 Thread Jim Duffy
HI all, I am trying to use the List objects in my app to respond to more than what the LstHandleEvent looks for. Is there a way to use 2 HandleEvents at the same time? or is there a way I can see the code for that handler and add my own cases to the switch statement? Thanks in advance, Jim

  1   2   >