* Add appropriate has_title = False to those classes whose text should not be treated as a title

This commit is contained in:
markm 2009-03-15 18:47:00 +00:00
parent cc891dcaf2
commit 9107e8b089
2 changed files with 10 additions and 0 deletions

@ -2395,6 +2395,7 @@ class ComboBoxExWrapper(HwndWrapper.HwndWrapper):
friendlyclassname = "ComboBoxEx"
windowclasses = ["ComboBoxEx32", ]
has_title = False
#====================================================================
@ -2403,6 +2404,7 @@ class DateTimePickerWrapper(HwndWrapper.HwndWrapper):
friendlyclassname = "DateTimePicker"
windowclasses = ["SysDateTimePick32", ]
has_title = False
#====================================================================
@ -2411,6 +2413,7 @@ class HotkeyWrapper(HwndWrapper.HwndWrapper):
friendlyclassname = "Hotkey"
windowclasses = ["msctls_hotkey32", ]
has_title = False
#====================================================================
@ -2419,6 +2422,7 @@ class IPAddressWrapper(HwndWrapper.HwndWrapper):
friendlyclassname = "IPAddress"
windowclasses = ["SysIPAddress32", ]
has_title = False
#====================================================================
@ -2427,6 +2431,7 @@ class CalendarWrapper(HwndWrapper.HwndWrapper):
friendlyclassname = "Calendar"
windowclasses = ["SysMonthCal32", ]
has_title = False
#====================================================================
@ -2451,6 +2456,7 @@ class ProgressWrapper(HwndWrapper.HwndWrapper):
friendlyclassname = "Progress"
windowclasses = ["msctls_progress", "msctls_progress32", ]
has_title = False
def GetPosition(self):

@ -231,6 +231,7 @@ class ComboBoxWrapper(HwndWrapper.HwndWrapper):
"ComboBox",
"WindowsForms\d*\.COMBOBOX\..*",
"TComboBox"]
has_title = False
#-----------------------------------------------------------
def __init__(self, hwnd):
@ -382,6 +383,7 @@ class ListBoxWrapper(HwndWrapper.HwndWrapper):
"ThunderListBox",
"ThunderFileListBox",
"TListBox",]
has_title = False
#-----------------------------------------------------------
def __init__(self, hwnd):
@ -543,6 +545,7 @@ class EditWrapper(HwndWrapper.HwndWrapper):
"ThunderTextBox",
"ThunderRT6TextBox",
]
has_title = False
#-----------------------------------------------------------
def __init__(self, hwnd):
@ -802,6 +805,7 @@ class PopupMenuWrapper(HwndWrapper.HwndWrapper):
friendlyclassname = "PopupMenu"
windowclasses = ["#32768", ]
has_title = False
def IsDialog(self):
"Return whether it is a dialog"