I've got vc++ and I would like to create my own control. but I cant find any information on the web for my ideas. is there anybody how has done this or has information about creating controls?
martijn
Printable View
I've got vc++ and I would like to create my own control. but I cant find any information on the web for my ideas. is there anybody how has done this or has information about creating controls?
martijn
Very complicated, and I don't think you could integrate it into VC++'s resource editor. But basically you would have to write a dll that registers a window class and provides a wndproc that draws it, updates it and handles special messages. The class would need to have the style CS_GLOBALCLASS, but I don't know more. If you are not very good this is way over your head.
thanx for your reply, but I'm a newby with c++. but I lern much with examples, so I was hoping that someone had an example.
thanx anyway!
martijn
Then you should first learn how to use windows and especially the commmon controls before you attempt to write your own.