Custom Query (3922 matches)
Results (373 - 375 of 3922)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #662 | No Bug | ListView setting $LVS_EX_FLATSB flattens header only instead of scrollbars | ||
| Description |
Bug in AutoIt Version: 3.2.12.1 ListView setting $LVS_EX_FLATSB flattens header only instead of scrollbars ListView Control with $LVS_EX_FLATSB set does not flatten the scrollbars. The header though gets flattened, something not wished. See attached file for a demo. Running XP professional SP3, classic Windows theme. #include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <ListViewConstants.au3>
#include <WindowsConstants.au3>
#Include <GuiListView.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 409, 301, 302, 218)
$ListView1 = GUICtrlCreateListView("qwer|asdf|sdfg|zxcv|qwer|sdfg", 32, 24, 337, 169)
GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 0, 50)
GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 1, 50)
GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 2, 50)
GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 3, 50)
GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 4, 50)
GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 5, 50)
$ListView1_0 = GUICtrlCreateListViewItem("asdf", $ListView1)
$ListView1_1 = GUICtrlCreateListViewItem("sadf", $ListView1)
$ListView1_2 = GUICtrlCreateListViewItem("asdf", $ListView1)
$ListView1_3 = GUICtrlCreateListViewItem("asfdg", $ListView1)
$ListView1_4 = GUICtrlCreateListViewItem("sdfg", $ListView1)
$ListView1_5 = GUICtrlCreateListViewItem("asdf", $ListView1)
$ListView1_6 = GUICtrlCreateListViewItem("qwedf", $ListView1)
$ListView1_7 = GUICtrlCreateListViewItem("asfdg", $ListView1)
$ListView1_8 = GUICtrlCreateListViewItem("sdfg", $ListView1)
$ListView1_9 = GUICtrlCreateListViewItem("asdf", $ListView1)
$ListView1_10 = GUICtrlCreateListViewItem("fsdg", $ListView1)
$ListView1_11 = GUICtrlCreateListViewItem("dfg", $ListView1)
$ListView1_12 = GUICtrlCreateListViewItem("sdaf|df", $ListView1)
$ListView1_13 = GUICtrlCreateListViewItem("sfdg", $ListView1)
$ListView1_14 = GUICtrlCreateListViewItem("sdf", $ListView1)
$ListView1_15 = GUICtrlCreateListViewItem("ase", $ListView1)
$ListView1_16 = GUICtrlCreateListViewItem("", $ListView1)
$Button1 = GUICtrlCreateButton("Set $LVS_EX_FLATSB ", 32, 224, 161, 33, 0)
$Button2 = GUICtrlCreateButton("Clear $LVS_EX_FLATSB ", 216, 224, 169, 33, 0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
$OriginalExStyle = _GUICtrlListView_GetExtendedListViewStyle($ListView1)
While 1
$Msg = GUIGetMsg()
Switch $Msg
Case $GUI_EVENT_CLOSE
ExitLoop
Case $Button1
_GUICtrlListView_SetExtendedListViewStyle($ListView1, BitOR($OriginalExStyle,$LVS_EX_FLATSB))
Case $Button2
_GUICtrlListView_SetExtendedListViewStyle($ListView1, $OriginalExStyle)
EndSwitch
WEnd
|
|||
| #664 | No Bug | SciTE Magnifying (Zooming) doesn't properly update horizontal scrollbar | ||
| Description |
Using SciTE 1.77 full package from 2-11-2008 SciTE4AutoIt3.exe (4554Kb) and AutoIt Version: 3.2.12.1 Bug: SciTE Magnifying (Zooming) doesn't properly update horizontal scrollbar Description: When a line of code extends beyond the visible part of SciTE, the horizontal scrollbar when scrolled to the far right does not always show the complete line. The scorllbar adjusts itself to the lines visible, but even clicking the line does not update the scrollbar. You must click the right arrow to have the screen scroll further to the right. This bug happens when a smaller lines of text are also visible. It seems the scrollbar only makes those lines visible. The scrollbar behaves properly though in the SciTE light version 1.76. Included: a piece of code showing the bug. Click the IniWrite-line and zoom in. The end of the line cannot be seen, although the end of the ...($ComboDir)) line does. Image 1: showing the truncated line when the ...($ComboDir)) line is also visible. Image 2: the full line does show up now when the shorter ...($ComboDir)) line has moved out of sight. P.S.1: The Output message "Need to change au3.properties: BETA_AUTOIT =0" when running SciTE for the first time when no Beta is installed is disturbing: should the user do something? is this a SciTE beta? Help! Only after some research I found the LUA startup script issuing this info message. Please remove it or rephrase it to something like "No AutoIt beta version detected. Your au3.properties have been updated." P.S.2: the forum doesn't show emoticons but links to emoticons (IMG:http://www.autoitscript.com/forum/style_emoticons/autoit/smile.gif). Please correct this at last, it makes reading cumbersome. P.S.3: Please update the forum search engine. Many times it gives an error on almost every search. Only after several retries it comes up with the results. Searching within results is most needed too. Also: point to the pages where to find the item instead of pointing to the full article (with many pages). Please also allow viewing sorted results on date first. Presently it's a nightmare to find things on the forum, defying its usefullness. |
|||
| #665 | No Bug | _GUICtrlListView_SetColumnWidth et al. lack proper typecasting in GUICtrlSendMsg | ||
| Description |
Bug: _GUICtrlListView_SetColumnWidth et al. lack proper typecasting in GUICtrlSendMsg Description: the $iWidth parameter in _GUICtrlListView_SetColumnWidth($hWnd, $iCol, $iWidth) causes the UDF to run havock when $iWidth is a numeric string. E.g.: _GUICtrlListView_SetColumnWidth($ListView, 0, 100) works fine but _GUICtrlListView_SetColumnWidth($ListView, 0, "100") doesn't. This bug was found calling the UDF with a numeric value read from file as a string. The UDF source reveals that GUICtrlSendMsg is called without typecasting to the correct lParam type. Appearently GUICtrlSendMsg doesn't do it either, which is an even more severe bug. Demo: slightly extended demo from _GUICtrlListView_SetColumnWidth demo in help file. See below. #AutoIt3Wrapper_au3check_parameters=-d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6
#include <GuiConstantsEx.au3>
#include <GuiListView.au3>
$Debug_LV = False ; Check ClassName being passed to ListView functions, set to True and use a handle to another control to see it work
_Main()
Func _Main()
Local $hListView
GUICreate("ListView Set Column Width", 400, 300)
$hListView = GUICtrlCreateListView("Column 1|Column 2|Column 3|Column 4", 2, 2, 394, 268)
GUISetState()
; Change column 1 width
MsgBox(4160, "Information", "Column 1 Width: " & _GUICtrlListView_GetColumnWidth($hListView, 0))
_GUICtrlListView_SetColumnWidth($hListView, 0, 150)
MsgBox(4160, "Information", "Column 1 Width: " & _GUICtrlListView_GetColumnWidth($hListView, 0))
; next setting cases wrong setting/shows bug
$temp = "200"
_GUICtrlListView_SetColumnWidth($hListView, 0, $temp)
MsgBox(4160, "Information", "Column 1 Width: " & _GUICtrlListView_GetColumnWidth($hListView, 0))
; Loop until user exits
Do
Until GUIGetMsg() = $GUI_EVENT_CLOSE
GUIDelete()
EndFunc ;==>_Main
|
|||
