MCPcopy Create free account
hub / github.com/Squirrel/Squirrel.Windows / AddBitmap

Method AddBitmap

src/Setup/wtl90/atlctrls.h:5862–5870  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5860 }
5861
5862 int AddBitmap(int nNumButtons, UINT nBitmapID)
5863 {
5864 ATLASSERT(::IsWindow(m_hWnd));
5865 TBADDBITMAP tbab = { 0 };
5866 tbab.hInst = ModuleHelper::GetResourceInstance();
5867 ATLASSERT(tbab.hInst != NULL);
5868 tbab.nID = nBitmapID;
5869 return (int)::SendMessage(m_hWnd, TB_ADDBITMAP, (WPARAM)nNumButtons, (LPARAM)&tbab);
5870 }
5871
5872 int AddBitmap(int nNumButtons, HBITMAP hBitmap)
5873 {

Callers

nothing calls this directly

Calls 1

GetResourceInstanceFunction · 0.85

Tested by

no test coverage detected