Skip to content
⌘ NSIS Forum Archive

give handle MDI forms (child forms)

5 posts

r2du-soft#

give handle MDI forms (child forms)

hi
in a application in a form load several child forms...
i how can give handle child forms?
Anders#
I saw you just asked a similar question in another thread but there you talked about Calculator. Without actually telling us which application you want to find something in I'm not even going to attempt to help you.
r2du-soft#
Originally Posted by Anders View Post
I saw you just asked a similar question in another thread but there you talked about Calculator. Without actually telling us which application you want to find something in I'm not even going to attempt to help you.
Mr Anders
I don't work in a special program,I just want the source code that can work in all program,e.g. now i want test its in a VB6 and C# application (i wrote them)
Anders#
First you call FindWindow to find the main window and the call EnumChildWindows with the system plugin. For every child window you find you call GetClassName to see if it is the special MDI class name.

It should be possible to do this without the system plugin, just using FindWindow to find the main window and then the children.

Once you find these windows, what are you actually going to do with them?
T.Slappy#
Maybe you should be more specific why you need such feature.

NSIS (and developers here on forum) do not support any malicious installers!