the SendMessage function
If you want to simulate a mouse click programatically, you must know the SendMessage function. To make your simulator work, you should understand the function well. First, the name is […]
If you want to simulate a mouse click programatically, you must know the SendMessage function. To make your simulator work, you should understand the function well. First, the name is […]
You may see those guru programmers often use static_cast and dynamic_cast which are mysterious to you because you only use the implicit cast or C style explicit cast. So what […]
If you search google for how to capture events, most articles you get will teach you install event filter for child objects, then rewrite the eventFilter function in parent. This […]
You have several ways to simulate mouse events in a Qt application. First, you can create and post mouse events using native functions like: QMouseEvent eve(…); qApp->sendEvent(this , &eve); Second, […]
Sometimes it is necessary to alter the user-agent header for the request sent by QWebView. Some websites may refuse your visit if you do not use a normal browser. In […]
We have known the meaning and difference of the coordinate parameters in a java script event object. To simulate mouse event with javascript,you need to create a mouse event then […]
The 4 coordinate parameters in a Javascript mouse event object are very confusing. screenX and screenY are called screen coordinates which represent the position relative to the top-left of the computer screen. […]
The first and most important thing to begin your responsive web design is to set the viewport meta. The syntax is like <meta name=”viewport” content=”width=300, initial-scale=1″>. What does the width […]
I always forget the difference between the grouping selector and the descendant selector. grouping selector: h1,h2 {…} descendant selector: h1 em {…} child selector(like descendant selector but only selects the […]
What is the xml root element? The first tag except the “<?xml version=”1.0″ encoding=”ISO-8859-1″?>” and the <!DOCTYPE …> is the root element. How to get the xml document root in […]