The problem with WS_EX_TOPMOST is that it will make the window "globally" always on top, menaing it will cover all non-always-on-top windows on the system but i only want it to cover the windows of itw own process.
> The problem with computers is that they do what you tell them to do and not what you want them to do. < > Life: great graphics, but the gameplay sux. <
I'd like to be able to directly support exporting various reports from my MFC application. The reports are drawn to a device context using standard GDI techniques, overloading OnDraw in a view.
Ideally, there'd be a library that I could just drop in that provides a hDc that I'd draw to in the usual manner. This library would be either available under a copy-centre licence (BSD/MIT/COL) or would be commercially available.
Look at the function "bool wxPdfDocument::Image". It ought to be possible to export my GDI data to a WMF file ( see http://en.wikipedia.org/wiki/Windows_Metafile[^] ), perhaps to a temp directory, and open that using wxPdfDocument afterwards.
I want to implement drawing of standard listbox, treeview etc. to a layered window. I know there is a method with “fake” layered window under normal one but I need more flexible control on incorporation of standard controls to final image of a layered window.
I think there may be some hidden window with controls I need and whose drawing stuff can be redirected to some bitmap. If it's not possible with the hidden window then what about window that is out of screen (e.g. x = -2000, y = -2000)?
Last Visit: 31-Dec-99 19:00 Last Update: 2-Dec-23 5:53