Как мне создать комментарии в моем коде, которые содержат изображение диалогов, окон и формC++

Программы на C++. Форум разработчиков
Ответить
Anonymous
 Как мне создать комментарии в моем коде, которые содержат изображение диалогов, окон и форм

Сообщение Anonymous »

Может быть, это старая мода, но я хочу добавить комментарии, которые изображают пользовательский интерфейс как часть его объяснения.

Код: Выделить всё

//
// This is a dialog that can run a specific program requested by the user.
// It looks like:
//

Код: Выделить всё

//
// It functional parts are:
// the 'Open' drop down text box, 'X' window button, 'OK', 'Cancel' and 'Browse...' buttons.
//
// The drop down text box is filled by:
// 1. Keeping the last run item.
// 2. Typing manually the program the user wants to activate.
// 3. Clicking on the drop down arrow to select previously run item.
// 4. Clicking on the 'Browse...' button to look for the run item file.
//    this will open the file dialog and will show files that have the
//    '.exe', '.pif', '.com', '.bat' and '.cmd' extension.
//
// Program Running:
// 1. The program is run when either clicking on the 'Ok' button or
//    pressing the 'enter' on the keyboard when the drop down text box
//    is active.
// 2. When ever the item is not a full path item, the program uses the
//    system search path. With the the above extensions to find it and
//    run it.
// 3. If the program can't be run an OK message is shown, Clicking on
//    the 'Ok' button will go back to the run dialog focusing and
//    selecting on the 'Open' Drop Down Text Box:
//

Код: Выделить всё

// The run is canceled by either clicking on the 'Cancel' button or
// the 'X' window button.
//
// When the dialog is opened the 'Open' drop down text box is in focus
// and the last Run item is selected.
//
// The order of keyboard Tab clicking is: 'Open' Drop Down Text Box ->
// 'OK' Button -> 'Cancel' Button -> 'Browse..'
//
// Key Board Short Cuts:
// 1. Alt+O - to focus and select the 'Open' Drop Down Text Box.
// 2. Alt+B - to open the 'Browse..' file dialog.
//
Это лишь пример возможной спецификации, которая должна быть частью кода.>

Подробнее здесь: https://stackoverflow.com/questions/797 ... -windows-a
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «C++»