I have created a program using code from http://www.angelfire.com/hi5/delphizeus/index.html
using CreateWindow, etc. (simple form with one button on it)
I also have a second window (with different class, message handler, etc) which is created when i click on a button on the main form.
It shows as expected except it is not modal to the main form.
Anyone know how to make it modal? (i know i could use DIALOG as the method - just want to know if it can be done the way i have gone)