sketchucation logo sketchucation
    • Login
    1. Home
    2. pcarret
    3. Posts
    ⚠️ Attention | Having issues with Sketchucation Tools 5? Report Here
    P
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 1
    • Groups 1

    Posts

    Recent Best Controversial
    • 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
    • 1 / 1