accessing VFS?

2005-04-15 Thread George VS
Hi group,

Is there any detailed information concerning the speed of accessing VFS?
Are there any alternatives to VFSFileOpen+VFSFileDBInfo for checking a file 
type on Palm's card?

Thanks!
  George VS ([EMAIL PROTECTED]) 



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/


dynamic creating of a scrollbar control

2005-01-18 Thread George VS
Hi group,

Is there any way of creating a scrollbar control dynamically?

Thanks,
   George VS ([EMAIL PROTECTED]) 



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/


howto hide caret in text field?

2005-01-11 Thread George VS
Hi group,

Does anyone know how to hide the blinking cursor in a text field?

Thanks,
  George VS ([EMAIL PROTECTED]) 



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/


Re: How to draw low density bmp on high density display?

2004-08-25 Thread George VS
Hi,

The problem is I dont want to ship databases with bitmap families,
but rather display bitmap as is so that 1pix in bitmap is rendered to
exactly 1phisical devise pixel.

What I experience and try to avoid is scaling the bitmap on high-density
displays!
I tried WinSetScalingMode(kBitmapScalingOff);
I tried WinSetCoordinateSystem(kDensityDouble/ kDensityLow);
I tried BmpCreateBitmapV3(pBmpV1, kDensityDouble/ kDensityLow,
BmpGetBits(pBmpV1)...);
I tried WinCreateOffscreenWindow(...nativeFormat/ screenFormat);
Nothing worked as targetted.

What I need is effect of drawing bitmap (BitmapTypeV3) with kDensityDouble.

Thanks!
George VS ([EMAIL PROTECTED])

Matt Graham [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 George VS wrote:
  I have a low density bitmap I wish to draw on high density display
without
  being scaled.
  Can anyone tell me how is this done?
 
  I tried:
 
  WinSetScalingMode (kBitmapScalingOff);
  WinDrawBitmap(bmpP, x, y);
 
  but this has none effect ?!
 
  When the bitmap uses version3 bmp format, the blitter properly selects
  high-density bitmap and renders it as I wish.
 
  So, how can a 160x160 pix bitmap be rendered on left top portion of the
  screen on high density display devices?

 What if you store it as 2 separate bitmap families?  One with the bitmap
 in single density, the other in double density.  Then pick the bitmap
 based on WinGetCoordinateSystem()?

 /*
   * Matt Graham
   * Palm OS Developer
   * www.healthramp.com
   */




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


How to draw low density bmp on high density display?

2004-08-24 Thread George VS
Hi group,

I have a low density bitmap I wish to draw on high density display without
being scaled.
Can anyone tell me how is this done?

I tried:

WinSetScalingMode (kBitmapScalingOff);
WinDrawBitmap(bmpP, x, y);

but this has none effect ?!

When the bitmap uses version3 bmp format, the blitter properly selects
high-density bitmap and renders it as I wish.

So, how can a 160x160 pix bitmap be rendered on left top portion of the
screen on high density display devices?

Thanks!
  George VS ([EMAIL PROTECTED])



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Image APIs?

2004-07-14 Thread George VS
Hi group,

I am considering building a photo album application.

Can anyone give me advice on what Image APIs may be used.
Are there any specific APIs for different devices (Palm, Sony, ..., OS5) or
a standard can be used.
What APIs are used for building the image databases (storing images) and
what APIs are used for rendering images on devices.
What formats are available. Is there any common image format (say .bmp) that
can be used for both Palm and PocketPC devices.

Thanks!
  George VS ([EMAIL PROTECTED])



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Why ErrDisplayFileLineMsg() does nothing in PalmOS5 ?

2004-06-17 Thread George VS
Hi group,

I have an ASSERT() macros that rely on using ErrDisplayFileLineMsg() but it
seems this API function does nothing under simulators ().
What function should I use to have same behaviour: application stop with Win
msg box explaining the assert fail condition and eventually switched to
debugger in affected line?

Thanks!
  George VS ([EMAIL PROTECTED])



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: howto download screenshots?

2004-05-13 Thread George VS
We use that way, but is there any specific to the simulator feature in the
menus, much like Save Screen... in the standart PalmOS emulator?


Matt Graham [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 George VS wrote:
  Can anyone tell me how can I take screenshots from tungsteen simulator 
  sony ux50 simulator in 480/320 resolution?

 should work

 alt+PrntScrn

 open MS Paint

 ctrl+v




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


howto download screenshots?

2004-05-12 Thread George VS
Hi group,

Can anyone tell me how can I take screenshots from tungsteen simulator 
sony ux50 simulator in 480/320 resolution?

Thanks!
George VS



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


screen resolution question

2004-04-14 Thread George VS
Hi group,

Is there any way to calculate the screen resolution: pixels per mm?
For WinCE I would do:
int res = GetDeviceCaps(hdcDisplay, VERTRES) / GetDeviceCaps(hdcDisplay,
VERTSIZE);

Thanks!
George VS ([EMAIL PROTECTED])



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: DataMgr implementation for Win32

2004-03-05 Thread George VS

I need the DataMgr interface implementation working for WinCE
but PAR's libprc wont compile under eVC 3...

PalmDataLib looks interesting but
 - it does not implement the exact interface (some DmDesktop* functions
replace the needed)
 - has no src, and I'm not sure lib should link in eVC 3

any other propositions?

George VS ([EMAIL PROTECTED])


George VS [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]
 Hi group,

 Is there any Win32 implementation of the PalmOS DataMgr interface.
 I know one can use PAR's libprc library from CW, but it is not a DataMgr
 interface implementation, but just implementation of the prc/pdb file
format
 read/write routines.

 Thanks!
   George VS ([EMAIL PROTECTED])






-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


DataMgr implementation for Win32

2004-03-04 Thread George VS
Hi group,

Is there any Win32 implementation of the PalmOS DataMgr interface.
I know one can use PAR's libprc library from CW, but it is not a DataMgr
interface implementation, but just implementation of the prc/pdb file format
read/write routines.

Thanks!
  George VS ([EMAIL PROTECTED])



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: .R commandline compiler?

2004-02-18 Thread George VS
Thank you Ben,

I am trying to port our Palm software to PocketPC with minimum project
objects and source recoding.
Besides, I very much like the R language, and I think I may find it usefull
for building complex resources for any platform that I have to build for.

George VS ([EMAIL PROTECTED])

Ben Combee [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 At 05:52 AM 2/17/2004, you wrote:
 Hi group,
 
 Can anyone tell me if there is any command line tool I can use to build
.R
 files?

 It's called 'rez', and it's available as part of MPW and Mac OS X on the
 Macintosh.  There is a Win32 port available as part of the QuickTime for
 Windows SDK (see http://developer.apple.com/quicktime/)  If you DL that,
be
 sure to rename the file QT6SDK_Win.hqx to QT6SDK_Win.zip before you try to
 expand it -- it looks like someone at Apple got it wrong.

 However, I'm curious as to how you're going to use the output, since MW
 doesn't supply a command-line version of the Mac OS 68K compiler.  I
 suppose it could be used to feel the new PalmSource tools, which can
 convert .rsrc files to XRD format.






-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


.R commandline compiler?

2004-02-17 Thread George VS
Hi group,

Can anyone tell me if there is any command line tool I can use to build .R
files?

Thanks!
  George VS ([EMAIL PROTECTED])



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


port to WinCE

2004-02-10 Thread George VS
Hi group,

Is there any lib or recomendations on porting Palm app to WinCE with focus
on reusing much of the code.
I managed to implement parts of Palm APIs under WinCE.
Any ideas?

Thanks,
George VS ([EMAIL PROTECTED])



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Tungsteen E device

2004-01-29 Thread George VS
Hi group,

Is there any way to tell whether a device is TunsgteenE?
any feature, constant, version would better do

Thanks!
   George VS ([EMAIL PROTECTED])




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


WinRGBToIndex() crashes with low memory access for Treo270

2003-12-17 Thread George VS
Hi group,

Did anyone had trouble with using WinRGBToIndex() under Treo270?

Thanks!
George VS ([EMAIL PROTECTED])



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


TimGetTicks() on Treo600 reutrn const?!?

2003-12-16 Thread George VS
Hi group,

Is there a bug in the Treo600 system?
TimGetTicks() returns 4 (?!) always

What substitute function may one use to circumvent this bug!

Thanks!
  George VS ([EMAIL PROTECTED])



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


5-way navigation SDK

2003-11-26 Thread George VS
Hi group,

Is there any place I can find usefull information about handling 5-way
navigation?
Also is there any emulator/simulator that supports it?

Thanks!
George VS ([EMAIL PROTECTED])




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: 5-way navigation SDK

2003-11-26 Thread George VS
That would be great, if just the Palm have not wanted for some looney reason
login for everything that makes sence, grrr!

George VS ([EMAIL PROTECTED])

LeSalle Munroe [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Go to the following site and download the FiveWay SDK:
 http://www.palmos.com/alliance/resources.cgi/devseed/
 - Original Message - 
 From: George VS [EMAIL PROTECTED]
 Newsgroups: palm-dev-forum
 To: Palm Developer Forum [EMAIL PROTECTED]
 Sent: Wednesday, November 26, 2003 7:49 AM
 Subject: 5-way navigation SDK


  Hi group,
 
  Is there any place I can find usefull information about handling 5-way
  navigation?
  Also is there any emulator/simulator that supports it?
 
  Thanks!
  George VS ([EMAIL PROTECTED])
 
 
 
 
  -- 
  For information on using the Palm Developer Forums, or to unsubscribe,
 please see http://www.palmos.com/dev/support/forums/
 






-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


DynamicInputAreas.pdf?

2003-11-07 Thread George VS
Hi group,

Where can I find the so called DynamicInputAreas.pdf document?

Thanks!
George VS ([EMAIL PROTECTED])



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


testing Exchanging Objects

2003-10-15 Thread George VS
Hi group,

How can I simulate IR (or other) comunication between 2 palm devices to test
my exchange objects feature?

Thanks!
George VS ([EMAIL PROTECTED])



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


menus question

2003-09-16 Thread George VS
Hi group,

Is there a way to handle a menu select event from an item on the menubar?
Suppose I have this RCP definition:

MENU ID MainMenu BEGIN
PULLDOWN Puldown1 BEGIN ... END/*cannot declare ID*/
MENUITEM ItemOnTheBar1 ID /*not even
possible*/
END

How to catch menu events from Puldown1 item?
How to make (it is not possible) ItemOnTheBar1 item and catch its events?

I tried to explore (PRCExplorer) the resources of a trivial Starter
application,
but it seems:
(1) although declared as MENU, resources are linked as 'MBAR' resource;
(2) although linked as 'MBAR' resource, data does not conform 'MBAR' type
declaration in UIResDefs.r.

What is the explanation?

Thanks!
George VS ([EMAIL PROTECTED])



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


external keyboard emulation

2003-09-10 Thread George VS
Hi group,

Is there a tool to emulate external keyboard to PalmOS device (Palm m130, OS
4.1).

Thanks!
George VS ([EMAIL PROTECTED])




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


CW9, Linker error: PalmRez error: could not open file...,

2003-08-14 Thread George VS
Hi group,

I have .R resource I want to reuse in my new PalmOS app.
I have created a Convert Resources (MacOS Merge) target as documented.

But, I get this error when I build the project:
Link Error: PalmRez Error: Could not open file: resources.tmp
in resources.tmp; line 1 # Col: 1

The file resources.tmp is created, but size is 0 ?!?

This issue occur each time .R file is to be rebuild and there are other
projects open in same CW app instance.
More over on some machines this occurs always!
Any suggestions?

Thanks,
George VS ([EMAIL PROTECTED])



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


PilRC problem with BITMAPFAMILYEX identifier auto-definitions

2003-07-11 Thread George VS
Hi group,

I have a set of bitmaps I want to bundle in RCP file.

I use BITMAPFAMILYEX for generic PalmOS devices, and
BITMAPFAMILY for Sony devices.
I have also #include Header.h on the 1st line in the .RCP file.

To regenerate the header I delete the header file, then run PilRC with RCP
file, then save the project.
But I am confused to see only the BITMAPFAMILY ids are generated in the
header.
Also, if I delete the header file while in PilRC, when saving the project an
header file is generated!

It is strange that at first i had couple of BITMAPFAMILYEX and everything
went ok,
but when I added more definitions thing gone wrong even with older source.

Any suggestions?


George VS ([EMAIL PROTECTED])



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: PleaseWait form

2003-07-04 Thread George VS
Hi group,

Unfortunately EvtFlushPenQueue() does not help (try tapping on menu and
watch menu pops after FrmReturnToForm(0))

What I did on first shot looks like
while (EvtEventAvail()) EvtGetEvent(event, evtNoWait);
but this means I cannot produce result (not progress!) events in the
Please Wait operation

George VS ([EMAIL PROTECTED])


Rodolphe Bréjaude [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]

 you can deletes all pen and key message sin the queue before returning
 uses sysfluspenqueue() or something like that

 - Original Message -
 From: George VS [EMAIL PROTECTED]
 Newsgroups: palm-dev-forum
 To: Palm Developer Forum [EMAIL PROTECTED]
 Sent: Thursday, July 03, 2003 4:39 PM
 Subject: PleaseWait form


  Hi group,
 
  I wanted to make a simple PleaseWait form.
  This is the decision I ended:
 
   FormPtr formP = FrmInitForm(PleaseWaitForm);
   FrmSetActiveForm(formP);
   FrmDrawForm(formP);
 
  // not so lengthy process
 
   FrmReturnToForm(0);
 
  The problem is that pen events (and others) are buffered and application
  gets mad after form is closed if the user had become impatient
 
  Any ideas?
 
  Thanks!
  George VS ([EMAIL PROTECTED])
 
 
 
 
  --
  For information on using the Palm Developer Forums, or to unsubscribe,
 please see http://www.palmos.com/dev/support/forums/






-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


PleaseWait form

2003-07-03 Thread George VS
Hi group,

I wanted to make a simple PleaseWait form.
This is the decision I ended:

 FormPtr formP = FrmInitForm(PleaseWaitForm);
 FrmSetActiveForm(formP);
 FrmDrawForm(formP);

// not so lengthy process

 FrmReturnToForm(0);

The problem is that pen events (and others) are buffered and application
gets mad after form is closed if the user had become impatient

Any ideas?

Thanks!
George VS ([EMAIL PROTECTED])




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Localized Applications?

2003-03-11 Thread George VS
Hi group,

Can anyone give me advice on localizing applications.
I've read the articles on localizing applications in palmos documentation
and as far as I understand the procedure is as follow

run PRC2OVL tool for the requested prc (that would generate overlay
database)
change resources in overlay database with a tool

My questions are:
1. How is non-standard  resources localized (typicallly that would be in
custom .R files) ?
2. How is localization updated (when source moves to higher version, how to
use previous work done for translating in the overlayed prc) ?

Thanks!

George VS ([EMAIL PROTECTED])



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/