#MIM_BACKGROUND = 2 Structure myMENUINFO cbSize.l fMask.l dwStyle.l cyMax.l hbrBack.l dwContextHelpId.l dwMenuData.l EndStructure hMenuBrushBG = CreateSolidBrush_(RGB(255,255,0)) With mi.myMENUINFO \cbSize = SizeOf(myMENUINFO) \fMask = #MIM_BACKGROUND \hbrBack = hMenuBrushBG EndWith If OpenWindow(0,0,0,500,250,"Window",#PB_Window_SystemMenu|#PB_Window_ScreenCentered) If CreateMenu(0, WindowID(0)) MenuTitle("Menü 1") MenuItem(1,"Item 1") MenuTitle("Menü 2") MenuItem(2,"Item 2") EndIf SetMenuInfo_(MenuID(0), mi) DrawMenuBar_(WindowID(0)) Repeat EventID=WaitWindowEvent() If EventID=#PB_Event_CloseWindow DeleteObject_(hMenuBrushBG) Quit=1 EndIf Until Quit=1 EndIf