Custom Query (3920 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (319 - 321 of 3920)

Ticket Resolution Summary Owner Reporter
#286 No Bug _GUICtrlReBar_AddBand() UDF: controls move off rebar bands after beta 3.2.11.7 Gary rover
Description

Problem using _GUICtrlReBar_AddBand() with standard controls after beta 3.2.11.7 tested with GUICtrlCreateInput() and GUICtrlCreateButton()

Running XP SP2+ EN X86 tested ok in prod 3.2.10.0 and beta 3.2.11.7 untested in 3.2.11.8 or 3.2.11.9 tested as problem in 3.2.11.10 up to 3.2.12.0-rc4

Example: run and minimize to taskbar, then restore. control will move from rebar band to overlap dtp control adjusting rebar manually will move control back to band

#AutoIt3Wrapper_au3check_parameters=-d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6
#include <GuiReBar.au3>
#include <GuiDateTimePicker.au3>
#include <WindowsConstants.au3>
#include <Constants.au3>
#include <GuiConstantsEx.au3>

Opt("MustDeclareVars", 1)
Global $hgui, $hReBar, $hDTP, $h

$hgui = GUICreate("Rebar", 400, 396)
$hReBar = _GUICtrlReBar_Create($hgui, BitOR($CCS_NODIVIDER, $CCS_TOP))
$hDTP = _GUICtrlDTP_Create($hgui, 0, 0, 190)
_GUICtrlReBar_AddBand($hReBar, $hDTP, 120, 120, "", 0)

$h = GUICtrlCreateButton("Exit", 0, 0, 120, 20)
;$h = GUICtrlCreateInput("Input control", 0, 0, 120, 20)
_GUICtrlReBar_AddBand($hReBar, GUICtrlGetHandle($h), 120, 200, "Name:", 1)

GUISetState(@SW_SHOW)
Sleep(1000)
GUISetState(@SW_MINIMIZE)
Sleep(1000)
GUISetState(@SW_RESTORE)

While 1
    Switch GUIGetMsg()
	Case $GUI_EVENT_CLOSE
            Exit
    EndSwitch
WEnd
#617 Fixed GDI+: corrected help file examples for six ImageGet functions Gary rover
Description

corrections to six GDI+ ImageGet help file examples in beta 3.2.13.9

bmp instead of jpg file extension for ImageSaveToFile in three examples (Thanks Malkey) removed testing include line in submitted examples.

#1040 Fixed _ScreenCapture_Capture(): GDI object leak with cursor capture Jpm rover
Description

The returned bitmap handles from _WinAPI_GetIconInfo() are not deleted. (only $aIcon[4] bitmask has a valid handle when used with cursor)

modified _ScreenCapture_Capture() with added error handling in attached file

Environment = 3.3.0.0 under WIN_XP/Service Pack 2 X86

#include <ScreenCapture.au3>
Global $hBitmap, $hProcess, $aGDIObjs

$hProcess = _WinAPI_GetCurrentProcess()
If @error Then $hProcess = 0xFFFFFFFF

While 1
	Sleep(50)
	$hBitmap = _ScreenCapture_Capture("", 0, 0, 400, 300, True)
	_WinAPI_DeleteObject($hBitmap)
	$aGDIObjs = DllCall("user32.dll", "int", "GetGuiResources", "hwnd", $hProcess, "int", 0)
	ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : GDI Objects = ' & $aGDIObjs[0] & @CRLF)
	If $aGDIObjs[0] > 40 Then Exit
WEnd
Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.