Is this possible?
-
The customer requests an application that draws a grid and some data over the entire screen, including all other applications and the task bar. This grid is supposed to be fully transparant, meaning that you can both see and manipulate windows under it. I have never seen anything like it before, and wonder if this can be done at all... Does anyone have a suggestion? :confused: Thanks /moliate
-
The customer requests an application that draws a grid and some data over the entire screen, including all other applications and the task bar. This grid is supposed to be fully transparant, meaning that you can both see and manipulate windows under it. I have never seen anything like it before, and wonder if this can be done at all... Does anyone have a suggestion? :confused: Thanks /moliate
If you use to implement ActiveX control with ATL,if you uncheck
Opaque
in "Miscellaneous" tab,then it will be transparat,for MFC I'm not sure but in your ONDraw function you do it and does not draw some part. Mazy "So,so you think you can tell, Heaven from Hell, Blue skies from pain,... How I wish,how I wish you were here."
Wish You Were Here-Pink Floyd-1975 -
If you use to implement ActiveX control with ATL,if you uncheck
Opaque
in "Miscellaneous" tab,then it will be transparat,for MFC I'm not sure but in your ONDraw function you do it and does not draw some part. Mazy "So,so you think you can tell, Heaven from Hell, Blue skies from pain,... How I wish,how I wish you were here."
Wish You Were Here-Pink Floyd-1975Thanks, but the problem is mainly how to forward messages to the underlaying windows. Can I detach my windows input queue from the raw input thread? Also, simply setting a dialog as transparant, does not seem to work the way I want it to, as it is a child of the desktop and does not update other windows underneath. /moliate
-
The customer requests an application that draws a grid and some data over the entire screen, including all other applications and the task bar. This grid is supposed to be fully transparant, meaning that you can both see and manipulate windows under it. I have never seen anything like it before, and wonder if this can be done at all... Does anyone have a suggestion? :confused: Thanks /moliate
If you are using Win2k or above, you can create a window with the style WS_EX_TOPMOST (keep above all other windows), WS_EX_LAYERED (for transparency/translucency) and WS_TRANSPARENT (causes input to be passed through). Check out the layered window API to learn how to draw and update such a window. If you are using Win9x, you will have to do much more work. Using window regions is one possibility... IMHO, this seems a strange way of presenting information... may i ask what this is for? farewell goodnight last one out turn out the lights
Smashing Pumpkins, Tales of a Scorched Earth
-
If you are using Win2k or above, you can create a window with the style WS_EX_TOPMOST (keep above all other windows), WS_EX_LAYERED (for transparency/translucency) and WS_TRANSPARENT (causes input to be passed through). Check out the layered window API to learn how to draw and update such a window. If you are using Win9x, you will have to do much more work. Using window regions is one possibility... IMHO, this seems a strange way of presenting information... may i ask what this is for? farewell goodnight last one out turn out the lights
Smashing Pumpkins, Tales of a Scorched Earth
Thanks, I'll take a look at that... Anyway, the application is an user interaction logger. By keeping track of mouse and eye movement along with window positions, cognitive scientists want to study how users interact with different programs. The transparant window is for the playback, where some statistical data will be displayed. /moliate