Daniel schrieb: >Please do not rely on the item state only, but test the contents of the >item too. See the example for the FID_MERGE_TOGGLE item in the same >file: the test " ... >= SFX_ITEM_DEFAULT " >makes sure that the item exists (it has state "DEFAULT" or "SET"), and >that it is possible to use the item returned in the pItem parameter of >the QueryState function. Try to combine the GetValue() test into the "else if >...";
hi, Daniel I made some changes and submitted another patch to issue25018. I don't know whether I understood you completely. The variable bIsFullScreen I add is used to test. Best Regards yunjingtao