Page 1 of 1
Posted: Tue Nov 19, 2002 4:43 pm
by BackupUser
Restored from previous forum. Originally posted by crono.
Hello,
how can I add a Button left of the minimize button in the title bar?
kind regards,
Alexander Schoenfeld
Email: [url]mailto:
alexander.schoenfeld@chronologic.de[/url]
Posted: Tue Nov 19, 2002 8:11 pm
by BackupUser
Restored from previous forum. Originally posted by Justin.
I think you can't.
you have to remove the caption, draw your own and put some buttons on it.
maybe the DrawCaption api can help.
Posted: Tue Nov 19, 2002 8:38 pm
by BackupUser
Restored from previous forum. Originally posted by PB.
> you have to remove the caption, draw your own and put some buttons on it.
That's right. Here's some Visual Basic source showing how to do it,
but it might be a hard job converting it to PureBasic:
http://www.planet-source-code.com/vb/sc ... 0&lngWId=1
Posted: Thu Nov 21, 2002 3:18 am
by BackupUser
Restored from previous forum. Originally posted by Jose.
Try doing a search on this forum for the following, I knew i'd seen this code before...another way to do it....
redraw all gadgets on a window
see the code in there.
Hope that helps
Registered PureBasic User