Modify

Opened 16 years ago

Closed 16 years ago

#931 closed Bug (Fixed)

GuiCtrlSetResizing error with graphic controls

Reported by: martin Owned by: Jpm
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 Changed 16 years ago by Jpm

  • Milestone set to 3.3.1.0
  • Owner set to Jpm
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed in version: 3.3.1.0

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The owner will remain Jpm.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.