Re: Calling a function via Key-stroke (eg Ctrl + S)
- From: "Matthias" <ichwarteaufmail@xxxxxxxx>
- Date: 6 Jun 2005 23:47:17 -0700
Hi Hamish,
override PreTranslateMessage and then:
if (pMsg->message == WM_KEYDOWN)
{
if (pMsg->wParam == VK_F9) //for F9
YourFct();
}
Regards
Matthias
.
- References:
- Calling a function via Key-stroke (eg Ctrl + S)
- From: Hamish
- Calling a function via Key-stroke (eg Ctrl + S)
- Prev by Date: Re: PB with OCX control integrated in Dialog in a DLL MFC project
- Next by Date: Re: HTTP Client: MFC Sockets or MFC WinInet?
- Previous by thread: Re: Calling a function via Key-stroke (eg Ctrl + S)
- Next by thread: Re: Calling a function via Key-stroke (eg Ctrl + S)
- Index(es):
Relevant Pages
|