Problem:
This demo shows how to Get, Set and Redraw a Dialog System window using Win APIs
Resolution:
INTRODUCTION
==========
This sample demonstrates how to change the attributes of a Dialog System dialog box...in this case, to make the dialog box sizeable by changing the window style.
SOURCE FILES:
==========
Program Files Description
---------------- -----------------------------------------------------------
sizedlg.cbl Main program source file.
sc.cbl Subprogram that changes the attributes of the window passed to it.
Copy Files:
---------------- -----------------------------------------------------------
ds-cntrl.mf Dialog System control block.
sizedlg.cpb Dialog System data block copyfile.
OPERATION:
========
Clicking the button "Show Sizeable Dialog Box" sets focus on the DBOX1 dialog box. The dialog box's CREATE-WINDOW event is coded to get it's object handle which is passed in the CALLOUT to the sc subprogram. The sc.cbl program makes Win32 API calls to give the dialog box a new window style that includes a sizeable border.
==========================================================
Keywords: demonstration, sample, example, demo, Dialog System, sizedlg.zip
demo.ex
demo.ne