Device Manage for OS/2

DevCon for OS/2 - Developer Connection

Operating systems:
ArcaOS, eComStation, IBM OS/2 Warp
eComStation myths 

(Unsorted)  
 
 
Compilers  
 
 
Tools  
 
 
REXX  
 
 
Drivers/kernel  
 
 

 

 

How to design PM application

Title of the application

The title should contain the name of application (name of operation), name of loaded document.

Avoid flickering

Picture viewers, PM applications should avoid flickering.

  • Don't erase background before drawing
  • Generate bitmaps in buffer

Position load/save

windows position load/save (relates to windows, settings notebooks)

Save, x,y, width, height, + flag, does window fit into the desktop square? After load of x,y, width, height, check the dimensions of screen, does window fit into the window? if user changed screen resolution then use initial window position and size.

Size of Main window

Automatical saving of documents

It is recommended to design the applications so no need to press Save button.

"The whole idea of pressing the "save" button on a site or app to lock in your updates is old-fashioned. It also exposes users to data loss from system or connection bugs. Google Docs saves as you type, making it superior to Microsoft Office. Quicken (the software version) saves each transaction as you go. Note-taking apps OneNote and Evernote don't have save buttons because they don't need them (although in a UI flaw, the Web version of Evernote does).

When systems are built correctly, everything you do can be undone and rolled back, and there should be no need for a save button per se (although many apps will still need a way to milepost versions of files). "

(q) Rafe Needleman, source: news.cnet.com

When to use pictures in your applications

no recommendations

Shutdown event, Suspend/resume event

Suspend/resume: The applications are frozen and don't receive notifications. Nevertheless, every program may request APM notification via semaphores.

Shutdown:

  • VIO applications: SIG_BREAK
  • PM applications: WM_EXIT message

Exit confirmation

If application is a viewer then no need to confirm exit. If it's an editor of user's data then show MsgBox: Are you sure? Quit, Cancel.

Hot keys

Examples:

  • Ctrl-F - Find
  • Ctrl-N -- no matter which program, it should: create new playlist, in addressbok a new address template, in editor - new window
  • Ctrl-O -- Open FileOpenDialog to load file
  • Ctrl-S -- Save current document
  • Ctrl-P -- Print dialog

Settings notebook

There is Merlin notebook in eComStation. Please use this control, don't use other forms.

Good

Bad


 
Please share information with other developers how to:
  • Q: Criteria when to use Status line?

 


 

 

ArcaOS 5.1.1 - DOS works again

DOS virtual machine works again (it was working on Core 2 Duo, and didn't for i5). Install ArcaOS in UEFI mode to use DOS VM.

eComStation developer

eCo Software was the leading developer of modules for eComStation 2.0

// надо на ENG!!
Blonde Guy

Buy OS/2 application: DVD/CD Toys

Warpstock Europe 2016

Interview with Keith ..

video

 

(C) OS2.GURU 2001 -- 2025