Slimelite BBS

Re: Removing Window gadgets

Back to AMOS_ECHO

From Peter Hutchison · 1996-03-29 04:08 · #75490 in AMOS_ECHO

In a message from John Nelson on 20-Mar-96 about Removing Window gadgets :

 JN> HOW DO you change the gadgets in an open window?

 JN>        What I'm trying to do is to get easygui to create the GUI, then
 JN> I want to remove the resize gadgets.

 Get the pointer to the Window.Flags structure and the size gadget is
 WFLG_SIZEGADGET = 0x01 so AND Flags with 0xFFFFFFFE so that the 
 bit is removed and reassign Flags to the Window structure.
 Now run RefreshWindowFrame(Window) to update the changes!
  
Peter
PowerAmiga - I feel the need, the need for speed...!
---
 * Origin: Peter's A1200 (2:250/366.24)