| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Nov 27, 2003, at 12:36 PM, ai cui wrote:
I need to delete the selected items in my browserdata.
Here is the way I did:
//I got a handle from the API :
Handle handle_selectedItems;
GetDataBrowserItems(browser, kDataBrowserNoItem,
false,
kDataBrowserItemIsSelected,handle_selectedItems);
As Larry said, GetDataBrowserItems() expects an allocated handle (it will resize it to match the number of items returned).
Handle h = ::NewHandle(0);
::GetDataBrowserItems(browser, kDataBrowserNoItem, false, kDataBrowserItemIsSelected, &h);
| References: | |
| >How to get the info from a handle? (From: ai cui <email@hidden>) | |
| >Re: How to get the info from a handle? (From: David Duncan <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.