|
-
May 23rd, 1999, 04:21 PM
#4
Re: Alt key
here is an exmaple in a treectrl
void CServiceTreeVw::OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags)
{
CTreeCtrlEx& m_treeCtrl = (CTreeCtrlEx &) GetTreeCtrl();
m_tSel = m_treeCtrl.GetSelectedItem();
if ( GetAsyncKeyState(VK_ALT) < 0 && nChar == VK_F)
{
//AfxMessageBox("ALT+ F");
return;
}
...etc
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|