1. Create a different sub-frame.In the document View program, CMainFrame (class Cmainframe:public CMDIFrameWndEx) inherits from CMDIFrameWnd (CMDIFrameWndEx is a CMDIFrameWnd subclass). So you can turn m_pMainWnd into a cmdiframewnd pointer, and then call Createnewchild to create a child frame. This can be cast to the desired object, depending on the specific class name passed in. cmdiframewnd* Pmdifrmwnd = reinterpret_cast(m_pmainwnd); = reinterpret_castcreatenewchild (Runtime_class (CCH
Starting from this section, we will start our DSL journey. First, make sure that you have installed the Visual Studio SDK and use Visual Studio 2008. we will first create a simple DSL project to understand the DSL development environment and process.
1. open. net, new -- Project, click another project type -- extensibility ). the following lists the projects of
DSL Concept
Martin FowlerDefines a domain-specific language (DSL) as "a computer language that's targeted to a particle kind of problem, rather than a general purpose language that's aimed at any kind of software problem"
Domain-specific agesAren't a new idea by any means. dsls have been around since long before the start of computing. People have always developed specialized
Vocabularies for specializ
Nowadays, many people like to use MP3 as a cell phone ringtone, which is the most exciting part of an MP3 player. But how can we use MP3 as the most exciting part? MP3 Splitter Joiner can help you!
"Software introduction 』
MP3 Splitter JoinerIt is a very useful MP3 editing software. It has built-in MP3 splitting and merging modules. You can use it to cut and adjust a large MP3 file into smaller segm
Set DSL connection manually in Ubuntu, and set dsl manually in ubuntu
After installing Ubuntu, I found that the DSL connection of the graphic interface was useless and I was depressed for several days. I think it would be a waste of 120 hours of mobile traffic every month. Just as I wanted to return to the Windows system, I found a good way to manually set up a c
first batch of meat-eating people, the sooner the more money to seize the position of gold, the choice is not right, efforts in vain, business opportunities are not equal,ACL Splitter disc The Flash team: 18106082601650) this.width=650; "src=" http://s15.sinaimg.cn/mw690/006vL52Pgy72BDqmvvM7e690 "width=" 396 "height=" 517 "name = "image_operate_19281466333121091" alt= "ACL split is true, what exactly is ACL splitting? What do ACLs do? is the "title="
server does not have to parse the signaling surface data and the user surface data related traceability, reduce the demand for resources of the backend server;2) A single mobile internet collector can handle multiple carrier data at the same time, the message processing process does not affect each other, and the different operators of the data in accordance with their respective output group decentralized, non-interference, thereby greatly saving the user's equipment investment;3) The Exchange
Gradle DSL method not found: ' Runproguard () ' ErrorThis error occurs because in the new version of Gradle, the Runproguard () method has been discarded and replaced by minifyenabled, So just change the runproguard in the Build.gradlew file under each module to minifyemabled. Such as:Gradle DSL method found: ' Android () ' ErrorAs with the last error, this is also because the Android () method has been dep
Example of JavaScript DSL fluent interface (called using a chain), dsl chain
After carefully studying DSL for a while, I found that one of the most interesting things in JavaScript is probably chained call (Method chain, that is, Method Chaining ). Interestingly, Martin Flower points out:Copy codeThe Code is as follows:I 've also noticed a common misconception-pl
The previous section describes the graphical symbols of vs.net DSL, including charts, editors, and shapes. in this section, we will look at the relationship between a single symbol and metadata. How are they mapped together.Model Elements are represented by shapes, while domain relationships are represented by connectors. graphical ing defines that model elements are visually represented by shapes, while connector ing defines how links are visually re
economic reasons, the telephone system designed to transmit frequency range in the range of 300Hz to 3.4kHz signal (although the human voice can be 15kHz, but this range is very easy to identify each other).However, the copper cable to the end-user of the local telephone network can actually provide higher bandwidth, at least from the lowest frequency to 200-800khz, depending on the quality of the circuit and the complexity of the device (it is generally considered that the fewer connectors bet
Splitter Control SplitContainer
Splitter control SplitContainer, is a container containing splitter splitter bar, which contains two panel container panel1,panel2, you can move the splitter bar to control the size of the panel!
Control to learn the sample program!
Attribute
what is development in specific fields and DSL development in specific fields is used to solve repeated problems, summarize and analyze each problem to solve the same problem at one time. frequently changing aspects can be expressed in a special language. for this special language, we can create a model or expression and insert it to a fixed part. for our solutions in the software industry, the fixed part adopts the traditional design and implemen
ArticleDirectory
One Language
DSL content
DSL Architecture
Advantages of DSL applications
Styles)
Application scenarios
Books
Model-driven development (MDD), software factory, and domain-specific modeling (DSM) are all highly abstract development methods, the languages used by these methods are specific domain languages (
Http://tech.ddvip.com/2008-12/1229654190101204.html
The basic idea of domain specific language/DSL is "Seeking for specialization", which does not cover all software problems as the general target language does, it is a computer language dedicated to a specific problem. DSL was originally and ultimately a dream for programmers, just as January 1. People have been talking about
Microsoft started to provide DSL in vs2005sdk, and also published a book dedicated to writing Visual Studio DSL. This book details the DSL content, in the current environment where there are few DSL books, it is good to have such a book for reference.
I have read this book a few years ago. Since I recently began to c
Message splitter principle, here is not in detail, you can query Google, the following provides a short code implementation
Each message has WParam and lParam, such as wm_command,wparam containing two different values, including:
WParam: The low byte is the ID of the control, and the high byte is the notification code Notifycode
LParam: Cast to the handle value of a button or control hWndCtl
#include #define CHHANDLE_DLGMSG (HWND, message, FN) Cas
Remember to read high school especially like reading ebook, but then still 2010, the economic conditions are not good, can not afford smart phones, only use some shanzhai machine, poor hardware facilities, the TXT text reader can only read the size of not more than 5M ebook, but the online e-book is basically more than 5M, In order to read these books, only on the Internet to download a TXT file splitter, split into small files, then downloaded to the
First, the connector "Joiner"Second, the splitter "Splitter"Three, character match "Charmatcher" Iv. Character Set "Charsets" charsets: The six character sets that are guaranteed to support all Java platforms provide a constant reference. Try to use these constants instead of getting character set instances by name. Try { byte[] bytes = Test.getbytes ("UTf-8"); Catch (unsupportedenco
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.