i learn masm not a long time,i see some program has 'syslistview32',then it show a list control,i want to know ,where has a list of such as this control name <syslistview,systreeview..>,thanks
Posted on 2002-07-18 11:11:26 by bgcq
have a look in the common controls section of the platform sdk
Posted on 2002-07-18 11:16:16 by Kudos
Is this what you are looking for?



ToolbarWindow32 Toolbar
tooltips_class32 Tooltip
msctls_statusbar32 Statusbar
SysTreeView32 Treeview
SysListView32 Listview
SysAnimate32 Animation
SysHeader32 Header
msctls_hotkey32 Hot-key
msctls_progress32 Progress bar
RICHEDIT Richedit
msctls_updown32 Up-down
SysTabControl32 Tab


Posted on 2002-07-18 11:26:12 by bazik
thanks,i now want to put the text on the column in listview,i only put it on the first column,at second column,the text always blink continue,the code is following:

pnmlv is lparam,i response the LVN_GETDISPINFO msg in WM_NOTIFY msg.
mov ebx, pnmlv
or (LV_DISPINFO ptr ).item.imask, LVIF_DI_SETITEM
mov (LV_DISPINFO ptr ).item.cchTextMax, 255
mov (LV_DISPINFO ptr ).item.pszText, offset szColDate
Posted on 2002-07-20 05:29:18 by bgcq
I have another problem related to SysListView. Some time ago I wanted to create a listbox that contains filenames specified by the string Filename (see below). But what I got is an empty listbox. So I checked the value in eax returned by the SendMessage-function. It was on an equality with "invalide parameter". But I don't know what should be wrong in these lines:



Filename db "c:\windows\system\*.dll"
CLASS_Listbox db "SysListView32"

SendMessage, hListbox, LB_DIR, NULL, ADDR Filename
SendMessage, hListbox, LB_DIR, DLL_ARCHIVE, ADDR Filename




Maybe someone of you has some experiences with this function ?
Posted on 2002-07-20 15:12:12 by Marwin
hmm, in both strings you forgot the terminating zeroes:



Filename db "c:\windows\system\*.dll",0
CLASS_Listbox db "SysListView32",0


this is how it should look like..

bye
Posted on 2002-07-20 15:31:47 by NOP-erator

I have another problem related to SysListView. Some time ago I wanted to create a listbox that contains filenames specified by the string Filename (see below). But what I got is an empty listbox. So I checked the value in eax returned by the SendMessage-function. It was on an equality with "invalide parameter". But I don't know what should be wrong in these lines:



Filename db "c:\windows\system\*.dll"
CLASS_Listbox db "SysListView32"

SendMessage, hListbox, LB_DIR, NULL, ADDR Filename
SendMessage, hListbox, LB_DIR, DLL_ARCHIVE, ADDR Filename




Maybe someone of you has some experiences with this function ?


You can't use Listbox messages with a Listview.
For adding files to the Listview, you must search them with FindFirstFile/FindNextFile and add the strings to the LV.
For more Information, search the forum or look in our FAQ (links in my signature)
Posted on 2002-07-20 15:46:20 by bazik
To NOP-erator:
Yeah, it's a shame! I see it. Huh :rolleyes:

To bAZik:
The program "Listview" in the masm32-directory "example7\listview" uses the same way like my proggie. And there's no error. Did I have to use FindFile/Next in every case?

Mfg, Marwin
Posted on 2002-07-22 10:57:11 by Marwin



To bAZik:
The program "Listview" in the masm32-directory "example7\listview" uses the same way like my proggie. And there's no error. Did I have to use FindFile/Next in every case?

Mfg, Marwin


I just looked at the source, and it doesn use LB_DIR style.
It uses FindFirstFile/FindNextFile.

And please stop using this shitty colors.
Posted on 2002-07-22 11:16:30 by bazik
Much post are looking boring! So, I want to make MY posts friendlier!
Posted on 2002-07-23 11:59:12 by Marwin
Ok, I've just read my thread "Much bigger C++-programs". I wont use colors if they are not necessary. Sorry
Posted on 2002-07-23 12:06:05 by Marwin
I've found something appropriate:
Posted on 2002-07-25 12:34:17 by Marwin
:grin: :grin: Marwin :grin: :grin:
Posted on 2002-07-25 19:05:18 by bitRAKE

:grin: :grin: Marwin :grin: :grin:
Posted on 2002-07-26 09:15:45 by roticv
at least his signature is pretty colorful :)
Posted on 2002-07-26 09:17:46 by NOP-erator
So, should I commit suicide, because some members can't stand colors? ;)
Posted on 2002-07-26 10:40:10 by Marwin