Advertisement
C_Volume2 Windows API Call/ Explanation #79095

Bold Menu Item With Win32 API's

Makes a menu item bold (for defualt items) by using Windows API's.

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.

ซอร์สโค้ด
original-source
Public Sub SetBold(frmBold As Form, iMenuIndex As Long, iItemIndex As Long)
Dim hMnu As Long, hSubMnu As Long
hMnu = GetMenu(frmBold.hwnd)
hSubMnu = GetSubMenu(hMnu, iMenuIndex)
Call SetMenuDefaultItem(hSubMnu, iItemIndex, 1&)
End Sub
ความคิดเห็นดั้งเดิม (3)
กู้คืนจาก Wayback Machine