Announcement

Collapse
No announcement yet.

A few Win32api fixes.

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

  • A few Win32api fixes.

    Win32api

    Code:
    Type NCCALCSIZE_PARAMS
    
        NewSize         As Rect
        OldSize         As Rect
        OldClientSize   As Rect
        lppos           As WINDOWPOS Ptr
    
    End Type
    
    %WH_CALLWNDPROCRET = 12
    
    Request for DLGS.h in resource.h
    ------------------
    hellobasic

  • #2
    .

    ------------------
    hellobasic

    Comment


    • #3
      That's not a "fix", as Win32API doesn't currently contain those, but yes, we can
      add them. However, the structure goes like so:
      Code:
      TYPE NCCALCSIZE_PARAMS
          rgrc(0 TO 2) AS RECT
          lppos AS WINDOWPOS PTR
      END TYPE
      I'll add the request for the Resource.h modification to the wish list.


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

      Comment


      • #4
        Of course, you make the correct changes to the structure..
        To me the only imporatiance that it's in the win32api.inc.
        I find it an important piece of the compiler

        Yes.. the dlg well hmmm i didn't use it after all.
        It did work though.
        The request is because PB has added the constants in the win32api (%stc)
        So i was thinking maybe can this resource.h file be extended with more than only this dlgs.h file.

        I find the resource.h allmost as equal in importance as the win32api.
        I do a lot with resources and try to implement the standard winapi methods as much as possible.
        You already heard about the #define/%constants request, that would be very nice

        Thanks for your support.




        ------------------
        hellobasic

        Comment

        Working...
        X