Skip to main content

Problem:

This show removing the Close Button from the COBOL Text Window

Resolution:

INTRODUCTION

==========

Removing Close Button from the COBOL Text Window.

This demo shows how to remove the "x" close button from the  COBOL TEXT WINDOW title bar. It uses Windows Styles and API calls to acheive this.

SOURCE FILES:

=========

Program Files     Description

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

test1.cbl

Copy Files:

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

minwin.cpy

winbase.cpy

winclass.cpy

winerror.cpy

wingdi.cpy

winnls.cpy

wintypes.cpy

winuser.cpy

Resource Files:

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

runit.bat

OPERATION:

========

To run the demo unzip to a directory and run "runit.bat" at a Net Express command prompt which will compile and run the application.

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

Keywords: demonstration, sample, example, demo, win32api, closebutton.zip

demo.ex

demo.me

demo.ne

Attachments:

closebutton.zip

Old KB# 4161