Started by Paul Squires, December 28, 2021, 12:16:12 PM
Quote from: Paul Squires on December 31, 2021, 03:24:17 PMActually adding keyboard navigation support has been relatively easy given that the individual menu items are simple Label controls. Just needed to set WS_GROUP style for the first label on the menu and then use GetNextDlgGroupItem() to iterate the list. that Win32 api function takes care of bypassing disabled controls (eg. separator bars) and then returns the hWnd of the next menu item that needs to be highlighted. It works in forward and reverse and even loops around the start or end of the list.