Child window

Started by Marc Van Cauwenberghe, April 12, 2004, 04:56:38 AM

Previous topic - Next topic

Marc Van Cauwenberghe

Hello,

could anyone please help with this probably stupid question:

I want to open a second window onto the first one that has no windowedge and sticks to the parent. I have done this in powerbasic but don't seem to get it done in firefly.

thanks for any help.

Marc

TechSupport

For the second window, I assume that you would need to adjust the WindowStyles to select %WS_CHILD, and deselect the styles for %WS_THICKFRAME, %WS_CAPTION and the extended style %WS_EX_WINDOWEDGE.

You would then show the second window as modeless during the %WM_CREATE message of the first window.

Form2_Show hwndForm, 0

This is off the top of my head, but I think it should work.