BBC BASIC for Windows
Programming >> User Interface >> Custom graphics control
http://bb4w.conforums.com/index.cgi?board=ui&action=display&num=1407153508

Custom graphics control
Post by rtr on Aug 4th, 2014, 11:58am

One of the features that was expected to be provided by the late lamented GUILIB library was a custom graphics control, as in this extract from the specification:

0.4 To provide a custom 'graphics capable' child control, supporting BBC BASIC-style graphics commands (similar to what is already provided by the MULTIWIN library, but suitable for being hosted by a dialogue box).

Whilst most of GUILIB's intended capabilities can be achieved, albeit in a less elegant way, using existing libraries and direct API calls, this particular feature cannot. To rectify this I have modified the MULTIWIN library to support it.

This Wiki article demonstrates creating a dialogue box with four independent 'graphicboxes':

http://bb4w.wikispaces.com/Creating+a+custom+graphics+control

User Image

Richard.