Method and device for processing modal dialog box

A processing method and technology of a processing device are applied in the field of information processing and can solve the problems of inoperability of various modal dialog boxes.

Active Publication Date: 2021-02-02
WUHAN DOUYU NETWORK TECH CO LTD
View PDF5 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 processing modal dialog boxes, which solves the technical problem in the prior art that all modal dialog boxes are inoperable when sibling modal dialog boxes are popped up

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
  • Method and device for processing modal dialog box
  • Method and device for processing modal dialog box
  • Method and device for processing modal dialog box

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] The embodiment of the present invention provides a method and device for processing modal dialog boxes, which solves the technical problem in the prior art that each modal dialog box is inoperable when a sibling modal dialog box pops up. The technical solution of the embodiment of the present invention In order to solve the above technical problems, the general idea is as follows:

[0046] If you close other currently displayed sibling modal dialogs before opening the new modal dialog. Since the modal dialog box is synchronously blocked, that is, the display function of the current modal dialog box is still waiting to return, and the window close message needs to be sent to return the synchronous display function, even if the close message is sent to the current modal dialog box immediately, when the new After the modal dialog is opened, the message will still block. If the current modal dialog box is created on the heap by the new function, use delete to destroy it wh...

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 and device for processing a modal dialog box, which are applied in the field of information processing. The method includes: if a message related to creating a new modal dialog box is received, acquiring the original modal dialog box and the original modal dialog box All parent modal dialog boxes of the modal dialog box, the new modal dialog box is the sibling dialog box of the original modal dialog box; hide the original modal dialog box and all of the original modal dialog box The parent modal dialog box, after the original modal dialog box and all parent modal dialog boxes are hidden, opens and displays the new modal dialog box that has been created, thus the present invention solves the problem of popping up sibling modal dialog boxes in the prior art A technical problem that caused each modal dialog box to be inoperable.

Description

technical field [0001] The invention relates to the field of information processing, in particular to a method and device for processing a modal dialog box. Background technique [0002] Generally speaking, in Windows applications, dialog boxes are divided into two types: modal dialog boxes and modeless dialog boxes. The difference between the two is whether the user is allowed to perform operations on other objects when the dialog box is opened. [0003] The modal dialog box will block the user's operation on other windows, so usually, in the case of manual operation, a program only has one modal dialog box and its associated parent modal dialog box exist at the same time. During the development process, it is found that in special cases, multiple modal dialog boxes without parent-child relationship will pop up, that is, there are multiple sibling modal dialog boxes. There will be many problems when multiple sibling modal dialog boxes exist at the same time. The latest po...

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/451G06F9/48
CPCG06F9/4812
Inventor 李从章陈少杰张文明
Owner WUHAN DOUYU NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products