سؤال

What's the best way to list all the controls that may be on a CDialog based form? The only method I've seen so far is EnumChildWindows() but this involves call backs. Is there no faster way to do this?

هل كانت مفيدة؟

المحلول

Callback will hardly affect the performance. What can affect the performance is your code within the callback. I think you can use EnumChildWindows without any issues.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top