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  
 
 

 

 

/ Guidelines: Additional control elements / Message box / Message box FAQ, tricks & tips

Message box FAQ, tricks & tips

Text on buttons MSG-BOX-1: It's a good idea to use your own captions on the buttons instead of the default. Always use verbs as captions: "Close window", "Do not close", "Overwrite file", "Keep file" instead of "Yes", "No", "OK", etc.
Write correct messages MSG-BOX-2: As a good tradition in OS/2(eCS) programming, when displaying errors, alarms and warnings, do not accurse user:
  • Do not write "You specified wrong file name", use "File not found" instead.
  • Do not write "You selected invalid file type", use "Couldn't recognize file type" etc.
When to use MsgBox MSG-BOX-3: Don't use Message box IF
  • if you want notify user. Use Status bar to show notifications. Example: user inserted flash disk. No need to popup Message box, show a banner in eCenter.

    Example: Firefox shows message in the data window, doesn't create MsgBox - picture

Where to open MsgBox? Why Message boxes are opened in the center of the desktop? Why not in the center of the window which created the message box?

Conlusion: think one more time where to open the Message box.

 


 

(C) OS2.GURU 2001-2024