Hi all!
-
Hi All! I'm creating a project and i'd like someone to tell me a way to change multiple controls properties (ie: Enable, Display, Change texts ...) whenever i click on different tree items. Is it ok to use EnumChildWindows? Or is there any other method? Thanks for any reply!
-
Hi All! I'm creating a project and i'd like someone to tell me a way to change multiple controls properties (ie: Enable, Display, Change texts ...) whenever i click on different tree items. Is it ok to use EnumChildWindows? Or is there any other method? Thanks for any reply!
Dennis L wrote:
Is it ok to use EnumChildWindows?
It depends on your requirement. If you want to modify less number of controls you can add the control variables for these controls and use them. EnumChildWindows will enumerate all the child controls which might not be efficient if your dialog has huge number of controls and you need to alter only 4-5. BTW: Use some relevant title for your post.. "Hi All" does not relate to your query in anyway.
Regards, Sandip.