sketchucation logo sketchucation
    • Login
    1. Home
    2. pcarret
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download
    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