Hi all, Thanks for your support, I think I need some time to get it works. When I am success, I will post here for my final solution.
Thanks and regards, Joseph Chan "Anton" <[EMAIL PROTECTED]> ???????:[EMAIL PROTECTED] > > Josef I didn't understand your question... > You may do the hyperlink as you like. But usually hyperlinks are underlined > in all Palm browsers I know. To do this you should call WinSetUnderlineMode > and then WinDrawChars. That's it. > Alternatively yo may use WinDrawInvertedChars. In this case your hyperlink > will be inverted. If you would like your hiperlink to behave like a button > do it as a button. But I would prefer to do it just as a string. One more > thing -- it is more pretty if the hyperlink is inverted when user taps on it > and inverted again when user remove the pen from it. It may be done handling > penDownEvent and penUpEvent. So, you catch penDownEvent and invert the > link(use WinInvertRectangle function). Then you catch penUpEvent and invert > it again and do something that your hyperlink should do. > Anton > > ----- Original Message ----- > From: Joseph Chan <[EMAIL PROTECTED]> > Newsgroups: palm-dev-forum > To: Palm Developer Forum <[EMAIL PROTECTED]> > Sent: Thursday, March 28, 2002 10:10 AM > Subject: Re: Dynamic UI > > > > Thanks Anton, > > > > I want to ask one more question. Why the links are underlined and can be > > push like a button? > > > > Thanks > > Joseph Chan > > > > "Anton" <[EMAIL PROTECTED]> ???????:[EMAIL PROTECTED] > > > > > > 1.Write a text with WinDrawChars > > > 2. Save position of written text in a structure, for variables or > > > RectangleType . > > > 3. Handle penDownEvent. Check out whether the pen is tapped in this > > > rectangle. > > > Very simple :) > > > Anton > > > > > > > > > ----- Original Message ----- > > > From: Joseph Chan <[EMAIL PROTECTED]> > > > Newsgroups: palm-dev-forum > > > To: Palm Developer Forum <[EMAIL PROTECTED]> > > > Sent: Wednesday, March 27, 2002 2:48 PM > > > Subject: Dynamic UI > > > > > > > > > > Hi all, > > > > > > > > Does anyone know how to define a dynamic UI like the clickable link in > > > > HTML/WAP browser in palm? > > > > > > > > Thanks and regards > > > > Joseph Chan > > > > =============================== > > > > The Hong Kong Polytechnic University > > > > Department of Computing > > > > [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/ > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/