Re: Why can't get selected text in List?

2003-02-21 Thread Sean Yang
ObjectPtr define > > static void * GetObjectPtr(UInt16 objectID) > > { > > FormPtr frmP; > > > > frmP = FrmGetActiveForm(); > > return FrmGetObjectPtr(frmP, FrmGetObjectIndex(frmP, objectID)); > > } > > // End main codes > > > > Th

Re: Why can't get selected text in List?

2003-02-22 Thread Sean Yang
index > into your ListCountry array of strings. As mentioned previously, be sure to > handle -1 which means nothing is selected. > > > > "Sean Yang" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > > > I had tried to do these,but it go

How to draw bitmap in high density for Palm?

2003-06-05 Thread Sean Yang
uot; after used WinSetCoordinateSystem(kCoordinatesNative), but as if the WinDrawBitmap() stills use the "standard coordinate" to draw. Who can help me? Thanks! Sean Yang Jun 05, 2003 Draw code: - WinPushDrawState(); WinSetCoordinateSystem(kCoordin

How to check screen is high density?

2003-06-04 Thread Sean Yang
t the same result, :-( Is there another function to get screen widht and height? Thanks! Sean Yang Jun 06, 2003 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

resources size limit?

2003-06-12 Thread Sean Yang
ng is fine. btw: resource format is .rcp, not .rcrs. Who can help me? Sean Yang Jun 12,2003 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: How to make color to Control's Label?

2003-06-12 Thread Sean Yang
You can use UIColorSetTableEntry() to set the same type control to the same color, if you want to set the different color for each of control, you need used Gadget to build your own control by yourself. "Hangzm" <[EMAIL PROTECTED]> дÈëÓʼþ news:[EMAIL PROTECTED] > > Hi: > I want to make the Te

Re: CWÀï³ÌÐòÈçºÎ·ÖΪ¶à¸ö*.cÔ´³ÌÐò

2003-06-16 Thread Sean Yang
ÄãÐèÒªÒ»¸ö¹«¹²µÄÍ·Îļþ£¬±ÈÈçtest.h£¬ÔÚÀïÃæ°üº¬ÁË1.cºÍ2.cÖÐÈ«¾Öº¯ÊýµÄÉùÃ÷£¬È« ¾Ö±äÁ¿µÄÉùÃ÷µÈ£¬ È»ºóÔÚ1.cºÍ2.cÖÐÓÃ#include "test.h"£¬¾Í¿ÉÒÔÁË¡£ "konica" <[EMAIL PROTECTED]> дÈëÓʼþ news:[EMAIL PROTECTED] > > ÏëÖªµÀCW¶ÔÒ»¸ö³ÌÐòµÄ´úÂë·Ö³ÉÁ½¸öÎļþдÓÐʲôÑùµÄÒªÇó¡£ > > --- > test(1+

Re: ת»»´°Ì壬Ðè±£´æÄÄЩÊý¾Ý

2003-06-16 Thread Sean Yang
Èç¹ûÐèҪʹÓÃFrmGotoForm£¬Ò²¿ÉÒÔͨ¹ý²ÉÓÃÈ«¾Ö±äÁ¿À´±£´æ¿Ø¼þµÄÖµ£¨Ò»°ãÔÚ frmCloseEventʼþÖнøÐб£´æ£¬ÔÚfrmOpenEventÖлָ´£©¡£ "DongDong" <[EMAIL PROTECTED]> дÈëÓʼþ news:[EMAIL PROTECTED] > > ®”é_†¢Ð´°Ìå•r, ²»ÒªÓà FrmGotoForm, ¶øÒªÓà FrmPopupForm, Òòžé FrmGotoForm ¼° > FrmPopupForm ½Ô•þŒ¦Ð´°Ìå®aÉú

where have DA source codes or tutorials ?

2003-06-19 Thread Sean Yang
Hi, Now, I want to learn how to write DA application, but I haven't any resources about it. Who can tell me some website that have the DA source codes or turorials? Thanks! Sean Yang Jun 20, 2003 -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: where have DA source codes or tutorials ?

2003-06-20 Thread Sean Yang
lots of free downloadable software w/ source code. > > > >-Original Message- > >From: [EMAIL PROTECTED] > >[mailto:[EMAIL PROTECTED] Behalf Of Sean > >Yang > >Sent: Friday, June 20, 2003 10:18 AM > >To: Palm Developer Forum > >Subject: where have DA source c

how to get the free memory size?

2003-06-23 Thread Sean Yang
M, but the function return 8.5M. Why!?? Who can help me? Thanks! Sean Yang Jun 23, 2003 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

How to capture the left way and the right way of 5-ways button?

2003-06-24 Thread Sean Yang
Hi, I know use 'vchrPageUp' and 'vchrPageDown' in kewDownEvent that can capture the up way and the down way, But I don't know how to capture the left way and the right way of 5-ways button? Thanks you! Sorry my poor english. Sean Yang Jun 24, 2003 -- For info

Re: How to capture the left way and the right way of 5-ways button?

2003-06-24 Thread Sean Yang
Thank you very much! "Sebastian Voges" <[EMAIL PROTECTED]> news:[EMAIL PROTECTED] > > On Tue, 24 Jun 2003 17:26:02 +0800, Sean Yang wrote: > > > I know use 'vchrPageUp' and 'vchrPageDown' in kewDownEvent that can capture > > the up

Re: Gadget question

2003-07-01 Thread Sean Yang
I use FrmHideObject() to hide the gadget, it's fine! "Philip Streck" <[EMAIL PROTECTED]> news:[EMAIL PROTECTED] > > On page 145 of the Palm OS Programmers Companion V1 there is an example > of a FormGadgetHandlerType in which they set the gadgets visible > attribute to true as shown below: >

Re: Highres graphical button

2003-07-02 Thread Sean Yang
My god, I got the same problem. :-( Maybe the format of bmp is not supported by Palm OS. For me, I used the ICO file to translate to BMP file by ACDSEE, after I translated a ICO file(48x48 resolution) to a BMP file(24x24 resolution), I used the ACDSEE to look the property of the BMP file, it's 48

Re: Help! How adjust the brightness programatically

2003-07-02 Thread Sean Yang
use "EvtEnqueueKey(vchrBrightness, 0, commandKeyMask)", it will display the system brightness dialog to change the brightness. <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Hello, >we have to adjust the brightness of Palm programatically(as click > a button). that is lower br

How to turn on/off the bluetooth radio programmaticaly?

2003-07-03 Thread Sean Yang
How to turn on/off the bluetooth radio programmaticaly? Thanks in advance. Sean Yang Jul, 03, 2003 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

why cannot raise the kewDownEvent?

2003-07-03 Thread Sean Yang
I want to use "EvtEnqueueKey(vchrPageUp, 0, commandKeyMask)" the simulate pressed the "PageUp" key , but I found it cannot raise the keyDownEvent, :-( Any ideas? Sean Yang Jul, 04, 2003 -- For information on using the Palm Developer Forums, or to unsubscri

Re: Tiny Fonts with pilrc/prc-tools

2003-07-04 Thread Sean Yang
Why I only find the 2.9p2 version to download on Sourceforge.net? Where is the 3.0 version? Thanks! Sean Yang Jul 04, 2003 "Aaron Ardiri" <[EMAIL PROTECTED]> news:[EMAIL PROTECTED] > > > Is there a way to create high-res fonts or font families using > > t

Re: Programming for Zire71? Camera?

2003-07-06 Thread Sean Yang
pls go here: http://pluggedin.palm.com/regac/pluggedin/index.jsp you might have to sign up first! Best regards Sean Yang "idea" <[EMAIL PROTECTED]> дÈëÓʼþ news:[EMAIL PROTECTED] > > Dear all, > > I am a beginner of palm programming. Is there any SDK available to de

Re: How to turn on/off the bluetooth radio programmaticaly?

2003-07-09 Thread Sean Yang
Thank your very much! Sean Yang "Miron Ophir" <[EMAIL PROTECTED]> дÈëÓʼþ news:[EMAIL PROTECTED] > > Try: > http://www.whizoo.com/apps/bttoggle.php#dev > > "Sean Yang" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > &g

the pam is crashed when HotSync?

2003-07-25 Thread Sean Yang
nd complie options, but I still cannot find the reason. Could you help me? Thanks! Sean Yang Jul, 25, 2003 begin 666 palm_hotsync_error.jpg [EMAIL PROTECTED]@%`!([EMAIL PROTECTED]<[EMAIL PROTECTED] M`#([EMAIL PROTECTED]@```!,"`P`!`0```&F'! `!>@!!0T0@ M4W

Re: the pam is crashed when HotSync?

2003-07-25 Thread Sean Yang
TED] > > Is your app responding to the sysAppLaunchCmdSyncNotify? Make sure it is > not doing something forbidden during that time. (access globals, etc) > > - Original Message - > From: "Sean Yang" <[EMAIL PROTECTED]> > Newsgroups: palm-dev-forum &g

Re: Recording problem

2003-08-14 Thread Sean Yang
Int16 length=len ---> here is error, because the "len" is a dynamic variable, not a const variable. You should define the "length" at the start of function. e.g: Err GrabaNuevoItem(void) { Int16 length; ... } Best regards! Sean Yang Aug.11.2003 "rguevara&qu

Re: Displaying popuplist

2003-08-14 Thread Sean Yang
Of course you can fill the popuplist dinamically. Please check your draw function codes. :-) "rguevara" <[EMAIL PROTECTED]> news:[EMAIL PROTECTED] > > I have one popup list, what i draw with my draw function, this display items of > one database (the index it's right) and when i popped the t

newValue = value in sclExitEvent?

2003-08-18 Thread Sean Yang
Hi All, I tried to use the following code to get the scroll value, but I found "i" always equal "j", so the scroll value always is Zero. Why ? if (eventP->eType == sclExitEvent) { Int16 i,j; i = eventP->data.sclExit.newValue; j = eventP->data.sc

How to get the default Icon database?

2003-08-21 Thread Sean Yang
me api functions to do it, but I can't found anything. Can anybody give me some ideas to implement get the default icon database? Thanks! Sean Yang Aug.21.2003 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

turn on/off beam receiving on OS 3.5

2003-08-29 Thread Sean Yang
Hi All, I know the ExgControl() can implement turn on/off beam receiveing at OS4 or later, but I don't know what's API can implement the function at OS3.5, Where can I get some documents and/or answers? Thanks in advance! Sean Yang -- For information on using the Palm Developer

create 'nfnt' font family problem with PilRC 3.0

2003-12-29 Thread Sean Yang
1. I use xFont to create two pfn file(use different font size) from importing window font, font is Verdana. 2. I create a rcp(Kingsoft_Phonetic_Font.rcp): FONTFAMILY ID LOCALE "enUS" BEGIN FONT "Kingsoft_Phonetic_Font_d72.pfn" DENSITY 72 FONT "Kingsoft_Phonetic_Font_d144