Lines Matching refs:mInfo

91     memset( &pSalMenuItem->mInfo, 0, sizeof( MENUITEMINFOW ) );  in CreateMenuItem()
92 pSalMenuItem->mInfo.cbSize = sizeof( MENUITEMINFOW ); in CreateMenuItem()
97 pSalMenuItem->mInfo.fMask = MIIM_TYPE; in CreateMenuItem()
98 pSalMenuItem->mInfo.fType = MFT_SEPARATOR; in CreateMenuItem()
111 pSalMenuItem->mInfo.fMask = MIIM_TYPE | MIIM_STATE | MIIM_ID | MIIM_DATA; in CreateMenuItem()
112 pSalMenuItem->mInfo.fType = MFT_STRING; in CreateMenuItem()
115 pSalMenuItem->mInfo.fType |= MFT_OWNERDRAW; in CreateMenuItem()
116 pSalMenuItem->mInfo.fState = MFS_ENABLED; in CreateMenuItem()
118 pSalMenuItem->mInfo.dwTypeData = (LPWSTR) pSalMenuItem->mText.GetBuffer(); in CreateMenuItem()
119 pSalMenuItem->mInfo.cch = pSalMenuItem->mText.Len(); in CreateMenuItem()
121 pSalMenuItem->mInfo.wID = pItemData->nId; in CreateMenuItem()
122 pSalMenuItem->mInfo.dwItemData = (ULONG_PTR) pSalMenuItem; // user data in CreateMenuItem()
206 if(!::InsertMenuItemW( mhMenu, nPos, TRUE, &pWItem->mInfo )) in InsertItem()
275 if( pWMenuItem->mInfo.hSubMenu ) in SetSubMenu()
277 GetSalData()->mhMenuSet.erase( pWMenuItem->mInfo.hSubMenu ); in SetSubMenu()
278 ::DestroyMenu( pWMenuItem->mInfo.hSubMenu ); in SetSubMenu()
281 pWMenuItem->mInfo.fMask |= MIIM_SUBMENU; in SetSubMenu()
283 pWMenuItem->mInfo.hSubMenu = NULL; in SetSubMenu()
286 pWMenuItem->mInfo.hSubMenu = pWSubMenu->mhMenu; in SetSubMenu()
290 if(!::SetMenuItemInfoW( mhMenu, nPos, TRUE, &pWMenuItem->mInfo ) ) in SetSubMenu()
329 pWItem->mInfo.fMask = MIIM_TYPE | MIIM_DATA; in SetItemText()
330 pWItem->mInfo.fType = MFT_STRING; in SetItemText()
333 pWItem->mInfo.fType |= MFT_OWNERDRAW; in SetItemText()
343 pWItem->mInfo.dwTypeData = (LPWSTR) aStr.GetBuffer(); in SetItemText()
344 pWItem->mInfo.cch = aStr.Len(); in SetItemText()
346 if(!::SetMenuItemInfoW( mhMenu, nPos, TRUE, &pWItem->mInfo )) in SetItemText()
359 pWItem->mInfo.fMask = MIIM_TYPE | MIIM_DATA; in SetAccelerator()
360 pWItem->mInfo.fType = MFT_STRING; in SetAccelerator()
363 pWItem->mInfo.fType |= MFT_OWNERDRAW; in SetAccelerator()
372 pWItem->mInfo.dwTypeData = (LPWSTR) aStr.GetBuffer(); in SetAccelerator()
373 pWItem->mInfo.cch = aStr.Len(); in SetAccelerator()
375 if(!::SetMenuItemInfoW( mhMenu, nPos, TRUE, &pWItem->mInfo )) in SetAccelerator()
397 memset( &mInfo, 0, sizeof( MENUITEMINFOW ) ); in WinSalMenuItem()