MCPcopy Create free account
hub / github.com/SOUI2/soui / Attach

Method Attach

SOUI/src/helper/SMenu.cpp:533–542  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

531}
532
533BOOL SMenu::Attach(HMENU hMenu)
534{
535 SASSERT(m_hMenu == NULL);
536 SMenuAttr * pMenuAttr = GetMenuAttr(hMenu);
537 if(IsBadReadPtr(pMenuAttr,sizeof(SMenuAttr)))
538 return FALSE;
539 m_hMenu = hMenu;
540 m_bAttached = true;
541 return TRUE;
542}
543
544HMENU SMenu::Detach()
545{

Callers 15

SApplicationMethod · 0.45
SListViewMethod · 0.45
SMCListViewMethod · 0.45
STabCtrlMethod · 0.45
STileViewMethod · 0.45
STreeViewMethod · 0.45
OnAttrIndentMethod · 0.45
OnInitFinishedMethod · 0.45
SWindowMethod · 0.45
GetAccessibleMethod · 0.45
GetAccProxyMethod · 0.45
SHostWndMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected