|
-
Sep 8th, 2000, 05:43 AM
#1
Thread Starter
Hyperactive Member
Can anyone tell me where can I find information regarding the comdlg32.dll. I want to create listviews and treeviews using api calls. Anyone knows how to do that?
-
Sep 8th, 2000, 02:34 PM
#2
Monday Morning Lunatic
You don't need to use the comdlg32.dll library directly. Simply use the CreateWindowEx API function, using class types of:
SysTreeView32
SysHeader32
SysListView32
SysTabControl32
and a few more, documented in the Platform SDK.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Sep 8th, 2000, 02:52 PM
#3
Some controls, however, require you to register the class first. (using RegisterClassEx)
-
Sep 9th, 2000, 11:08 AM
#4
Monday Morning Lunatic
Send the LVM_INSERTITEM message. This link explains all the necessary messages/types: http://msdn.microsoft.com/library/de...w/ListView.htm
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Sep 9th, 2000, 02:16 PM
#5
Thread Starter
Hyperactive Member
I already tried that, the item is actually added. But I dont know where to set the item text from, because there is no string variable in the listview item details type. Anyone tried this before?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|