From: Nhat Dung on 9 Oct 2009 10:43 Hello, I'm trying to show my application like IE 8 does But when my application got WM_DWMSENDICONICLIVEPREVIEWBITMAP and I call DwmSetIconicLivePreviewBitmap it got it Failed :( I always received '-2147024809' when call DwmSetIconicLivePreviewBitmap I had see the C++ demo but I can't understand it :(, what is a proxy window ? I had make it show in the taskbar like IE8, but I can't make it preview when received DWMSENDICONICLIVEPREVIEWBITMAP Please give me the very basic way to do that! Many Thanks!
From: patrick on 9 Oct 2009 11:37 On 9 oct, 16:43, "Nhat Dung" <nhatd...(a)hotmail.com> wrote: > Hello, > I'm trying to show my application like IE 8 does > But when my application got WM_DWMSENDICONICLIVEPREVIEWBITMAP and I call > DwmSetIconicLivePreviewBitmap it got it Failed :( > I always received '-2147024809' when call DwmSetIconicLivePreviewBitmap -2147024809 is E_INVALIDARG I don't think many people have Windows 7 to test it...
From: Seetharam on 9 Oct 2009 15:27 http://msdn.microsoft.com/en-us/library/dd389410%28VS.85%29.aspx The documentations says: This function is usually called by a window in response to a WM_DWMSENDICONICLIVEPREVIEWBITMAP message. The returned bitmap must not be larger than the client area of the window or frame and must have 32-bit color depth. Have you ensured that you are passing the right kind of bitmap ( 32bpp )? -Seetharam
From: Nhat Dung on 9 Oct 2009 21:01 Hello, win7 can be use trial for ~60 days and I think is easy to get it, I've try on my Pentium4+1Gb ram and it work fast. My bitmap size is smaller than the window size and it a 32bit bitmap I success when call DwmSetIconicThumbnail in the WM_DWMSENDICONICTHUMBNAIL but fail in WM_DWMSENDICONICLIVEPREVIEWBITMAP when call DwmSetIconicLivePreviewBitmap :(
From: Nhat Dung on 10 Oct 2009 17:46 No one try ?
|
Next
|
Last
Pages: 1 2 Prev: how to get list or enumerate files(handles) opened by process, Next: LVM_GETGROUPINFO |