Search code examples
smalltalkvisualworks

Smalltalk VisualWorks in Windows XP: hiding default window header buttons


I'm currently using Smalltalk Visualworks on Windows XP. Is there a way (and which one) to hide (prefferably) or disable window header default buttons (minimize, maximize)? As alternative: disable their events. Searched guides and Internet - no result so far (several days).


Solution

  • you need to use DLLCC to communicate with WinAPI's C-interface. Then you need to find a way to remove the buttons, maybe using SetWindowLong(). You can get the HWND from a VisualWorks window probably by asking for its #windowHandle.