Image

Imagelighth7015 wrote in Imagecpp 😡frustrated

Listens: Disturbed - Prayer

aack...

;does anybody have any insight as to why this bit of code doesn't work with a CChildFrame class?
CChildFrame::CChildFrame()

if (CMenu* pSysMenu = GetSystemMenu(FALSE))

int pMenuPos = GetMenuItemCount(this->GetWindow);
pSysMenu->InsertMenu(pMenuPos++, MF_STRING | MF_BYPOSITION, pSysMenu, MF_SEPARATOR);
pSysMenu->InsertMenu(pMenuPos++, MF_STRING | MF_BYPOSITION, pSysMenu, "test");