Would it be possible to add a parameter to the form open functions (FRMxxx_SHOW) after the hWnd of the parent which could then be available in the WM_CREATE message. The parameter would only need to be a LONG type and could be passed to WM_CREATE via it's LPARAM (see API DialogBoxParam). I would understand if we needed extra functions for this (FRMxxx_SHOWPARAM) etc for each form. It would then make it very easy to pass a pointer to a structure which the form could then update. This makes using Modal Forms from function calls much easier. At present, I am not sure how I could achieve this.
What I am trying to do is something a bit like the FF_OPEFILEDIALOG function (only could have more than just a single bit of information).
I may be missing something, but it does not look like this kind of thing is possible in FF.
That is a very good idea. I will have to add it as an optional parameter in order to not to break existing code.