sketchucation logo sketchucation
    • Login
    1. Home
    2. pcarret
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    P
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 1
    • Groups 1

    pcarret

    @pcarret

    0
    Reputation
    1
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    pcarret Unfollow Follow
    registered-users

    Latest posts made by pcarret

    • RE: [code] Win32 Moving/Showing/Hiding Toolbars and Dialogs

      Everything is fine under MS-Windows, but :

      Is it possible to do hide minimize, maximize andclose buttonon Mac OS ?

      I found NSMiniaturizableWindowMaskbut I don't know how to access system API under Mac OS

      Remark under windows : WS_MINIMIZEBOX and WS_MAXIMIZEBOX can't work separately

      simplified working code is (must have hwnd handle, constant and win32 method declaration) :

      style = GetWindowLong.call(hwnd, GWL_STYLE)
      style = style & ~WS_MINIMIZEBOX
      style = style & ~WS_MAXIMIZEBOX
      result = SetWindowLong.call(hwnd, GWL_STYLE,  style)
      

      Thanks for any answer.

      Philippe

      posted in Developers' Forum
      P
      pcarret