Reading directly from unlocked memory chunk: Please help

2000-06-30 Thread vishyk
Hi, I am trying to display text on to a field object by using the following function :- void DisplayTxtToField(FormPtr frm, UInt16 fieldID, Char* tempString) { MemHandle userTextH; FieldPtr fldP; Err err; fldP = FrmGetObjectPtr(frm,FrmGetObjectIndex (frm, fieldID)); userTextH = MemH

GUI in Palm : A question

2000-07-12 Thread vishyk
Hi All, Is there some way to create GUI objects on the fly (check boxes, edit boxes etc...) and Forms with out using the Constructor? I ask this b'cos I am trying to write a WML renderer for Palm and need to create the UI based on the elements rendered. I'm looking for functions that take argu

Does Palm support GIF's?

2000-07-13 Thread vishyk
Hi, Is it possible to attach a GIF image as a Bitmap to a form ? or is the constructor the only way to genetrate a bitmap... I am porting a GUI from VC to Palm and I have these buttons (GIF images) which needs to be used in the UI... Thanx -vishy __

Re: Does Palm support GIF's?

2000-07-13 Thread vishyk
I tried that i.e. cut paste from MSPAINT but though the bitmap gets copied the colors get screwed up so I am back to square one! --vishy Get free email and a permanent address at http://www.netaddress.com/?N=1 -- For informat

A Question on Dynamic UI!

2000-07-14 Thread vishyk
Hi , I am trying to render UI such as buttons etc using API's such as CltNewControl and having a tough time with it, as the Documents are not really clear about their usage...is there some (or does any one have ) example source codes which uses these functions available on the net that I can refe

Memory Allocation

2000-07-17 Thread vishyk
Hi , Can some one tell me the minimum memory chunk that is allocated when I use MemPtrNew ?and what is the overhead per chunk?... I am writing an application where I generate a lot of memptrs to very small chunks of memory, keeping track of them is difficult, is there a way I can generate a

A question on memory

2000-07-17 Thread vishyk
Hi , Can some one tell me the minimum memory chunk that is allocated when I use MemPtrNew ?and what is the overhead per chunk?... I am writing an application where I generate a lot of memptrs to very small chunks of memory, keeping track of them is difficult, is there a way I can generate a

FILES: fstat in Palm 3.5 ?

2000-07-19 Thread vishyk
Hi , Is there an API to get file info like CreationTime, lastAccessTime, lastWriteTime etc in Palm? If not is there any way to get the functionality of fstat with out using MSL? Thanx vishy Get free email and a permanent add

FILES: fstat in Palm 3.5 ?

2000-07-20 Thread vishyk
Hi , Is there an API to get file (as against database info which is available) info like CreationTime, lastAccessTime, lastWriteTime etc in Palm? If not is there any way to get the functionality of fstat with out using MSL? Thanx vishy _

URGENT: A question on Memory !!!

2000-07-25 Thread vishyk
Hi , Can some one tell me the minimum memory allocated while using MemPtrNew and the overhead per block? (for eg.. the malloc fn allocates a minimum of 64 bytes of which 16 are overhead) Thanx --vishy Get free email and

RE: File Streaming Problem

2000-07-25 Thread vishyk
The easiest way would be to rewind the ptr by using the FileRewind() or the other way would be to close the File before reading... -vishy Hi I want to use File Streaming API in my application. I have tried with FileWrite( ) and FileRead( ) calls. I am able to write some bytes into a

A Question? on LARGE Applicatons & Multi Segment app etc....

2000-08-09 Thread vishyk
Hi, I am writing this code which is around 304k and I came across this following observation about multiple segments:- I have four segments, all segments < 60K, segment 1 segment 2 segment 3 segment 4 a call from segment 2 to a function in segment 3 works but if I make a call from segment 2 to

URGENT Accessing files from the native OS via the Emulator!!!!

2000-08-15 Thread vishyk
hi all, Is there some way to access from the C drive via the code warrior?... I want to basically do some thing like... handle = FileOpen(CardNo, filepath, AppType, AppType, fileModeReadOnly, &error) where filepath = C:/temp/abc.txt (just an examlple) Or alternatively is there a way to dump t

Having Problem with FldNewField Need help!

2000-08-17 Thread vishyk
Hi, I am trying to create a field at runtime when the user hits a button, and the code goes something like this. Boolean handled = false; FieldType * NewFieldID; FormType ** formPP ; . . . else if(eventP->data.ctlEnter.controlID == HelpContentsDisplayButton) { NewFieldID = FldN

Displaying Fonts...

2000-08-22 Thread vishyk
Hi, I've two questions, 1> is there a way to create fonts such as itallics? 2> is there a way to set more than one font as we do in windows for example bold, itallics etc.. thanx in advance vishy Get free email and a perma

Rendering Ontimer to palm : need help

2000-08-29 Thread vishyk
Hi all, this is regarding timers in palm (I've been thro the archives) when I parse and render a WAP card I come accross the ontimer tag..which calls my createTimer function:- BOOL BrowserTimerExists ; UInt16 BrowserTimeoutValue; createTimer(void *usrAgent, uint16 period) { Browse

Rendering Ontimer to palm : need help

2008-05-28 Thread vishyk
Hi all, this is regarding timers in palm (I've been thro the archives) when I parse and render a WAP card I come accross the ontimer tag..which calls my createTimer function:- BOOL BrowserTimerExists ; UInt16 BrowserTimeoutValue; createTimer(void *usrAgent, uint16 period) { Browser

Displaying Fonts...

2008-05-28 Thread vishyk
Hi, I've two questions, 1> is there a way to create fonts such as itallics? 2> is there a way to set more than one font as we do in windows for example bold, itallics etc.. thanx in advance vishy Get free email and a perman

RE: File Streaming Problem

2008-05-29 Thread vishyk
The easiest way would be to rewind the ptr by using the FileRewind() or the other way would be to close the File before reading... -vishy Hi I want to use File Streaming API in my application. I have tried with FileWrite( ) and FileRead( ) calls. I am able to write some bytes into a

URGENT: A question on Memory !!!

2008-05-29 Thread vishyk
Hi , Can some one tell me the minimum memory allocated while using MemPtrNew and the overhead per block? (for eg.. the malloc fn allocates a minimum of 64 bytes of which 16 are overhead) Thanx --vishy Get free email and a

FILES: fstat in Palm 3.5 ?

2008-05-29 Thread vishyk
Hi , Is there an API to get file (as against database info which is available) info like CreationTime, lastAccessTime, lastWriteTime etc in Palm? If not is there any way to get the functionality of fstat with out using MSL? Thanx vishy __

FILES: fstat in Palm 3.5 ?

2008-05-29 Thread vishyk
Hi , Is there an API to get file info like CreationTime, lastAccessTime, lastWriteTime etc in Palm? If not is there any way to get the functionality of fstat with out using MSL? Thanx vishy Get free email and a permanent addr

A question on memory

2008-05-29 Thread vishyk
Hi , Can some one tell me the minimum memory chunk that is allocated when I use MemPtrNew ?and what is the overhead per chunk?... I am writing an application where I generate a lot of memptrs to very small chunks of memory, keeping track of them is difficult, is there a way I can generate a

Memory Allocation

2008-05-29 Thread vishyk
Hi , Can some one tell me the minimum memory chunk that is allocated when I use MemPtrNew ?and what is the overhead per chunk?... I am writing an application where I generate a lot of memptrs to very small chunks of memory, keeping track of them is difficult, is there a way I can generate a

A Question on Dynamic UI!

2008-05-29 Thread vishyk
Hi , I am trying to render UI such as buttons etc using API's such as CltNewControl and having a tough time with it, as the Documents are not really clear about their usage...is there some (or does any one have ) example source codes which uses these functions available on the net that I can refer

Re: Does Palm support GIF's?

2008-05-29 Thread vishyk
I tried that i.e. cut paste from MSPAINT but though the bitmap gets copied the colors get screwed up so I am back to square one! --vishy Get free email and a permanent address at http://www.netaddress.com/?N=1 -- For informa

Does Palm support GIF's?

2008-05-29 Thread vishyk
Hi, Is it possible to attach a GIF image as a Bitmap to a form ? or is the constructor the only way to genetrate a bitmap... I am porting a GUI from VC to Palm and I have these buttons (GIF images) which needs to be used in the UI... Thanx -vishy ___

GUI in Palm : A question

2008-05-29 Thread vishyk
Hi All, Is there some way to create GUI objects on the fly (check boxes, edit boxes etc...) and Forms with out using the Constructor? I ask this b'cos I am trying to write a WML renderer for Palm and need to create the UI based on the elements rendered. I'm looking for functions that take argum

Reading directly from unlocked memory chunk: Please help

2008-05-29 Thread vishyk
Hi, I am trying to display text on to a field object by using the following function :- void DisplayTxtToField(FormPtr frm, UInt16 fieldID, Char* tempString) { MemHandle userTextH; FieldPtr fldP; Err err; fldP = FrmGetObjectPtr(frm,FrmGetObjectIndex (frm, fieldID)); userTextH = MemHa