On 08/05/09 05:28, Zhu Lihua wrote:
I think: if nId > 4999, it's a "Slot". if nId <= 4999 and nId !=0 , it's a "Which".
What are the terms "slot" and "which" mean?

Which-IDs are used to store items in an ItemSet. For most efficient operation, they should be consecutive, so each module uses its own IDs, defined in ranges of items that are stored together. For uniform communication with UI elements (like dialogs or tool bars), an ItemPool can define a Slot-ID for each Which-ID. The same Slot-ID is then used for an item across the modules (like SID_ATTR_CHAR_FONT for the font description).

Niklas

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to