Lines Matching refs:hwnd
76 void SAL_CALL ListboxAddString( HWND hwnd, const OUString& aString ) in ListboxAddString() argument
79 hwnd, CB_ADDSTRING, 0, reinterpret_cast< LPARAM >(aString.getStr( )) ); in ListboxAddString()
88 OUString SAL_CALL ListboxGetString( HWND hwnd, sal_Int32 aPosition ) in ListboxGetString() argument
90 OSL_ASSERT( IsWindow( hwnd ) ); in ListboxGetString()
95 SendMessageW( hwnd, CB_GETLBTEXTLEN, aPosition, 0 ); in ListboxGetString()
107 hwnd, CB_GETLBTEXT, aPosition, in ListboxGetString()
123 void SAL_CALL ListboxAddItem( HWND hwnd, const Any& aItem, const Reference< XInterface >& rXInterfa… in ListboxAddItem() argument
126 OSL_ASSERT( IsWindow( hwnd ) ); in ListboxAddItem()
138 ListboxAddString( hwnd, cbItem ); in ListboxAddItem()
145 void SAL_CALL ListboxAddItems( HWND hwnd, const Any& aItemList, const Reference< XInterface >& rXIn… in ListboxAddItems() argument
148 OSL_ASSERT( IsWindow( hwnd ) ); in ListboxAddItems()
163 ListboxAddString( hwnd, aStringList[i] ); in ListboxAddItems()
171 void SAL_CALL ListboxDeleteItem( HWND hwnd, const Any& aPosition, const Reference< XInterface >& rX… in ListboxDeleteItem() argument
174 OSL_ASSERT( IsWindow( hwnd ) ); in ListboxDeleteItem()
188 LRESULT lRet = SendMessage( hwnd, CB_DELETESTRING, nPos, 0 ); in ListboxDeleteItem()
203 void SAL_CALL ListboxDeleteItems( HWND hwnd, const Any& /*unused*/, const Reference< XInterface >& … in ListboxDeleteItems() argument
206 OSL_ASSERT( IsWindow( hwnd ) ); in ListboxDeleteItems()
214 lRet = SendMessageW( hwnd, CB_DELETESTRING, 0, 0 ); in ListboxDeleteItems()
223 void SAL_CALL ListboxSetSelectedItem( HWND hwnd, const Any& aPosition, const Reference< XInterface … in ListboxSetSelectedItem() argument
226 OSL_ASSERT( IsWindow( hwnd ) ); in ListboxSetSelectedItem()
246 LRESULT lRet = SendMessageW( hwnd, CB_SETCURSEL, nPos, 0 ); in ListboxSetSelectedItem()
259 Any SAL_CALL ListboxGetItems( HWND hwnd ) in ListboxGetItems() argument
261 OSL_ASSERT( IsWindow( hwnd ) ); in ListboxGetItems()
263 LRESULT nItemCount = SendMessageW( hwnd, CB_GETCOUNT, 0, 0 ); in ListboxGetItems()
273 aItemList[i] = ListboxGetString( hwnd, i ); in ListboxGetItems()
287 Any SAL_CALL ListboxGetSelectedItem( HWND hwnd ) in ListboxGetSelectedItem() argument
289 OSL_ASSERT( IsWindow( hwnd ) ); in ListboxGetSelectedItem()
291 LRESULT idxItem = SendMessageW( hwnd, CB_GETCURSEL, 0, 0 ); in ListboxGetSelectedItem()
294 aAny <<= ListboxGetString( hwnd, idxItem ); in ListboxGetSelectedItem()
303 Any SAL_CALL CheckboxGetState( HWND hwnd ) in CheckboxGetState() argument
305 OSL_ASSERT( IsWindow( hwnd ) ); in CheckboxGetState()
307 LRESULT lChkState = SendMessageW( hwnd, BM_GETCHECK, 0, 0 ); in CheckboxGetState()
319 …HWND hwnd, const ::com::sun::star::uno::Any& aState, const Reference< XInterface >& rXInterface, s… in CheckboxSetState() argument
322 OSL_ASSERT( IsWindow( hwnd ) ); in CheckboxSetState()
333 SendMessageW( hwnd, BM_SETCHECK, wParam, 0 ); in CheckboxSetState()