Custom Query (3922 matches)
Results (280 - 282 of 3922)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #2379 | Duplicate | WS_EX_LAYOUTRTL and GUICtrlCreateMenu causes bug | ||
| Description |
Hi, I reported this bug 16 months ago (Ticket 2167) but Jon rejected the bug like many others two weeks ago.. If you run the code below in version 3.3.8.1 and even in the latest 3.3.9.15.. it produces attached file example1.png. If you remove the line $Menu = GUICtrlCreateMenu("help") from the example the problem does not exist.. if you place GUISetState() after GUICreate it produces attached file example2.png .. it looks good but it does not show the button on the first tab .. only after switching the tab.. the button will be visible again.. #Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_UseUpx=n
#AutoIt3Wrapper_Res_requestedExecutionLevel=asInvoker
#AutoIt3Wrapper_Add_Constants=n
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
; *** Start added by AutoIt3Wrapper ***
;http://www.autoitscript.com/forum/topic/139094-ws-ex-layoutrtl-bug-or-no-bug/
#include <UpDownConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
$Parent = GuiCreate ("Test", 400, 400, -1, -1, BitOR($WS_SIZEBOX, $WS_SYSMENU, $WS_MINIMIZEBOX, $WS_MAXIMIZEBOX), $WS_EX_LAYOUTRTL)
$Menu = GUICtrlCreateMenu("help")
$Tab = GUICtrlCreateTab(10, 10, 350, 300)
$Tab1 = GUICtrlCreateTabItem("Tab1")
$Restart = GuictrlCreateButton("Restart", 200,100,150,20)
$Tab2 = GUICtrlCreateTabItem("Tab2")
$Port = GUICtrlCreateInput("21", 200, 200, 150, 20)
$PortUPDown = GUICtrlCreateUpdown($Port, BitOR($UDS_NOTHOUSANDS, $UDS_WRAP))
$Tab3 = GUICtrlCreateTabItem("Tab3")
GUISetState()
While 1
$msg = GUIGetMsg()
If $msg = $GUI_EVENT_CLOSE Then Exit
If $msg = $Restart Then
Run('"' & @AutoItExe & '"' & ' /AutoIt3ExecuteScript "' & @ScriptFullPath & '" /restart')
Exit
EndIf
WEnd
|
|||
| #2923 | Fixed | Brokenlink in Help GUICtrlCreateEdit | ||
| Description |
To obtain the value of the control see GUICtrlRead(). To set or change information in the control see GUICtrlUpdate...() functions GUICtrlUpdate...() ????? |
|||
| #1270 | Completed | GUISetIcon (@ScriptName) sets the 48x48 icon to the GUI | ||
| Description |
Look at the icons used for displaying the program when pressing ALT-TAB. The globe is much better when no GuiSetIcon(@ScriptName) is used.I know it isn't necessary to use it.. but i still believe it's a bug. #Region
#AutoIt3Wrapper_icon=globe.ico
#AutoIt3Wrapper_outfile=IconBug.exe
#AutoIt3Wrapper_UseUpx=n
#EndRegion
#include <GUIConstantsEx.au3>
GUICreate("Icon Bug", 315, 260)
; GuiSetIcon (@Scriptname) produces the Icon Bug with ALT-TAB / System Tray
; Wrong icon is displayed on Vista/Windows 7 i Believe 48x48 instead of a better one
; Remove the GuiSetIcon and the icon is displayed correct
GuiSetIcon(@ScriptName)
GuiCtrlCreateLabel("Hello World", 10, 10, 200, 20)
GUISetState()
While 1
$msg = GUIGetMsg()
If $msg = $GUI_EVENT_CLOSE Then exit
Wend
|
|||
