OK my friend is building a chat program to get him started with Winsock. He asked me:

how could i make a form focased all the time so that you can't go back to the main form unless you press ok (for example look at mirc when you press options from the menu you can't escape it untill you press ok)

and the other thing how to make a form under another form(for example the form that you right in in a channel when you minmize it is still in the main chanel)

I know there's the prioraty window joby, but how do you work it i can't remember
Anyone?