i put an image on form with WM_PAINT message.
but the image is, only, showed after resize(for example) the form. why is that? did i forget any style\extended style?
cambalinho 142 Practically a Posting Shark
Recommended Answers
Jump to PostI cannot replicate this. What does your
WndProc
look like?
Jump to PostThe problem with the above code is actually that you LOAD the image every single time the window is painted. This can take time to do. Not only that, you never delete the compatible dc or bitmap that you created and so you are leaking in the above code. It …
All 5 Replies
triumphost 120 Posting Whiz
cambalinho 142 Practically a Posting Shark
triumphost 120 Posting Whiz
cambalinho commented: thanks anyway +3
cambalinho 142 Practically a Posting Shark
cambalinho 142 Practically a Posting Shark
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.