ADC Home > Reference Library > Technical Q&As > Carbon > Human Interface Toolbox >
|
Q: Why doesn't my Scrolling Text Box control work in a compositing window? A: Some old controls do not work properly in the new compositing windows introduced in Mac OS X 10.2. Some of those controls (ie. Databrowser) were updated in Mac OS X 10.3 so they would work, but others which were not as popular with developers or could be replaced with other solutions, were not updated. The Scrolling Text Box control (CDEF 27) is resource-based and the modern Mac OS X APIs tend to opt for other means of storage. The sample code HIScrollingTextBox provides two different replacement APIs for this control:
This API, which can be used on Mac OS X 10.2 and later, uses the same parameters as
This API, which can be used on Mac OS X 10.3 and later, uses the same parameters as [Nov 13, 2003] |