Click to See Complete Forum and Search --> : Virtual Keys not getting to OnChar


nemesis
August 23rd, 2001, 05:54 AM
Hello

I have a CView derived class and am trying to recreate a simple text editor. I am trying to trap arrow keys, through case VK_LEFT: etc. in the OnChar() method. That didn't work and upon further investigation I realized that NO virtual keys (home, end, pgdn all the arrows, etc) are reaching the OnChar method. Does anyone know how to fix this or what I need to do?

Clearcode
August 23rd, 2001, 06:46 AM
Hi,

I have a feeling this question should go in the C++ board, as you probably won't get many answers from the VB forum.

HTH,
Duncan



-------------------------------------------------
Ex. Datis: Duncan Jones
Merrion Computing Ltd
http://www.merrioncomputing.com
Check out the new downloads - ImageMap.ocx is the VB control that emulates an HTML image map, EventVB.OCX for adding new events to your VB form and adding System Tray support simply, MCL Hotkey for implemenmting system-wide hotkeys in your application...all with source code included.