I need away to find this objects
hdc...
Private SPics(15) As New StdPicture
I store pics in there and I need the
hdc of it.
thanks
Printable View
I need away to find this objects
hdc...
Private SPics(15) As New StdPicture
I store pics in there and I need the
hdc of it.
thanks
hDC is a device context, that means you have to have something painted on the screen in order for you to have an hDC. In your case, you store your pictures in the memory, so all you can have is a handle to the image itself, using Handle property.
Code:Dim pic As StdPicture
Set pic = LoadPicture("C:\MyPicture.bmp")
MsgBox "Picture Handle: " & pic.Handle