Re: Floating Child Windows
- Posted by Don <eunexus at yahoo.com> Aug 06, 2004
- 409 views
> Yeah, usually they custom draw those things. Like you found though the > itty-bitty 'x' buttons (WS_EX_TOOLWINDOW) are true tool windows. I really > havent had much chance to play around with them as I dont use em much at > all in any of my personal code. Oh yeah I forgot to add on to my last reply... If you are using a "normal" window (ie not drawn yourself) and you want the window to stay active, you need to handle the WM_NCACTIVATE message... if Msg = WM_NCACTIVATE then return( w32Func(xDefWindowProc,{hwnd,WM_NCACTIVATE,TRUE,lParam}) ) end if Don Phillips - aka Graebel National Instruments mailto: eunexus @ yahoo.com