因?yàn)?/c>用戶訪問這些窗體的順序可能無法預(yù)知。
Often, tool windows are shown in a modeless fashion.
工具窗口經(jīng)常以無模式方式顯示。
The application should provide unobtrusive modeless feedback on the status of his work .
應(yīng)用程序應(yīng)該經(jīng)常給使用者提供不唐突且無模式的反饋,這樣使用者可以了解其工作狀態(tài)。
However, when a form is shown as modeless, the code following the Show method is executed immediately after the form is displayed.
但是,當(dāng)窗體以無模式方式顯示時,那么在該窗體顯示之后,會立刻執(zhí)行Show方法后面的代碼。
Determines whether the given message is intended for the modeless dialog box and, if so, processes it.
確定給定的消息是否是送往無模式對話框的,如果是,則處理它。
In addition, it shows a number of techniques related to using a modeless dialog box as the main window of an MFC application.
另外,它還說明若干與將無模式對話框用作MFC應(yīng)用程序主窗口有關(guān)的方法。
Provide modeless feedback to help users avoid mistakes.
提供非模態(tài)反饋來幫助避免用戶犯錯誤。
Modeless forms let you shift the focus between the form and another form without having to close the initial form.
“無模式”窗體讓您在此窗體與另一窗體之間變換焦點(diǎn),而不必關(guān)閉初始窗體。
The framework calls this member function when the user clicks the Cancel button or presses the ESC key in a modal or modeless dialog box.
當(dāng)用戶在模態(tài)對話框或非模態(tài)對話框內(nèi)單擊Cancel按鈕或按ESC鍵時,窗體調(diào)用這個成員函數(shù)。
There have traditionally been two modeless tool idioms in common use. The modeless dialog box is the older of the two.
傳統(tǒng)上有兩種常用的非模態(tài)工具習(xí)慣用法,其中非模態(tài)對話框是較老的一種。
for modeless dialog receiving input information, we are able to father to the window messaging manner.
對于無模式對話框接收的輸入信息,我們可以以向父窗口發(fā)送消息的方式進(jìn)行。
Many modeless dialogs are implemented awkwardly. Their behavior is inconsistent and confusing.
大多數(shù)非模態(tài)對話框實(shí)現(xiàn)得很笨拙,它們的行為很不一致,令人十分困惑。
Software, similarly, can provide us with this kind of rich modeless feedback about what is going on. Again, we discuss how in Chapter 25.
同樣,軟件可以為我們提供大量運(yùn)行狀態(tài)的非模態(tài)反饋,我們將在第25章中討論。
Keep dialogs, especially modeless dialogs, to a minimum.
將對話框,尤其是非模式對話框減至最少。
Common examples of modeless windows are properties windows, toolboxes, and palettes.
無模式窗口的常見示例包括屬性窗口、工具箱和調(diào)色板。
Processes messages that are sent to a modal or modeless dialog box.
處理發(fā)送給模式對話框或無模式對話框的消息。
It does this just for convenience; once created, the modeless dialog box requires no further management.
它這樣做只是為了方便;創(chuàng)建了無模式對話框后,不需要對其進(jìn)行進(jìn)一步管理。
After the modeless dialog opens, the parent program continues without interruption.
打開一個非模態(tài)對話框后,可以不用打斷父程序。
The properties in this modeless dialog box always reflect the currently selected object.
此無模式對話框中的屬性總是反映當(dāng)前選定的對象。
Object from a modeless form, the application might quit unexpectedly.
方法時,應(yīng)用程序可能意外退出。
Call this member function to create a modeless dialog box from a dialog-box template in memory.
調(diào)用該成員函數(shù)從對話框模板中創(chuàng)建一個非模態(tài)對話框。
A modeless property sheet dialog box within a mini-frame window.
袖珍框架窗口中的無模式屬性表對話框。
The proper solution is to make the action easily reversible and provide enough modeless feedback so that users are not taken off-guard.
恰當(dāng)的解決方法是使動作易于恢復(fù),并提供足夠的非模態(tài)反饋,確保用戶始終處于保護(hù)之下。
Think of all the ways you might improve your own applications with RVMF and other mechanisms of modeless feedback!
思考一下你可以用豐富視覺非模態(tài)反饋和其他非模態(tài)反饋機(jī)制來改造程序的所有方法。
Modeless dialogs have terminating commands, too, although the conventions for them are far weaker and more confusing than for modal dialogs.
盡管非模態(tài)對話框的規(guī)則比模態(tài)對話框更弱,也更讓人費(fèi)解,但其也有終止命令。
Class manages a pointer to the modeless dialog box.
類管理指向無模式對話框的指針。
A modeless form allows some type of interaction with the application while the form is displayed.
無模式窗體允許在顯示窗體時與應(yīng)用程序進(jìn)行某種類型的交互。
Using Common File Dialogs as Modeless Views.
在視圖中嵌入文件選擇對話框。
We discuss this idea of rich visual modeless feedback in Chapter 25.
我們將在第25章中討論豐富的非模態(tài)視覺反饋。
This behavior is the opposite of modeless feedback, and it hampers flow.
這個行為有悖于非模態(tài)的反饋,它阻礙了流。
discuss these types of rich modeless feedback in Chapter 25.
我們會在第25章中進(jìn)一步討論豐富的非模態(tài)反饋類型。
Shows how to display a form as a modal or modeless dialog box.
顯示如何將窗體顯示為模式對話框或無模式對話框。
The following example shows how to display an About dialog box in modeless format.
下面的示例演示如何以無模式格式顯示“關(guān)于”對話框。