Re: TrackPopupMenu

From: David Lowndes (davidl_at_example.invalid)
Date: 04/20/04


Date: Tue, 20 Apr 2004 23:09:07 +0100


>MSDN docs for CMenu:: says the lpRect argument ....
>
> Points to a RECT structure or CRect object that contains the screen
>coordinates of a rectangle within which the user can click without
>dismissing the pop-up menu. If this parameter is 0, the pop-up menu is
>dismissed if the user clicks outside the pop-up menu. This must be 0 for
>Windows 3.0.

Jason,

The more definitive Platform SDK docs for TrackPopupMenu say:

prcRect
Ignored

Dave

-- 
MVP VC++ FAQ: http://www.mvps.org/vcfaq


Relevant Pages

  • Re: InvalidateRect Pinvoke and C#
    ... My intention is to refresh ... But this doesn't work - the rectangle I enter isn't be invalidated ... > using a RECT structure passed to InvalidateRect. ...
    (microsoft.public.dotnet.framework.drawing)
  • Re: RECT - Rectangle
    ... It seems at first glance that the Rectangle class ... >>I have a question regarding the RECT structure required for PInvoke calls. ... I would create the RECT structure definition ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: RECT - Rectangle
    ... RECT structure does. ... It seems at first glance that the Rectangle ... >>>of defining a RECT structure. ... >>> Mythran ...
    (microsoft.public.dotnet.languages.csharp)