Skip to main content

Problem:

Multiple Line Text in Dialog System Push Buttons using Windows Styles.

Resolution:

INTRODUCTION

==========

Multiple Line Text in Dialog System Push Buttions using Windows Styles.

By default Dialog System truncated text on a Button when it is larger than the button size. This demo shows how to use Windows API calls in order to make the text go over multiple lines.

SOURCE FILES:

==========

Program Files            Description

---------------------     -----------------------------------------------------------

demo.cbl          

setbuttonstyles.cbl

Copy Files:

---------------------     -----------------------------------------------------------

thescreenset.cpb

minwin.cpy

winbase.cpy

winclass.cpy

winerror.cpy

wingdi.cpy

winnls.cpy

wintypes.cpy

winuser.cpy

DS Screenset:

---------------------     -----------------------------------------------------------

thescreenset.gs

==========================================================

Keywords: demonstration, sample, example, demo, Dialog System, bitmapdemo.zip

demo.ex

demo.ne

demo.se

Attachments:

buttontext.zip

Old KB# 4214