Hi there,
I'm writing a home made Business Intelligence application. It will be a Windows-based program written with C++. Something I can log into, view data in graphs, maps, etc.
I only started C++ a few months ago and I started writing a basic wrapper around the Windows API so I can reuse it more easily. I've got to the point where I'm starting to create Control objects to be added to the Forms. One Control I'm now trying to create is an Image Control.
I want the Image to control to also receive events through it's own WndProc(). I just finished making a TextBox control, where I had to subclass it so I could raise the OnKeyDown(...) events, etc. It was using the Windows CreateWindowEx(. "EDIT" ..).
My question is what type of window should I be using to make an image control. Could I create a "STATIC" control and subclass it. I want to be able to use SetWindowPos().. on it and have the object move like any other regular control (i.e: TextBox).
Thanks!