Solved

Menu while typing like in ms products

Posted on 2001-06-21
5
190 Views
Last Modified: 2010-05-02
I am wanting to find a way to have a menu pop up when i type certian text and then . like it does in vb and interdev. I dont want to use 3rd party controls. for example in vb you type app. and the menu omes up that would complete it by what you click on or just press space. I will raise points if this is really hard
0
Comment
Question by:damion69
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 28

Expert Comment

by:AzraSound
ID: 6216767
whats the criteria?
0
 
LVL 5

Expert Comment

by:gbaren
ID: 6217025
Damion,

It's a pretty involved procedure. Lots of API calls. Especially screen coordinate APIs with client to absolute conversions. Polish up your 9th grade Algebra.

In general:

1. Trap the trigger key using KeyPress
2. Get the coordinates of the target area in the control
3. Convert the coordinates to absolute screen coords
4. put up a tiny borderless form with a wall-to-wall listbox at the coordinates translated
5. trap KeyPress in the listbox for exit keys
6. handle the exit based on key trapped

The Devil is in the Details.

gbaren
0
 
LVL 43

Accepted Solution

by:
TimCottee earned 200 total points
ID: 6217520
http://www.mvps.org/vbvision/_samples/PopUp_Listbox_Demo.zip

Is a really good starter on creating this sort of thing. You can take this demo and modify the code to provide exactly the kind of functionality that I think you are looking for.
0
 

Expert Comment

by:nomulap
ID: 6219765
listening.....
0
 
LVL 2

Author Comment

by:damion69
ID: 6385221
Well this is the closest that anyone got to it, and i think i can elaborate from this thank you
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

690 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question