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!
This is a discussion on Controls? within the Windows Programming forums, part of the Platform Specific Boards category; I know how to use the basic controls because its all basicly creating it with CreateWindow() api and Sending messages. ...
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.
benforbes@optusnet.com.au
Microsoft Visual Studio .NET 2003 Enterprise Architect
Windows XP Pro
Code Tags
Programming FAQ
Tutorials
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.![]()
Last edited by Mithoric; 11-25-2003 at 11:40 PM.
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.
benforbes@optusnet.com.au
Microsoft Visual Studio .NET 2003 Enterprise Architect
Windows XP Pro
Code Tags
Programming FAQ
Tutorials
That link is incorrect. Here is the proper link.Originally posted by Mithoric
Go to http://foosyerdoos.co.uk, it has all you need.
FoosYerDoos.
Kudos to Ken for such a great site.
benforbes@optusnet.com.au
Microsoft Visual Studio .NET 2003 Enterprise Architect
Windows XP Pro
Code Tags
Programming FAQ
Tutorials
Lol you sneak.![]()
benforbes@optusnet.com.au
Microsoft Visual Studio .NET 2003 Enterprise Architect
Windows XP Pro
Code Tags
Programming FAQ
Tutorials