Rick Bull
Sep 24th, 2002, 01:19 PM
I'm making a user control that has a picture property that user can speicify, and I need to be able to create a DC for it so I can use BitBlt etc. How would I go about doing that? I'm using this:
Dim lngDC As Long
lngDC = CreateCompatibleDC(0)
If lngDC > 0 Then
SelectObject lngDC, m_Picture
or something to that effect, and then using ReleaseDC to free the memory, but it's not working properly. If you need more background on my problem I can give it.
Dim lngDC As Long
lngDC = CreateCompatibleDC(0)
If lngDC > 0 Then
SelectObject lngDC, m_Picture
or something to that effect, and then using ReleaseDC to free the memory, but it's not working properly. If you need more background on my problem I can give it.