12.07.2015 Views

Excel Add-in Development in C/C++: Applications in ... - F9

Excel Add-in Development in C/C++: Applications in ... - F9

Excel Add-in Development in C/C++: Applications in ... - F9

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

xiiContents8.14.6 Trapp<strong>in</strong>g a w<strong>in</strong>dow selection event: xlcOnW<strong>in</strong>dow 2818.14.7 Trapp<strong>in</strong>g a system clock event: xlcOnTime 2828.15 Miscellaneous commands and functions 2828.15.1 Disabl<strong>in</strong>g screen updat<strong>in</strong>g dur<strong>in</strong>g command execution:xlcEcho 2828.15.2 Display<strong>in</strong>g text <strong>in</strong> the status bar: xlcMessage 2838.15.3 Evaluat<strong>in</strong>g a cell formula: xlfEvaluate 2838.16 The XLCallVer() C API function 2839 Miscellaneous Topics 2859.1 Tim<strong>in</strong>g function execution <strong>in</strong> VB and C/<strong>C++</strong> 2859.2 Relative performance of VB, C/<strong>C++</strong>: Tests and results 2899.2.1 Conclusion of test results 2939.3 Relative performance of C API versus VBA call<strong>in</strong>g from aworksheet cell 2939.4 Detect<strong>in</strong>g when a worksheet function is called from the PasteFunction dialog (Function Wizard) 2949.5 Access<strong>in</strong>g <strong>Excel</strong> functionality us<strong>in</strong>g COM/OLE Automation us<strong>in</strong>g<strong>C++</strong> 2959.5.1 Initialis<strong>in</strong>g and un-<strong>in</strong>itialis<strong>in</strong>g COM 2979.5.2 Gett<strong>in</strong>g <strong>Excel</strong> to recalculate worksheets us<strong>in</strong>g COM 2999.5.3 Call<strong>in</strong>g user-def<strong>in</strong>ed commands us<strong>in</strong>g COM 3009.5.4 Call<strong>in</strong>g user-def<strong>in</strong>ed functions us<strong>in</strong>g COM 3029.5.5 Call<strong>in</strong>g XLM functions us<strong>in</strong>g COM 3039.5.6 Call<strong>in</strong>g worksheet functions us<strong>in</strong>g COM 3039.6 Ma<strong>in</strong>ta<strong>in</strong><strong>in</strong>g large data structures with<strong>in</strong> the DLL 3059.7 A <strong>C++</strong> <strong>Excel</strong> name class example, xlName 3079.8 Keep<strong>in</strong>g track of the call<strong>in</strong>g cell of a DLL function 3099.8.1 Generat<strong>in</strong>g a unique name 3109.8.2 Obta<strong>in</strong><strong>in</strong>g the <strong>in</strong>ternal name of the call<strong>in</strong>g cell 3119.8.3 Nam<strong>in</strong>g the call<strong>in</strong>g cell 3139.8.4 Internal XLL name housekeep<strong>in</strong>g 3159.9 Multi-task<strong>in</strong>g, multi-thread<strong>in</strong>g and asynchronous calls <strong>in</strong> DLLs 3169.9.1 Sett<strong>in</strong>g up timed calls to DLL commands: xlcOnTime 3169.9.2 Start<strong>in</strong>g and stopp<strong>in</strong>g threads from with<strong>in</strong> a DLL 3189.9.3 Call<strong>in</strong>g the C API from a DLL-created thread 3209.10 A background task management class and strategy 3209.10.1 Requirements 3219.10.2 Communication between <strong>Excel</strong> and a background thread 3229.10.3 The software components needed 3229.10.4 Impos<strong>in</strong>g restrictions on the worksheet function 3239.10.5 Organis<strong>in</strong>g the task list 3249.10.6 Creat<strong>in</strong>g, delet<strong>in</strong>g, suspend<strong>in</strong>g, resum<strong>in</strong>g the thread 3269.10.7 The task process<strong>in</strong>g loop 3269.10.8 The task <strong>in</strong>terface and ma<strong>in</strong> functions 3289.10.9 The poll<strong>in</strong>g command 3309.10.10 Configur<strong>in</strong>g and controll<strong>in</strong>g the background thread 331

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!