How to design PM application
Заголовок программы
В заголовке окна нужно писать: Название программы (операции), имя открытого документа
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.
Размер Главного окна
Автоматическое сохранение документов
Рекомендуется строить приложения так, чтобы пользователю не требовалось
вручную сохранять документы.
"Необходимость сохранять документы по мере их изменения также должна
стать, по убеждению Нидлмена, частью истории. Концепция автосохранения
успешно реализована в сервисе Google Docs, что позволяет избежать потери
данных при сбое подключения или других неполадках. Нидлмен отмечает,
что в некоторых приложениях, таких как OneNote и Evernote, пункт меню
'сохранить' отсутствует за ненадобностью."
source: soft.compulenta.ru
Когда использовать картинки в приложениях?
- В USB Dock картинки - хорошо
- В Coolfm, eCo Tunes логотипы радиостанций - хорошо
- В EmperoarTV логотипы телеканалов - хорошо
- Засунул аудио-CD, хочется видеть на рабочем столе обложку диска
Плохие примеры:
- Если делать PCI Dock - картинки бесполезны, т.к. по 10-20 устройств,
они внутри компьютера. Пользователь их никогда не видел.
Выводы:
Если объекты имеют физическое представление, если пользователь
их видит, то картинки нужны.
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?
|
|