Modify

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 J-Paul Mesnage, 17 years ago

Milestone: 3.3.1.0
Owner: set to J-Paul Mesnage
Resolution: Fixed
Status: newclosed

Fixed in version: 3.3.1.0

Modify Ticket

Action
as closed The owner will remain J-Paul Mesnage.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.