Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Attn Boba - SetLayeredWindowAttributes



Permlink Replies: 1 - Last Post: May 22, 2015 7:49 PM Last Post By: Boba ½° Threads: [ Previous | Next ]
Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Attn Boba - SetLayeredWindowAttributes
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 21, 2015 1:52 PM
Attachment tst.bmp (117.2 KB)
Attached is the BMP file I used for testing.

--
Remy Lebeau (TeamB)
Boba ½°

Posts: 73
Registered: 12/19/03
Re: Attn Boba - SetLayeredWindowAttributes
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 22, 2015 7:49 PM   in response to: Remy Lebeau (Te... in response to: Remy Lebeau (Te...
Attachment LayeredWnd.zip (2.5 KB)
<Remy Lebeau (TeamB)> wrote in message news:724506 at forums dot embarcadero dot com...
Attached is the BMP file I used for testing.
--
Remy Lebeau (TeamB)

Thank you, Remy. As you already may know, it is not the bitmap
file that causes my problem (see attached), but rather the way
how Gdiplus::Graphics.DrawImage() works - I mean I just do not
know how it works: using Graphics::TBitmap instead of Gdiplus::
Bitmap causes no trouble. I've tested the attached sample on 3
systems: XPsp2.32, W7.32, W7sp1.64 - 3 failures, but I know at
least one system runs it ok. Also, complaints of this problem
exist on the net for over a decade with some published as late
as 2012. I've spent some time playing with DrawImage that takes
Gdiplus::ImageAttributes* as a parameter and different settings
of Gdiplus::Graphics, but "I still haven't found what I'm looking
for"... I do value your attention to this matter. Boba TC.
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02