Announcement

Collapse
No announcement yet.

A Question about conversion C to PB

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

  • A Question about conversion C to PB

    Anyone,

    I want know how to coversion this C statement to PB:

    ((MINMAXINFO *)lParam)->ptMinTrackSize.x = ((MINMAXINFO *)lParam)->ptMaxTrackSize.x = dwp.nFrameWidth

    dwp is another UDT type varible ptr.

    Thanks!

  • #2
    Free translated

    Local pMM as MINMAXINFO ptr
    pMM = lparam

    @pMM.ptMinTrackSize.x = @pMM.ptMaxTrackSize.x = dwp.nFrameWidth

    This could result in true or false, i guess dwp.nFrameWidth needs to be added instead?
    hellobasic

    Comment


    • #3
      I had searched out the answer.
      And had done.
      Thank you!

      Comment

      Working...
      X