'always on top' question
- Posted by Judith <camping at flash.net> Feb 03, 2001
- 396 views
Hi, I've been working on the next development step in IDE which is to have the Properties and Tool Box undocked. I worked up a skeleton which has some problems but I thought demonstrated my approach was workable. I've given the Propety and ToolBox windows in createEx WS_EX_TOPMOST so that when undocked they are floating on top of the IDE. Imagine my suprise when I discovered that they are also on top of any Win32Lib dialog windows, such as getOpenFileName or message_box. I can associate the getOpenFileName with Design Window instead of the main IDE window but that doesn't really solve my problem. If the ToolBox, for example, has been moved by the user on top of the Designing window, then when the menu selection "Open File" is clicked, the getOpenFileName dialog is still behind the floating ToolBox. Does anyone know a trick or another style I should use to accomplish having the Property and ToolBox windows on top of IDE but not on top of these other windows? Thanks, Judith