Opened 17 years ago
Closed 17 years ago
#931 closed Bug (Fixed)
GuiCtrlSetResizing error with graphic controls
| Reported by: | martin | Owned by: | J-Paul Mesnage |
|---|---|---|---|
| Milestone: | 3.3.1.0 | Component: | AutoIt |
| Version: | 3.3.0.0 | Severity: | None |
| Keywords: | GuiCtrlSetResizing | Cc: |
Description
The resizing for a graphic control set by GuiCtrlSetResizing does not override the resizing set in AutoItSetOption using GUIResizeMode.
This example demonstrates the problem
[code]
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
Opt("GuiREsizeMode", $GUI_DOCKALL)
$gui = GUICreate("graphic resizing",-1,-1,-1,-1,BitOr($GUI_SS_DEFAULT_GUI,$WS_SIZEBOX))
$btn = GUICtrlCreateButton("button",30,50,80,22)
GUICtrlSetResizing(-1, BitOR($GUI_DOCKHEIGHT, $GUI_DOCKWIDTH, $GUI_DOCKLEFT, $GUI_DOCKBOTTOM))
$g1 = GUICtrlCreateGraphic(50,120,100,100)
GUICtrlSetBkColor(-1,0xffffff)
GUICtrlSetResizing(-1, BitOR($GUI_DOCKHEIGHT, $GUI_DOCKWIDTH, $GUI_DOCKLEFT, $GUI_DOCKBOTTOM))
GUISetState()
while GUIGetMsg() <> -3
WEnd
code
Attachments (0)
Change History (1)
comment:1 by , 17 years ago
| Milestone: | → 3.3.1.0 |
|---|---|
| Owner: | set to |
| Resolution: | → Fixed |
| Status: | new → closed |

Fixed in version: 3.3.1.0