> Given only the resource ID of a drop-down menu item, can I figure out
> the CRect of that menu item, or even the CRect of its parent menu?
> Actually I'm trying to get the CPoint of the mouse click on the menu,
> but the associated CRect would be close enough.
If you're inside a message handler, you can call GetMessagePos( ) which
returns the mouse position for the latest message. Of course it might not
help, since menu clicks are not usually handled using WM_LBUTTONDOWN.
-------------
Ehsan Akhgari
List Owner: [EMAIL PROTECTED]
[ Email: [EMAIL PROTECTED] read.zl6]
[ WWW: http://www.beginthread.com/Ehsan ]
That which an age feels to be evil is usually an untimely after-echo of that
which was formerly felt to be good - the atavism of an older ideal. -Beyond
Good And Evil, F. W. Nietzsche
