Re: Getting label strings from form resources (i.e. form is NOT active/open)?

2003-11-21 Thread Ken Krugler
In all the discussion about displaying the build date/time, I didn't see anybody mention that you should use the formats specified by the user. Which means that The Right Thing to do is to store the build date as a soft constant (tint) with an ID = 1000, then use the DateTime.h routines to

Re: Spanish fonts

2003-11-06 Thread Ken Krugler
I want to change system font to spanish font. And use new font in DateBook. Are there any characters required for Spanish that are missing from the standard PalmLatin fonts? I didn't think so, since Spanish is one of the languages supported by the core Palm OS platform. -- Ken -- Ken Krugler

Re: overlays in Palm OS 5.0

2003-10-31 Thread Ken Krugler
PRC2OVL? -- Ken Krugler http://www.krugler.org +1 530-265-2225 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Ticks per second = 356!!!!??

2003-10-31 Thread Ken Krugler
is executing, etc. but usually it's much faster (as you've found out). -- Ken -- Ken Krugler http://www.krugler.org +1 530-265-2225 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: database sorting time

2003-10-19 Thread Ken Krugler
its sorting, and thus avoids this problem. -- Ken -- Ken Krugler http://www.krugler.org +1 530-265-2225 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: deleting a character

2003-10-15 Thread Ken Krugler
to enqueue chrBackspace, not chrDelete. -- Ken -- Ken Krugler http://www.krugler.org +1 530-265-2225 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: nondestructively looking at pen stroke

2003-10-10 Thread Ken Krugler
and end point for the stroke - what else do you need to do your analysis? BTW, I don't think you want to try peeking at the pen stroke queue directly, as it stores data in a compressed format, you need to worry about scaling conversion from raw to screen coordinates, etc. -- Ken -- Ken Krugler

Re: Database names only in ASCII?

2003-10-09 Thread Ken Krugler
without involving the Text Mgr, which creates a low level-to-high level dependency that should be avoided. Anyway, nothing bad will happen currently if you use 8-bit ASCII for DB names, but everybody should try to use 7-bit ASCII and a tAIN resource if possible. -- Ken -- Ken Krugler http

Re: Keys returning true with TxtCharIsHardKey?

2003-10-01 Thread Ken Krugler
). -- Ken -- Ken Krugler -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: display a paragraph in the palm using windrawchars funtion

2003-09-29 Thread Ken Krugler
+ offset, endOffset - offset, yPos, xPos); offset = endOffset; yPos += FntLineHeight(); } -- Ken -- Ken Krugler http://www.krugler.org +1 530-265-2225 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com

Re: Turkish Language support on palm

2003-09-27 Thread Ken Krugler
benefiting other developers. I'm copying the list in my response, since somebody like Aaron might well have additional details to add re modifying PilRC. -- Ken Krugler http://www.krugler.org +1 530-265-2225 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http

Re: How do you localize your app?

2003-09-27 Thread Ken Krugler
encodings. -- Ken -- Ken Krugler http://www.krugler.org +1 530-265-2225 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

RE: Shared libraries with resources : is it possible?

2003-09-26 Thread Ken Krugler
RESETAUTOID to change the range of auto ID's generated by the tool. For small apps, this may not be an issue, but I'd probably stay away from 9500 and higher. -- Ken Krugler http://www.krugler.org +1 530-265-2225 -- For information on using the Palm Developer Forums, or to unsubscribe, please

Re: Turkish Language support on palm

2003-09-26 Thread Ken Krugler
for you. So then you' just worry about how to deal with the localization aspect - I'd look at adding support for this code page to PilRC, if that hasn't already been done. -- Ken -- Ken Krugler http://www.krugler.org +1 530-265-2225 -- For information on using the Palm Developer Forums

Re: Can it send and receive Chinese SMS with telephony SMS library?

2003-09-22 Thread Ken Krugler
is supported. I don't know what would happen on the receive size when older versions of SMSLib get sent UCS-2. -- Ken Krugler http://www.krugler.org +1 530-265-2225 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: How to print non-roman character in a hack?

2003-09-21 Thread Ken Krugler
for the Japanese Hiragana DA. If the device encoding was Unicode this would work, but that's not currently available. If you were running on a Japanese device, then you'd set the .chr field to 0x82BE, which is the Shift-JIS code for this character. -- Ken -- Ken Krugler http://www.krugler.org +1 530

Re: Can it send and receive chinese sms with telephony sms library?

2003-09-19 Thread Ken Krugler
. You might be able to get it to work properly by converting to UCS-2 yourself (using TxtConvertEncoding), then send it as 8-bit raw, which I believe is supported. I don't know what would happen on the receive size when older versions of SMSLib get sent UCS-2. -- Ken -- Ken Krugler http

Re: Chinese Simulator: No Focus Warning for sysNotifyKeyboardDialogEvent

2003-09-18 Thread Ken Krugler
== sysNotifyKeyboardDialogEvent) { FrmAlert (aSimpleAlert); return 0; } } } -- Ken Krugler http://www.krugler.org +1 530-265-2225 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev

Re: TxtConvertEncoding (from UTF-8): newline problem

2003-09-18 Thread Ken Krugler
versions less than 5.3 there's a bug where converting from Unicode (e.g. UTF-8) to Shift-JIS fails for any character code 0x20. So unfortunately you'll have to write a cover routine. If I get a few moments I'll try to do the same and post it here. -- Ken -- Ken Krugler http://www.krugler.org

Re: ASCII Code

2003-09-16 Thread Ken Krugler
when you copy it to cedilha. So any character with a value 0x7F (127) will be copied to cedilha as 0xFFxx. You'd want the line to be cedilha = *(unsigned char *)car; -- Ken -- Ken Krugler http://www.krugler.org +1 530-265-2225 -- For information on using the Palm Developer Forums

Re: UTF8 and Palm Fonts etc.

2003-09-16 Thread Ken Krugler
you'll need to do something like convert from UTF-8 to UCS-2, then use the high byte as a font selector, and the low byte as the fake character code, and have a bunch of your own custom fonts. -- Ken -- Ken Krugler http://www.krugler.org +1 530-265-2225 -- For information on using the Palm

Re: Differences between Palm Emulator and real hardware

2003-09-04 Thread Ken Krugler
. This occurs even though the frmOpenEvent is still sitting in the queue. -- Ken Krugler -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: setting graffiti 2 state

2003-08-26 Thread Ken Krugler
of Graffiti 2. I believe it's been fixed in more recent versions of Palm OS 5 (e.g. 5.2.1?) -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support

Re: develop localize font for palm

2003-08-19 Thread Ken Krugler
-- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: UI internationalization?

2003-08-14 Thread Ken Krugler
Applications chapter, please re-post specific questions. How can I test the Japanese , etc. charactors / words ( I don't know Japanese ) on my application ? Once you've got the Emulator or Simulator running with a Japanese ROM, running Gremlins is the easiest first step. -- Ken -- Ken Krugler

RE: pilrc rcp files and chinese characters

2003-08-14 Thread Ken Krugler
that the input file uses the corresponding character encoding. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Link Error : PalmRez Error:

2003-08-10 Thread Ken Krugler
a pop-up setting for the character encoding in CodeWarrior's PalmRez prefs panel. You need to set this to Japanese. --Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http

Re: Hacking Libraty [Library] Traps

2003-07-30 Thread Ken Krugler
type/creator/name as the library you're patching out in ROM, but with a higher version # in the DB header. When you get opened, explicitly open the real library in the ROM. Do the inverse in the close routine. Library calls that you don't patch just get passed through by stubs. -- Ken -- Ken

Re: WChar to char

2003-07-29 Thread Ken Krugler
) { WChar curChar; srcOffset += TxtGetNextChar(sourceStr, srcOffset, curChar); dstOffset += TxtSetNextChar(shortStr, dstOffset, curChar); } -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200

Re: overlay help

2003-07-25 Thread Ken Krugler
. In the meantime, if you email me your base app and the overlay PRC, I can try to figure out what went wrong. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com

Re: FEP

2003-07-16 Thread Ken Krugler
Fep don't work on 4.0 ,4.1,5.0. I'd need more details to provide any useful information. Are you sure Fep work on some devices. Yes. They work on Japanese and Chinese devices, and I've built and run FEPs on English 4.0/4.1/5.1 ROMs. -- Ken -- Ken Krugler TransPac Software, Inc. http

Re: Write Text in Multiple Line

2003-07-15 Thread Ken Krugler
bytesOnLine = FntWordWrap(textP, bounds-extent.x); WinDrawChars(textP, bytesOnLine, bounds-topLeft.x, curY); curY += lineHeight; textP += bytesOnLine; } } -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200

Re: Customize standard keyboard dialog?

2003-07-14 Thread Ken Krugler
it sounds like you'd have to create your own keyboard form. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Valid character for TxtCharAttr?

2003-07-09 Thread Ken Krugler
to prevent the sign extension from occurring. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: WinDrawChar and WinDrawTruncChars aren't working

2003-07-06 Thread Ken Krugler
in the PalmOSGlue library. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: check Menu visibility

2003-07-01 Thread Ken Krugler
enter/exit events for some reason, then you can check to see if the active window is the same as the active form's window. If not, then there's probably something obscuring your form. I wound up having to use this technique for 68K FEPs running on Palm OS 5. -- Ken -- Ken Krugler TransPac

Re: Multibyte/Unicode Programming

2003-06-29 Thread Ken Krugler
). I think the X11 bitmap fonts have pretty good (though not complete) coverage of the base set of Unicode (aka 10646) characters, though not all of the glyph variants required for proper display. See http://www.cl.cam.ac.uk/~mgk25/ucs-fonts.html for info links. -- Ken -- Ken Krugler TransPac

Re: Problem with TxtGlueCharIsPrint and 5-way navigator vchrNavChange

2003-06-18 Thread Ken Krugler
field virtual keydown event didn't have its command bit set when generated by Graffiti, but this was fixed in 3.1. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http

Re: charAttr_XA

2003-06-10 Thread Ken Krugler
, all of the Hanzi characters. -- Ken -- Ken Krugler -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

RE: Chinese characters

2003-06-08 Thread Ken Krugler
drawing APIs. I assume, I need to convert user input just the other way around? If you need to store everything as Unicode for some reason, then yes. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums

Re: Chinese characters

2003-06-07 Thread Ken Krugler
). -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: How to read Russian HotsyncID...

2003-06-06 Thread Ken Krugler
describe above. -- Ken Ken Krugler wrote: SUMMARY: How does the PalmOS store Russian characters in a HotsyncID? That's up to the 3rd party hack used to provide Cyrillic support on a Palm OS device. I'm guessing they just use Windows code page 1251. DETAIL: My PalmOS app reads the HotsyncID using

Re: Handling UTF-8 data

2003-06-03 Thread Ken Krugler
to draw characters that cannot be displayed using the device encoding. -- Ken -- Ken Krugler -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Handling UTF-8 data

2003-06-03 Thread Ken Krugler
to convert from UTF-8 to the device encoding (not to/from UCS-2), which is what's required to be able to display the text data (unless you use you own app-defined fonts and a private encoding scheme). -- Ken -- Ken Krugler -- For information on using the Palm Developer Forums, or to unsubscribe, please

Re: Localization Development Tools for Palm - Help Needed!

2003-05-29 Thread Ken Krugler
Arabic Character Shapes (Code Page) which has to be Compatible with that of Windows. Also, I have to be able to define the bit-map image of each character. For fonts you'd want to search the archives, as there have been many postings regarding how to create custom fonts. -- Ken -- Ken Krugler

Re: Turn off Graffiti engine?

2003-03-27 Thread Ken Krugler
? Patch GrfProcessStroke when your app is running. But I have my doubts that Graffiti processing of the stroke data is slowing down your app. We are also interested in making a HackMaster hack for input handling. Is there sample code for how to do this? Not that I know of. -- Ken -- Ken Krugler

Re: DmQuickSort Sorting large database

2003-03-26 Thread Ken Krugler
, and probably up to 64K records. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: ErrTry

2003-03-21 Thread Ken Krugler
not mixing C++ try/catch with the ErrTry/ErrCatch macros, right? If you break into the debugger and generate a stack crawl, it would be much easier to figure out what's going wrong. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm

Re: StrIToA Problem

2003-03-14 Thread Ken Krugler
SysStringByIndex's maxLen parameter is the buffer size -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Displaying numeric keyboard [was A problem]

2003-03-12 Thread Ken Krugler
on the '123' area of the silkscreen. Or you can directly call SysKeyboardDialog(kbdNumbersAndPunct); -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev

Re: How do currency string conversions?

2003-03-12 Thread Ken Krugler
really want to enforce strict format checks. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: SysFatalAlert on FrmGetNumberOfObjects and dynamic labels

2003-03-12 Thread Ken Krugler
in Poser or on a device. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Virtual characters

2003-03-12 Thread Ken Krugler
, in which case using app defined events would be better. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Sony-NX60 and TxtCharIsAlNum

2003-03-06 Thread Ken Krugler
as a char or Char instead of a WChar. When you pass this to TxtCharAttr, the compiler will sign-extend the value to be 16 bits, and thus if the high bit is set (for high-ASCII) you can wind up passing 0xFFxx instead of 0x00xx. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1

Re: TimSecondsToDateTime: seconds exceed max value

2003-03-05 Thread Ken Krugler
is a lower limit (by about 8 years, IIRC) than 2^32. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: an EvtEnqueueKey() oddity

2003-03-03 Thread Ken Krugler
it takes two bytes to represent a single character. Or perhaps via a special TSM or FEP event. Hopefully Ken Krugler will see this posting and clarify. No, Shift-JIS and other multi-byte encodings currently supported by Palm OS always return complete characters in the keydown event structure

Re: Bad Field Selection after using on-screen keyboard

2003-03-02 Thread Ken Krugler
: http://groups.yahoo.com/group/palm-dev-forum/message/9 It might work for you. Regards, Michael Yam www.ytechnology.com -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http

Re: multibyte string lib functions

2003-02-20 Thread Ken Krugler
character. Many people think of Unicode in terms of the older, deprecated UCS-2 encoding, where every character consists of a single 16-bit word. But since the range of Unicode scalar values now exceeds 64K, this is no longer sufficient, thus the creation of UTF-16. -- Ken -- Ken Krugler TransPac

Re: multibyte string lib functions

2003-02-20 Thread Ken Krugler
-byte character. %C (and %lc) are there to print a single character, which might have a value 255. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev

Re: multibyte string lib functions

2003-02-20 Thread Ken Krugler
) the character you're searching for has a value 0x0040, which means that it will never be part of a multi-byte character. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http

Re: Coverting CW app to Multi Language

2003-02-20 Thread Ken Krugler
. Not that this is an issue for the UI, but if the user is running the app in Dutch mode and entering Dutch text, then they might expect other aspects of the program's behavior (such as sorting) to also be localized. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200

Re: multibyte string lib functions

2003-02-19 Thread Ken Krugler
to see a class for multibyte chars that overload [] and provides string.h functionality. Between the String Mgr and the Text Mgr, you should have most of what you need. There are some holes - for example, there's no easy way to do a case-insensitive StrStr/strstr. -- Ken -- Ken Krugler http

Re: Exception handling on the Palm worth the bother

2003-02-08 Thread Ken Krugler
local variables in the catch clause - if they're not marked as volatile, then you can wind up using a stale copy. The old HHSJ article that I wrote about Palm OS exception handling is on the Palm KnowledgeBase, titled Using the Palm OSĀ® Error Manager. -- Ken -- Ken Krugler TransPac Software, Inc

Re: Japanese OS upgrade to 4.1

2003-01-22 Thread Ken Krugler
Does anyone know of anything for this? I spent about 40 minutes on the phone with Palm support and the store and they could neither confirm nor deny that it was available. I know that there is a 4.1-J ROM, but I'd doubt that there was any upgrade program for it. -- Ken -- Ken Krugler http

Re: Convert Codepage 932 (Japanese) to Unicode

2003-01-12 Thread Ken Krugler
). When I enter japanse on the handheld, sometimes Windows has a problem because the character is not in the default CP932 character set (get's converted to ?'s). Which characters? -- Ken -- Ken Krugler http://www.krugler.org +1 530-265-2225 -- For information on using the Palm Developer Forums

RE: Allocate more than 64K of heap memory

2003-01-11 Thread Ken Krugler
code fails in some manner, but I'm pretty sure there aren't any issues with the OS trying to do something to the chunk behind your back. -- Ken -- Ken Krugler http://www.krugler.org +1 530-265-2225 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http

Re: Convert Codepage 932 (Japanese) to Unicode

2003-01-11 Thread Ken Krugler
-2. -- Ken -- Ken Krugler http://www.krugler.org +1 530-265-2225 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Word Lists for Games

2003-01-08 Thread Ken Krugler
, Palm Developer Forum digest wrote: A sample multi-segment shared library is available at ftp://ftp.transpac.com/multiseg/. It's similar to the Sample FEP code, but implements routines that search for words in a DAWG. -- Ken Krugler http://www.krugler.org +1 530-265-2225 -- For information on using

Re: multiple-segment shared library

2003-01-07 Thread Ken Krugler
. -- Ken -- Ken Krugler http://www.krugler.org +1 530-265-2225 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Encoding problem in Alerts

2003-01-02 Thread Ken Krugler
the PRC without editing those characters. But Constructor won't be able to calculate the widths of menus pop-up triggers correctly. -- Ken Krugler http://www.krugler.org +1 530-265-2225 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com

Re: ControlStyleType and Palm OS 5

2002-12-31 Thread Ken Krugler
. Is there any other [Posting this response from Tim Wiegman...] There is a new PalmOSLib glue routine (CtlGlueGetControlStyle) which will return this info. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums

Re: silkscreenRectScreen

2002-12-28 Thread Ken Krugler
the silkscreen area is collapsed or not. I don't know whether licensees who have released QVGA-based devices go to the extra effort of dynamically adjusting the results returned by EvtGetSilkscreenAreaList - my guess would be no. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530

Re: Localization problem

2002-12-23 Thread Ken Krugler
to open when an app is launched. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

RE: How to detect if a database is protected

2002-12-22 Thread Ken Krugler
patch. 2. Get the address of a routine like DmInit, and then search backwards for the PrvDatabaseIsProtected routine, and call it with a direct jump. Both are pretty skanky. On 5.x it gets harder :) -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200

Re: A question about currencies

2002-12-15 Thread Ken Krugler
is a three letter ASCII sequence such as USD for US Dollar. See http://www.xe.com/iso4217.htm for this info, as well as the informal currency names. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums

Re: PalmRez Warning on Latin chars

2002-12-14 Thread Ken Krugler
not exist in Palm Latin, thus you're getting this warning. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Determining if LCD is on

2002-12-14 Thread Ken Krugler
, for example, uses bit 5 (0x20) in port K. Disassembling the code in HwrDisplaySleep() would probably provide this info, or if Handspring has posted Poser sources for Treo 300 emulation. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using

Re: What is a soft constant?

2002-12-05 Thread Ken Krugler
? The ResLoadConstant function, and the 'tint' resource type, are described on page 460 of the Palm OS Reference document (version 3003-003). But you're right that it doesn't use the term soft constant anywhere. Also, my copy of the Constructor documentation doesn't describe soft constants. -- Ken -- Ken Krugler

Re: Question to the developers of Palm OS system

2002-12-03 Thread Ken Krugler
of padding between the entry count and the array of RGB values (which will also have to be little endian). -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev

Re: Localization

2002-12-03 Thread Ken Krugler
or Resorcerer. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Start my application from silkscreen virtual key

2002-12-02 Thread Ken Krugler
with Palm OS 5, you could register to receive the sysNotifyVirtualCharHandlingEvent notification. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev

Re: high-resolution timing on OS 5?

2002-11-30 Thread Ken Krugler
/, and the corresponding article is in the Palm KnowledgeBase. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: SysCurAppDatabase in a patched DmGet1Resource and Overlays

2002-11-26 Thread Ken Krugler
. Or can I make the application (or rather DmGet1Resource) think that my database is an overlay, too? Not easily, or without a lot of mucking w/internal Data Mgr structures. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm

Re: Adding a Spell-Checking Database?

2002-11-24 Thread Ken Krugler
the code as a starting point for something similar. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: How to append NULL-char to string?

2002-11-21 Thread Ken Krugler
you never had to deal with Int, Word, ULong, and other acts of the devil. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: PalmOS 5 lack of hacks

2002-11-11 Thread Ken Krugler
and input capabilities to an English OS 5. If you implement an appropriate locale module, then you don't need to patch to support proper drawing measuring of text. There are still issues with features such as full-screen handwriting recognition, where no OS support is provided. -- Ken -- Ken Krugler

Re: SampleFEP.mcp - Multi-segment shared library

2002-10-30 Thread Ken Krugler
. etc. etc. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Is it safe to abort()/longjmp() from a Palm OS callback?

2002-10-16 Thread Ken Krugler
-- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Word wrap problems with Chinese and Korean fonts

2002-10-11 Thread Ken Krugler
required for proper word wrapping. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: kKeyboardFormResID

2002-10-08 Thread Ken Krugler
of the resource IDs in the current headers should actually be private, since they're subject to change between different versions of the OS. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe

Re: an StrCompare() oddity

2002-10-06 Thread Ken Krugler
comparison of byte values, so its sort order is based on ASCII character codes, which has its own long and tangled history. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: TxtSetNextChar

2002-10-01 Thread Ken Krugler
the number of bytes in a string, not the number of characters. To count the number of characters you'd have to walk the string using TxtGetNextChar. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums

Re: How can i make Input Method Manager

2002-09-23 Thread Ken Krugler
required for a standard Palm OS FEP. Most of these hacks have their own FEP architecture, for example. If you still want to try writing a Palm OS FEP, you'll need to contact Palm DTS to get the documentation and some special header files, as well as sample code. -- Ken -- Ken Krugler TransPac

Re: PALMSOURCE - HELP ME!

2002-09-22 Thread Ken Krugler
and Chinese (was this Simplified, Traditional, or both?) you won't be able to build PRCs with valid menu and pop-up trigger widths. If you email me an example of a resource (the PilRC source and the resulting .r) I can take a look at why PalmRez crashes. -- Ken -- Ken Krugler TransPac Software

Re: Does PalmOS support Unicode?

2002-09-19 Thread Ken Krugler
different fonts, as the same unified Han character (same Uncode code point) will typically have a different appearance in a Japanese versus a Chinese font. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums

Re: remember database

2002-09-19 Thread Ken Krugler
else (e.g. a field in the app info record). This is similar to the use of a tAIN resource for app names, versus relying on the DB name. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe

Re: Naming conventions under VFS manager

2002-09-09 Thread Ken Krugler
then it's mapped to a '_'. But maybe there's a bug in that logic, and the end result is an empty or invalid short DOS file name. -- Ken Ken Krugler wrote: Hi Jonatan, I am having problems creating a file with VFSFileCreate() if the file name contains international characters. err

Re: Is there an easy way to count resources?

2002-09-09 Thread Ken Krugler
it's easy to count the number of lines. -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Defining OS5 Fonts

2002-09-09 Thread Ken Krugler
-- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Naming conventions under VFS manager

2002-09-05 Thread Ken Krugler
the freeze? Thanks, -- Ken -- Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

<    1   2   3   4   5   >