Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
If OSMODE is 0 (no object snaps set) and I use:
PromptPointOptions ppo = new PromptPointOptions("\nClick point: ");
ppo.AllowArbitraryInput = false;
ppo.AllowNone = false;
PromptPointResult ppr = ed.GetPoint(ppo);
and the user hits "F3" the prompt status is OK and the result is a point3d somewhere
If OSMODE is anything > 0 getpoint waits and F3 produces <Osnapoff> or <Osnapon>.
I'd like to catch the "F3" when OSMODE is 0. Do I have to use PreTranslateMessage or AppMessageFilter? I can set OSMODE to 1 (Endpoint) and reset it to 0 when my picks are finished, but I'd rather handle the F3.
Solved! Go to Solution.