Click here to get back home

displaying free form text with hotlinks

 HomeNewsGroups | Search | About
 microsoft.public.smartphone.developer    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
displaying free form text with hotlinks Freeman Ng 11-27-2007
Get Chitika Premium
Posted by Freeman Ng on November 27, 2007, 2:51 am
Please log in for more thread options
Just like the Tasks app, for example, where phone numbers and URLs and email
addresses become links that can be scrolled through and selected.

Is there a built in control or component for doing this?

Thanks.


Posted by dbgrick on November 27, 2007, 10:08 am
Please log in for more thread options
I use an owner drawn button. You intercept the WM_DRAWITEM message and then
cast the lparam to a LPDRAWITEMSTRUCT pOwnerDraw. You use the hDC for the
cast param to draw your owner draw item. You use (pOwnerDraw->itemAction &
ODA_FOCUS) to determine if the item has focus and adjust your draw
appropriately. Then, you just use the button as a normal button in the
Dialog Proc to determine if the user selected the item. For smartphone you
might want to intercept the IDOK message and determine if the selected
control is your owner draw control, and process appropriately. I hope this
helps.

Regards,
Rick D.
Contractor

"Freeman Ng" wrote:

> Just like the Tasks app, for example, where phone numbers and URLs and email
> addresses become links that can be scrolled through and selected.
>
> Is there a built in control or component for doing this?
>
> Thanks.
>

Similar ThreadsPosted
Text not displaying in form December 6, 2005, 5:03 am
Free access to several paysites! Free movies - games - software - mp3 - and more! January 17, 2006, 4:31 pm
Platform.reg and Displaying April 11, 2006, 6:47 am
Displaying Volume screen June 28, 2005, 10:41 pm
Displaying created subfolders November 25, 2008, 9:43 am
Programatically displaying a softkey sub menu. April 19, 2006, 1:18 pm
combobox not displaying the item in smartphone July 13, 2006, 6:35 am
Form Animation February 20, 2008, 11:54 pm
Form focus problem January 16, 2006, 7:10 am
When is my form loaded and viewed? February 8, 2008, 10:07 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap