Re: Pretend example problem
- Posted by don cole <doncole at pacbell.net> Oct 12, 2006
- 495 views
Greg Haberek wrote: > > Later in the code, the Pixmap 'Buffer' is being blitted to the entire screen. > > On 10/12/06, don cole <guest at rapideuphoria.com> wrote: > > > > > > posted by: don cole <doncole at pacbell.net> > > > > > > Hello everyone. > > > > In the Pretend.exw example from Win32lib I attempted to add a PushButton. > > > > > > > > ----------------------------------------------------------------------------- > > -- the gui > > constant > > Win = create( Window, "Pretender", 0, Default, Default, WinWide, > > WinHigh+26, 0 ), > > Buffer = create( Pixmap, "", 0, 0, 0, WinWide, WinHigh, 0 ) > > > > constant PushBu8utton3 = create( PushButton, "Hello", Win, 10, 10, 148, 20, > > 0) > > > > ----------------------------------------------------------------------------- > > But it does not show up on screen. anyone know why? > > Don Cole > > > > Thank you Greg, So to make the pushButton show up on every tick one must Cut a hole in the buffer at that point. Or what? I appreciate your help Don Cole