PDA

View Full Version : How to set Macro in CD-SDK?


nibaijing
11th of April 2005 (Mon), 03:08
:cry: I use CD-SDK 7.0 in my software but I don't know how to set macro in CD-SDK.
What is the function to set macro(value is 'on' or 'off')?
Can you help me?thanks!!

atleypnorth
11th of April 2005 (Mon), 07:23
at a rough guess from looking at the API calls available ...
using
function CDSetShootingMode (hSource : cdHSource; ShootingMode : cdShootingMode) : cdCAPI;

and setting ShootingMode to cdSHOOTING_MODE_MACRO ($006e)

nibaijing
11th of April 2005 (Mon), 19:06
Thank you very much!
I use function CDSetAFDistanceSetting(m_hSource, cdAF_DISTANCE_CLOSE_UP),It's fine.