Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Supress F1 help launching

Status
Not open for further replies.

nimaata

Programmer
Jan 3, 2005
27
US
im trying to supress the launching of help files when F1 is pressed, but i havent succedded, this is what i have so far, any ideas?

Code:
BOOL CrenamefileDlg::PreTranslateMessage(MSG* pMsg)
{
     if((pMsg->message == WM_KEYDOWN) && (pMsg->wParam == VK_F1))
	 {
         NULL;
	 }
...
}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top