Banner
2004-08-13 16:15:03 UTC
I am calling TrackPopupMenu() for a popup menu. I need to know what the
menu size and position (the menu rect) will be when TrackPopupMenu() is
called. I essentially wish that I had the source code to TrackPopupMenu() so
that I could break it into two pieces, the first would get far enough that
the "rect" would be known, then I could do my other processing, and then
perform the remainder of the TrackPopupMenu() processing.
This seems like a tough one.
menu size and position (the menu rect) will be when TrackPopupMenu() is
called. I essentially wish that I had the source code to TrackPopupMenu() so
that I could break it into two pieces, the first would get far enough that
the "rect" would be known, then I could do my other processing, and then
perform the remainder of the TrackPopupMenu() processing.
This seems like a tough one.