Another way to place images within menu
Places images in the menu
AI
AI சுருக்கம்: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
மூலக் குறியீடு
' Add one form to the project. ' Add a picturebox (Autosize = True) with a bitmap (not an icon!!!), max. 13X13 ' Add a commandbutton with following code: Private Sub Form_Load() hMenu& = GetMenu(Form1.hwnd) hSubMenu& = GetSubMenu(hMenu&, 0) hID& = GetMenuItemID(hSubMenu&, 0) SetMenuItemBitmaps hMenu&, hID&, MF_BITMAP, _ Picture1.Picture, _ Picture1.Picture End Sub
அசல் கருத்துகள் (3)
வேபேக் மெஷினிலிருந்து (Wayback Machine) மீட்டெடுக்கப்பட்டது