[Transfer] Dragging of MFC borderless windows

Dragging borderless windows in MFC void CXXXXDialog::OnLButtonDown(UINT nFlags, CPoint point) { PostMessage(WM_NCLBUTTONDOWN, HTCAPTION, MAKELPARAM(point.x, point.y)); } Remember to add message mapping, otherwise this code will not work. change: Moving a standard window is achieved by clicking the window title bar with the mouse, but for a window without a title bar, you need to use […]

Nginx supports SNI certificate, which has been used by ssl_server_name

I have compiled some information online and recorded it here for your reference What is SNI? In traditional application scenarios, a server corresponds to an IP address and a domain name, using a certificate containing domain name information. With the popularization of cloud computing technology, the virtual machine in the cloud has an IP, corresponds […]

Vue3-video-play video player plugin

Article directory 1. Function overview 2. User Guide Install start using 3. Basic Example 4. Hls m3u8 video/live broadcast 5. Props `props` attribute `controlBtns` button description 6. Events 7. Shortcut key description 1. Function list Tip: [email protected] and above must be used Support shortcut key operations Support multiple playback settings Support mirror screen settings Support […]

JS reverse engineering practice 23 – wss URL encryption + request header + ws sending and receiving in a certain city

Statement All content in this article is for learning and communication only. Packet capture content, sensitive URLs, and data interfaces have been desensitized. Commercial and illegal use is strictly prohibited. Otherwise, all consequences arising therefrom will have nothing to do with the author. If there is any infringement , please contact me to delete immediately! […]

Rockchip RK3399 – GPIO&PWM fan debugging

————————————————– ————————————————– ————————– Development board: NanoPC-T4 Development board eMMC: 16GBLPDDR3: 4GB Display: 15.6 inches HDMI interface display u-boot: 2023.04linux :6.3 ————————————————– ————————————————– ————————– 1. Circuit schematic diagram The NanoPC-T4 development board I use can be connected to an external cooling fan. Let’s first introduce the cooling fan hardware related content. 1.1 Circuit Schematic Diagram The […]

c# MVC paging control helper class

c# uses mvc paging control /// <summary> /// Get the pseudo-static page number display link /// </summary> /// <param name=”curPage”>Current page number</param> /// <param name=”countPage”>Total number of pages</param> /// <param name=”url”>Hyperlink address</param> /// <param name=”extendPage”>The upper limit of the number of surrounding page numbers to display</param> /// <returns>Page number html</returns> public static string GetStaticPageNumbers(int curPage, […]

FastDFS+Nginx builds a local file server

FastDFS is an open source lightweight distributed file system that manages files. Its functions include: file storage, file synchronization, file access (file upload, file download), etc., solving the problems of large-capacity storage and load balancing. It is especially suitable for online services based on files, such as photo album websites, video websites, etc. FastDFS is […]