Interface style
If you have used windows-based applications, you may have noticed that not all user interfaces look or operate the same. There are two main types of user interface styles: Single Document Interface (SDI) and multiple Document interface (MDI). An example of an SDI interface is the WordPad (Notepad) application in Microsoft Windows (Figure 6.1). In WordPad, you can open only one document, and when you want to open another document, you
MDI Notepad ApplicationThe MDI NotePad sample application is a simple text editor similar to the NotePad application contained in MicrosoftWindows. However, the MDI NotePad application uses a multiple-document interface (MDI). At run time, the application creates a new instance of the subform if the user needs a new do
to 1. 9. Repeat step 5-8 for subsequent elements in the array. The elements of the Key menu control array must be contiguous in the Menu control list box and must be at the same indent level. When you create a menu control array, you include the separator bar that appears in the menu.
Create and modify menus at run timeMenus created at design time can also dynamically respond to run-time conditions. For example, if the action of a menu item becomes inappropriate at some point, the selection
plug, unplug, and study your motherboard and components. After getting familiar with it, you will be aware of it.
20172006.03.14
Patch cord on the motherboard
Hardware jumper settings-including standard CPU external frequency, CPU voltage settings jumper, hard disk jumper, and other settings
I. Recognition jumper
Whether it is the motherboard, hard drive, optical drive and other drives, you can see the Jumper figure. What is a jumper? The so-called j
You can use toolbars to further enhance the application's menu interface. The toolbar contains a toolbar button that provides quick access to the most commonly used commands in your application. For example, a toolbar in Visual basic contains toolbarbutton that perform common commands, such as open (open an existing project), save (store the current project), and so on.
Create a toolbarToolbars, also known as clockwork or control bars, have become standard features of many windows-based applica
/*************************************/
Chapter 2: Reading and Writing documents-MDI applications
1. The cmdiframewnd class in the MFC Library encapsulates all the functions of the main framework window and the MDI customer window (including the message control functions of all windows MDI messages ), therefore, you can manage its subwindows (represented by javas
Wm_fontchange
0x001d
This message is sent to all top-level windows when the system's font repository changes
Wm_timechange
0x001e
Send this message to all top-level windows when the system's time changes
Wm_cancelmode
0x001f
Send this message to cancel an operation that is in progress
Wm_setcursor
0x0020
will be activated and the current activity (about to lose the activation) window will receive this message, sending this message to the application which window is active, which is the inactive
Wm_fontchange
0x001d
This message is sent to all top-level windows when the system's font repository changes
Wm_timechange
0x001e
Send this message to all top-level windows when the system's time changes
0x0020
If the mouse causes the cursor to move through a window and the mouse input is not captured, send a message to the window
Wm_mouseactivate
0x0021
When the cursor is in a non-activated window and the user is pressing a key on the mouse to send this message to the current window
Wm_childactivate
0x0022
Send this message to the MDI child window when the user taps the title bar of this wind
captured, a message is sent to a window wm_mouseactivate = $0021; When the cursor is in a non-activated window and the user is pressing a key of the mouse to send this message to the current window wm_childactivate = $0022; Send this message to the MDI child window when the user clicks on the title bar of this window, or when the window is activated, moves, changes size Wm_queuesync = $0023; This message is sent by the computer-based training program
window is active and which is inactive;Wm_fontchange = $001d;This message is sent to all top-level windows when the system's font repository changesWm_timechange = $001e;Send this message to all top-level windows when the system's time changesWm_cancelmode = $001f;Send this message to cancel an in-progress state (operation)Wm_setcursor = $0020;If the mouse causes the cursor to move through a window and the mouse input is not captured, a message is sent to a windowWm_mouseactivate = $0021;When t
message to the application which window is active and which is inactive; wm_fontchange= $001d//When the system's font repository changes, send this message to all top-level windows wm_timechange= $001e/ /When the system time changes, send this message to all top-level windows wm_cancelmode= $001f//Send this message to cancel some kind of in-progress (operation) Wm_setcursor = $0020// If the mouse causes the cursor to move through a window and the mouse input is not captured, send a message to a
WM_QUERYENDSESSION message, this message is sent to the application, Wm_systemerror = 0x0017; Wm_showwindow = 0x0018; When the hidden or displayed window is sending this message to this window Wm_activateapp = 0x001c; Send this message to the application which window is active and which is inactive; wm_fontchange = 0x001d; This message is sent to all top-level windows when the system's font repository changes wm_timechange = 0x001e; sends this message to all top-level windows Wm_cancelmode = 0x
this message to the MDI child form when the user taps the title bar of this form. Or when the form is activated. Move, change the sizeWm_queuesync = $0023;This message is sent by a computer-based training program, via the Wh_journalpalyback hook programSeparating out user input messagesWm_getminmaxinfo = $0024;This message is sent to the form when it is going to change size or position;Wm_painticon = $0026;Send to minimized form when its icon is goin
is in a non-activated window and the user is pressing a key on the mouse to send this message to the current windowWm_childactivate = 0x0022Send this message to the MDI child window when the user clicks the title bar of this window, or when the window is activated, moves, changes the sizeWm_queuesync = 0x0023This message is sent by a computer-based training program, via the Wh_journalpalyback hook programSeparating out user input messagesWm_getminmax
and which is not activated;Wm_fontchange = $ 001d;This message is sent to all top-level windows when the font resource library of the system changesWm_timechange = $ 001e;Send this message to all top-level windows when the system time changesWm_cancelmode = $ 001f;Send this message to cancel an ongoing touch (Operation)Wm_setcursor =$ 0020;If the mouse causes the cursor to move in a window and the mouse input is not captured, a message is sent to a window.Wm_mouseactivate =$ 0021;When the curso
= $0017 //WM_SHOWWINDOW = $0018 // when the hidden or displayed window is sent to this windowWM_ACTIVATEAPP = $ 001C // send this message to the application. Which window is activated and which one is not activated;WM_FONTCHANGE = $ 001D // send this message to all top-level windows when the font resource library of the system changesWM_TIMECHANGE = $ 001E // send this message to all top-level windows when the system time changesWM_CANCELMODE = $ 001F // send this message to cancel an ongoing t
//Wm_showwindow = $0018 // when the hidden or displayed window is sent to this windowWm_activateapp = $ 001c // send this message to the application. Which window is activated and which one is not activated;Wm_fontchange = $ 001d // send this message to all top-level windows when the font resource library of the system changesWm_timechange = $ 001e // send this message to all top-level windows when the system time changesWm_cancelmode = $ 001f // send this message to cancel an ongoing touch (Op
library of the system changes
Wm_timechange = 0x001e;Send this message to all top-level windows when the system time changes
Wm_cancelmode = 0x001f;Send this message to cancel an ongoing touch (Operation)
Wm_setcursor = 0x0020;If the mouse causes the cursor to move in a window and the mouse input is not captured, a message is sent to a window.
Wm_mouseactivate = 0x0021;When the cursor is in an inactive window and the user is pressing a key of the mouse to send this message to the current window
is activated and which is not activated;Wm_fontchange = $ 001d;This message is sent to all top-level windows when the font resource library of the system changesWm_timechange = $ 001e;Send this message to all top-level windows when the system time changesWm_cancelmode = $ 001f;Send this message to cancel an ongoing touch (Operation)Wm_setcursor =$ 0020;If the mouse causes the cursor to move in a window and the mouse input is not captured, a message is sent to a window.Wm_mouseactivate =$ 0021;W
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.