Modify

Opened 11 years ago

Closed 11 years ago

#2469 closed Feature Request (Completed)

Example: GUIGetMsg[2] - inconsistency?

Reported by: mlipok Owned by: guinness
Milestone: 3.3.9.22 Component: Documentation
Version: Severity: None
Keywords: Cc:

Description

in example GUIGetMsg[2].au3

there is:

		; Avoid high CPU usage.
		Sleep(10)

but in:
GUI Reference - MessageLoop Mode

In the MessageLoop mode you will only receive events while you are actively polling the GUIGetMsg function so you must ensure that you call it many times a second otherwise your GUI will be unresponsive.

Show me the truth ?

Attachments (0)

Change History (2)

comment:1 Changed 11 years ago by mlipok

I forgot to add that:

in:
GUI Reference - MessageLoop Mode

Do not put a manual sleep in the loop for fear of stressing the CPU - this will only cause the GUI to become unresponsive

now
Show me the truth.

comment:2 Changed 11 years ago by guinness

  • Milestone set to 3.3.9.22
  • Owner set to guinness
  • Resolution set to Completed
  • Status changed from new to closed

Removed by revision [9023] in version: 3.3.9.22

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The owner will remain guinness.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.