soft | ware | for | the | masses | ||||
Static Text VC++ implementation of a static text control that draws itself using QHTML. Simplicity of this example allows to replicate it easily on any development platform. In this example we implement all alignment and state properties of the standard static text control while allowing to draw QHTML documents instead of the standard simple text: Additionally implemented property Sunken makes appearance of the control more contrast and eyes pleasing. It is achieved by combining methods DrawState and Draw of the parser. Disabled state of the control is drawn using method DrawState of the parser. Quality of the picture makes assume it might be a standard windows control after all :-) |