Solved

How to add a textbox to a contex menuitem?

Posted on 2004-09-13
2
320 Views
Last Modified: 2008-02-01
Hi,
I need to design a context menu exactly like the table datasheet shortcut menu in MS Access. When right-clicking on a datagrid column I would like the context menu to show some menu items including a menuitem as follows: Filter for: _________ (the line here should actually be s a textbox where the user types a filter criteria.
I already know how to add icons to a menuitem with the OwnerDreaw, but I did not figure out how to add a textbox to the item.
Thanks,
Sima
0
Comment
Question by:harmony1
2 Comments
 
LVL 19

Accepted Solution

by:
arif_eqbal earned 250 total points
ID: 12042335
Not sure if System.Windows.Forms.DrawItemEventArgs has some method to do what you want. However you can go for a windows Form disguised as a Context Menu there you can have all the options you want....
0
 
LVL 25

Expert Comment

by:RonaldBiemans
ID: 12042458
You can not add a textbox to a contextmenu, do what erif eqbal proposes
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

778 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