Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Popup Button not behaving as expected



On Jan 31, 2005, at 08:16 PM, Jesse Carpenter wrote:

I went back to include to call SetControlMaximum()...and all is well. That is to say it works.... Question: What is the difference between SetControlMaximum() and SetControl32BitMaximum()?

The only real difference is 16-bit vs 32-bit values. at this point in time there is no real difference (I'm pretty certain all controls support 32-bit values now) but in the past there were some controls that didn't. You can use SetControl32BitMaximum() for all controls without worrying about it.


I have another question.... I used a call to CreateScrollList(). What rectangle do I use for the call DrawThemeFocusRect()? Also to include that I use DrawThemeListBoxFrame() as well but I am not sure exactly what rect to use?

You shouldn't use a scroll lists, but Databrowser controls instead. The API is a bit more complicated, but the control is also much more capable. You should probably read the documentation on HIView before you get too deep into this, just so you know what the modern controls & APIs are.


--
Reality is what, when you stop believing in it, doesn't go away.
Failure is not an option. It is a privilege reserved for those who try.

David Duncan

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: Popup Button not behaving as expected (From: "Jesse Carpenter" <email@hidden>)



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.