Mouse Buttons in Win32
To respond to special mouse button actions in Win32, we need to register the virtual command actions with the callback loop to detect the special mouse button action. For example, to detect forward and backward mouse button actions, we register the APPCOMMAND_BROWSER_FORWARD and APPCOMMAND_BROWSER_BACKWARD events: Should the WM_APPCOMMAND options not work, you might want to look into the VK_* event codes.