|
-
Nov 24th, 2006, 11:13 PM
#1
Thread Starter
Addicted Member
[RESOLVED] Problem with picturebox hdc
In order to make some visual enhacements into a program I decided to load and stretch a picture into a picturebox directly from memory (using different APIs like BitBlt, StretchBlt, CreateCompatibleDC, etc). However when doing this the picture is loaded on top of the labels I've placed over the picturebox.
For example: I have a label with caption "HELLO" over the picturebox, it's shown correctly both in the IDE, if I don't load any picture into the picbox, or I load one directly from the IDE. When I load a picture into the picbox using the APIs and its hDc property the label stays behind the picture.
How can I fix this without changing the zorder of the label? like some sort of API or message that forces the picture to show at the back of any control.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|