Valhalla Legends Archive

Programming => General Programming => C/C++ Programming => Topic started by: TheNewOne on May 11, 2005, 04:48 PM

Title: WinApi -> Adding a List To a Main Window
Post by: TheNewOne on May 11, 2005, 04:48 PM
Ok So far ive did research and implemented a Main window, a menu, a richedit. Which all had lots of data on and i found with google. But now I wanted to add a list type control to my Window and all i can find is ways to do this with mfc. Anyone know how this would be accomplished?
Title: Re: WinApi -> Adding a List To a Main Window
Post by: MyndFyre on May 11, 2005, 06:46 PM
CreateWindowEx (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/windows/windowreference/windowfunctions/createwindowex.asp)

Window classes (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/windowclasses/aboutwindow.asp) (will give you the window class parameter for creating the ListBox).