Mike,
- Function key F6 is not trapped.
Can you explain this one a bit further? You mean Wine doesn't forward it to the app?
The function looks like this:
void CecsView::OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags) { . . . if (113 == nChar) // F2, add component OnPlaceComp(); else if(114 == nChar) // F3, add wire OnDrawWires(); else if(115 == nChar) // F4, place net OnPlaceNet(); else if((116 == nChar) || (46 == nChar)) // F5(or delete key), delete stuff OnDeleteStuff(); else if(117 == nChar) // F6, duplicate stuff OnDuplicate(); else if(118 == nChar) // F7, move stuff OnMoveStuff(); else if(119 == nChar) // F8, drag stuff OnDragStuff(); else if(120 == nChar) // F9, undo HistoryUndoStep(); . . . CScrollView::OnKeyUp(nChar, nRepCnt, nFlags); }
Pressing F2, F3, F4, F5, F7, F8 and F9 all go to the right place. Nothing happens when F6 is pressed. Why is that?