showDialog() - what's going on when it is invoked?
Posted on 2004-09-01
I have been using Forms - and therefore .showDialog() - (in J++ - although I'm pretty sure this is just WinAPI stuff so applies equally from C++ or VBasic) for a long time but they seem to (mis)behave in seemingly strange ways from time to time - refusing to become visible once hidden, blocking when they shouldnt etc.
To shed light on this I would like to understand what happens (at a lower level) when showDialog() is invoked.
Also whats the difference between showDialog() and showDialog(anotherForm) and show() exactly.
A clear explaination would be appreciated - but also references to online sources (although I have yet to find anything that explains this clearly)