How can i add graphics (pictures, sound, links etc) to a child window?

Can anyone give me the name of the API functions that enables the application to show ,lets say, a picture in a child window?
closed account (z05DSL3A)
Bookmark the following...
https://msdn.microsoft.com/en-us/library/windows/desktop/hh920508(v=vs.85).aspx
Btw, i have a question about child windows. Does a child window need its own windows procedure, or will it use the procedure of the parent window?
Windows' imaging API:
https://msdn.microsoft.com/en-us/library/windows/desktop/ee719902%28v=vs.85%29.aspx

Windows' 2D rendering API:
https://msdn.microsoft.com/en-us/library/windows/desktop/dd370990%28v=vs.85%29.aspx

Windows' multimedia API:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms694197%28v=vs.85%29.aspx

There's no single function to do what you want. You must load an image, convert it to an appropriate format if necessary, and then use a rendering API to draw it in your window.
Btw, i have a question about child windows. Does a child window need its own windows procedure, or will it use the procedure of the parent window?


It depends what window class you specify when you call CreateWindowEx() because window procedure is a property of the window class. If you're talking about actual windows(not controls) then you could use the same procedure or not.
Topic archived. No new replies allowed.