SetUIBrightnessPreference does not change the brghtness of InDesign


i want create plugin change , detect brightness of indesign cc2015 preference.

 

i have used

               interfaceptr<iapplication> application(getexecutioncontextsession()->queryapplication());

               interfaceptr<iuserinterfacepreferences> ui(application, iid_iuserinterfacepreferences);

 

here

               pmreal p = ui->getuibrightnesspreference();

but p's value null or empty. have printed informationalert, nothing there.

 

set brightness 0.33

               ui->setuibrightnesspreference(0.33);

 

but not change anything. have call applypreference... something.

better post in indesign sdk forum:

 

indesign sdk



More discussions in InDesign


adobe

Comments

Popular posts from this blog

after effects warning: unable to create drawing surface

Maximum number of authorizations reached!