The MASM Forum Archive 2004 to 2012

Project Support Forums => MASM32 => WINDOWS.INC Project => Topic started by: xandaz on July 12, 2009, 09:37:02 PM

Title: window classes
Post by: xandaz on July 12, 2009, 09:37:02 PM
   Hi there! Why does WC_TREEVIEW Class doesn't work but SysTreeView32? And what are the remaining classes? Meaning tab controls and etc? Can someone help me out? Where do i find those class names? i've been looking in windows.inc but nothing.
thx
Title: Re: window classes
Post by: ramguru on July 12, 2009, 09:45:24 PM
WC_TREEVIEW is just EQU something.
Meaning not the original name.
Here is complete list of classes:

"COMBOBOX"
"BUTTON"
"EDIT"
"STATIC"
"LISTBOX"
"SCROLLBAR"

"SysAnimate32"
"SysDateTimePick32"
"SysHeader32"
"SysListView32"
"SysMonthCal32"
"SysPager"
"SysTabControl32"
"SysTreeView32"
"msctls_hotkey32"
"msctls_progress32"
"msctls_statusbar32"
"msctls_trackbar32"
"msctls_updown32"
"ComboBoxEx32"
"ReBarWindow32"
"ToolbarWindow32"
"RichEdit20A"
Title: Re: window classes
Post by: xandaz on July 12, 2009, 10:11:04 PM
  Hey, that was quick. Thanks for the help man? What's the file that contains those names? can you help out? thx
Title: Re: window classes
Post by: ToutEnMasm on July 27, 2009, 01:13:36 PM

most of them are in the commctrl.h (or .sdk for translated header files)
Quote
WC_TREEVIEWA   equ   <"SysTreeView32">
WC_TREEVIEWW   equ   <"SysTreeView32">
IFDEF UNICODE
WC_TREEVIEW   equ   < WC_TREEVIEWW>
ELSE
WC_TREEVIEW   equ   < WC_TREEVIEWA>
ENDIF
and can be use like that
Quote
treeviewclass db WC_TREEVIEW,0
or
treeviewclass db "SysTreeView32",0







Title: Re: window classes
Post by: xandaz on October 20, 2009, 05:30:40 PM
   Thanks ToutEnMasm. I appreciate it. I look for that a long long time and did not find it. In Comctl32 then .... thanks