Child windows getting covered up.

Everything else that doesn't fall into one of the other PB categories.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by NIN.

How can I force a child window to render on top of the parent? I tried the TOPMOST constant with SetWindowPos_(), and I can do it on normal windows, but when I add a child window to a BLitz app, it gets covered up by the Blitz win...I can only see it flicker a little bit when I move the parent window.

Anything special about this I should know? Thanks.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by fred.

You can put the WS_CLIPCHILDREN flag on the main window. But it's may be another problem (Blitz probably use a windowed DX window, which has priority over all the other).

Fred - AlphaSND
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by NIN.

Interesting...as we saw in the setwindowlong_ post, we can change a Blitz window, so I can add that flag, but it being a DX window might stop it from working. I'll try it and let you know what I find.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by VPureBasic.

Hi Nin,

Did you tried the lib I wrote for anyone who wants make child window? Maybe this will help!
If you didn't, take look Paul's site... windowex.zip

Roger
Post Reply