I know how to use the basic controls because its all basicly creating it with CreateWindow() api and Sending messages. How do I use other controls like the ones I made in Visual Basics?
Thanx in advance!
Printable View
I know how to use the basic controls because its all basicly creating it with CreateWindow() api and Sending messages. How do I use other controls like the ones I made in Visual Basics?
Thanx in advance!
Controls other the the standard controls (buttons, edit controls, etc) are contained in libraries. All of the common controls, which includes tree views and status bars, are in comctl32.lib. Link with that, and include commctrl.h. Then use CreateWindow() with the control name.
To find out more about a control, search for it in google and go to the first MSDN site that is listed.
Eg: google: tree view control.
I clicked on the link and searched. Everything there was about how to use the treeview control and how it works. Nothing about how to add the control.
I would like more info on this. Thanx.
Go to http://www.foosyerdoos.fsnet.co.uk/, it has all you need.
EDIT: Url. :p
Get the Win32 Programmer's Reference, it explains how to create controls and include examples. You should be able to download a copy by searching for it in google. It is a 24mb download.
That link is incorrect. Here is the proper link.Quote:
FoosYerDoos.
Kudos to Ken for such a great site.
Doh, was hoping I corrected it before someone saw :D.
Lol you sneak.;)