Announcement

Collapse
No announcement yet.

C++ translation question..

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • C++ translation question..

    Have I understood correctly? Following is in a GetContextMenu method in
    an IRichEditOleCallback interface:
    Code:
    ' C++ says
      ' *lphmenu = hmenu = hmenuVerbs ? hmenuVerbs : hmenuParent;
    
    ' PB version of the above, I think..
      hmenu    = IIF&(hmenuVerbs, hmenuVerbs, hmenuParent)
      @lphmenu = hmenu

    ------------------
    http://www.tolkenxp.com/pb
    Download: incLean, PBcodec, custom controls and code, etc.
    Borje Hagsten - [email protected]

  • #2
    Looks good to me.

    ------------------
    Tom Hanlin
    PowerBASIC Staff

    Comment

    Working...
    X