Thanks,
Hiusing
To process these buttons command your app will need to handle the
appropriate WM_APPCOMMAND messages.
The documentation is on the MS Web-Site at is quite clear:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/keybi
npt_8sbo.asp
Here a brief bit of code I put in a Win32 app to demonstrate for you. As
per the documentation this code only works for Win ME or later Win2k, so be
sure to #define _WIN32_WINNT 0x500 before including windows.h
case WM_APPCOMMAND:
{
int cmd = GET_APPCOMMAND_LPARAM(lParam); // to crack the value of
the LPARAM
if (cmd == APPCOMMAND_BROWSER_BACKWARD)
::MessageBox (NULL, "Back button pressed", NULL, MB_OK);
if (cmd == APPCOMMAND_BROWSER_FORWARD)
::MessageBox (NULL, "Forward button pressed", NULL, MB_OK);
}
break;
Hope this helps!
Robola;
Thanks,
Hiu Sing Ngai
"Robola" <xmar...@adrastea.co.uk> wrote in message
news:a9cgom$glp$1...@helle.btinternet.com...