Opened 4 years ago
Last modified 4 years ago
#3865 closed Bug
Image Control resizing behave as forced $GUI_DOCKWIDTH and $GUI_DOCKHEIGHT — at Initial Version
| Reported by: | anonymous | Owned by: | |
|---|---|---|---|
| Milestone: | 3.3.16.1 | Component: | AutoIt |
| Version: | 3.3.15.1 | Severity: | None |
| Keywords: | GUICtrlSetResizng, GUICtrlCreatePic | Cc: |
Description
#include <GUIConstants.au3>
#include <WindowsConstants.au3>
Test()
Func Test()
GUICreate("My GUI picture", 350, 300, -1, -1, BitOR($WS_CAPTION, $WS_SIZEBOX + $WS_SYSMENU)) ; will create a dialog box that when displayed is centered
GUICtrlCreatePic('C:\Program Files (x86)\AutoIt3\Examples\GUI\logo4.gif', 10, 10, 330, 280)
GUICtrlSetResizing(-1, $GUI_DOCKALL)
GUISetState(@SW_SHOW)
While 1
Switch GUIGetMsg()
Case $GUI_EVENT_CLOSE, -3
ExitLoop
EndSwitch
WEnd
EndFunc
Note: See
TracTickets for help on using
tickets.
