Here's the situation...
I've posted a question a while back asking if it were possible
to add a text control to a menu. I did some research and found
absolutely no documentation on MS' site as to how it's possible
to recreate this neat little feature seen in places such as MS
Access' popup menu (right clicking a cell in access gives you a
popup menu with the ability to filter for a certain string that's
entered in a text box). In my pro-VB years I tried unsuccessfully
to recreate this. However, now while learning MFC I came
across something that might allow one to add a control such
as 'Edit control' to a menu.
I've successfully added bitmaps which span the width of a menu. The bitmaps I've added have been strips of color...
something that might be useful when you need to pick a color
from a menu. Now I ask, can we extend this to be able to user
draw a text control to this menu item instead? Everything should
be drawn with a DC so how can we make this work for a text
control's DC?




Reply With Quote