Skip to main content
Dominique Sacre
Rocketeer
Feb 15, 2013 10:45 PM UTC

Demo - Using the Win32 API to remove the close button from the COBOL text window

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