Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (178 - 180 of 3856)

Ticket Resolution Summary Owner Reporter
#628 Fixed GUICtrlRead($id, 1) on control context menu returns -1 unless main window has menu Jpm Rob Saunders <rob@…>
Description

Sorry for the long summary, but I couldn't think of a better way to sum up. Anyway, it appears that context menu items for controls will only return -1 with GUICtrlRead($ID, 1) unless a menu of some sort has already been added to the main window. I did a search and it looks like it may be related to bug #399, but it is different enough I thought it deserved it's own ticket.

Test(1) ; Bugged example
Test(2) ; Workaround example 1
Test(3) ; Workaround example 2

Func Test($test)
	$gui = GUICreate(@AutoItVersion, 200, 200)

	If $test = 2 Then
		GUICtrlCreateContextMenu() ; Create empty ContextMenu for the window
	ElseIf $test = 3 Then
		GUICtrlCreateMenu('File') ; Create empty 'File' menu for the window
	EndIf

	GUICtrlCreateLabel('Test ' & $test, 10, 10, 100, 20)
	$bt = GUICtrlCreateButton('Right click me', 10, 50, 100, 30)
	$cm = GUICtrlCreateContextMenu($bt)
	$mi = GUICtrlCreateMenuItem('Click me', $cm)
	
	GUICtrlCreateLabel('GUICtrlRead($mi, 1) = ' & GUICtrlRead($mi, 1), 10, 100, 180, 20)
	
	GUISetState()

	While 1
		$gm = GUIGetMsg()
		Switch $gm
			Case -3 ; $GUI_EVENT_CLOSE
				ExitLoop
			Case $mi
				MsgBox(0, 'Test', 'GUICtrlRead($mi, 1) = ' & GUICtrlRead($mi, 1))
				ExitLoop
		EndSwitch
	WEnd
EndFunc
#635 Fixed _GuiCtrlTab_ClickTab() docs list unused $fPopupScan parameter Gary PsaltyDS
Description

The 3.2.13.9 help file, and the header for _GuiCtrlTab_ClickTab() inside the GuiTab.au3 UDF, list an unused parameter: $fPopupScan

#640 Fixed Some escape sequences from Help not supported? Jpm amel27
Description

\U,\u,\L,\l escape sequences from Help not worked

This ticket is result of thread: http://www.autoitscript.com/forum/index.php?showtopic=82926

Note: See TracQuery for help on using queries.