Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Self-drawing control realization method and device

An implementation method and self-drawing technology are applied in the direction of program control device, user interface execution, etc., which can solve the problems of poor scroll bar customization and applicability of Windows self-drawing controls, inability to handle mouse and keyboard messages, etc., and improve the applicability. sexual effect

Active Publication Date: 2020-06-05
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a method and device for realizing a self-drawing control, aiming at solving the problem that the existing control can only perform limited self-drawing on the scroll bar, and cannot fully manage the mouse and keyboard messages of the scroll bar. Therefore, the customization and applicability of the scroll bar of Windows self-drawing control are poor

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Self-drawing control realization method and device
  • Self-drawing control realization method and device
  • Self-drawing control realization method and device

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0045] Such as figure 2 As shown, a first embodiment of a self-drawing control implementation method of the present invention is proposed, and the self-drawing control implementation method includes:

[0046] Step S10, receiving a display content control operation;

[0047] When the page browsing user needs to control the content displayed on the page, he can control the content displayed on the page through the mouse or physical buttons, for example, turning the page, turning up or down the displayed content, etc. The manner of issuing the display content control operation includes: issuing the control operation based on the scroll bar control area, or issuing the control operation based on the display control area of ​​the display content, and the like. The control operations include mouse operations, keyboard operations and / or drawing messages and the like.

[0048] Before completing the control operation of the displayed content through the scroll bar, the parameters of...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for realizing an owner-drawing control. The method comprises steps: receiving control operation of display contents; when a content control of the display contents is a Windows window content control, transferring the control operation to a scroll-bar control through a parent window of the content control, to make the scroll-bar control complete control response operation of the display content according to the control operation. The invention also discloses a device for realizing an owner-drawing control. The method and the device realize complete owner-drawing operation on a scroll-bar in a control, and improve customization property and applicability of an owner-drawing control.

Description

technical field [0001] The invention relates to the technical field of software development, in particular to a method and a device for realizing a self-drawing control. Background technique [0002] In the Windows window, controls such as list (list) and tree (tree) can store and display a large amount of data. When the amount of data to be displayed is large, it cannot be displayed at one time in the display interface due to the limitation of the size of the control interface. When all the data is divided into multiple pages to display, and scroll to achieve mobile page operations. At present, the scroll bar of the content control generally includes: use the default scroll bar style of the system. Create a fully self-drawn control library, both content controls and scroll bars are self-drawn. [0003] However, due to Windows' limitations on the encapsulation of self-drawing controls, when using the Widnows window content control, the scroll bar is located in the content ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/451
Inventor 李斌
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products