Hi,Christian: Christian Lippka wrote: >sd::View::GetAttributes to my knowledge returns the attributes of the >currently selected objects. If there is nothing selected than you get >the pool defaults. >So what do you mean with 'the current font' ?
say if I choose a font type in the text format toolbar, for instance, from arial to times new roman, I got your point about GetAttributes. and at this moment, there is no selected objects, because there is no text in the edit area, that is why I always get the default font type. but for some reason, I want to capture the changed pool, I know it is impossible to use GetAttributes, with GetAttributes, I can only get the default, if there is no text. how can I possibly get the right pool? zhaosheng 2007-03-28
