Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (64 - 66 of 3827)

Ticket Resolution Summary Owner Reporter
#2167 Fixed $WS_EX_LAYOUTRTL and GUICtrlCreateMenu causes bug Jon Emiel Wieldraaijer
Description

When using $WS_EX_LAYOUTRTL in combination with GUICtrlCreateMenu between GUICreate and GUISetState The GUI isn't displayed correct.

When placing GUICtrlCreateMenu at the end of the GUI Creation just before GUISetState the GUI is displayed correct but the menuitems aren't working

Starting with GUICreate followed by GUISetState and placing the rest of the GUI after GUISetState everything works perfect.

But this will mean all examples in the help files must be changed.

Further

I believe there is a bigger problem. I use GUICtrlSetState($TAB, $GUI_SHOW) a lot .. and with version 3.3.8.1 it often occurs other controls of other tabs are displayed on the Tab i show. I can prevent this by placing the GUICtrlSetState($TAB, $GUI_SHOW) as last option in the loop.. In version 3.3.6.1 this problem did not exist.

http://www.autoitscript.com/forum/topic/139094-ws-ex-layoutrtl-bug-or-no-bug/

Thnx

Best regards,

Emiel Wieldraaijer

#1925 Completed $WS_EX_LAYOUTRTL missing in documentation guinness munzyaron@…
Description

hi.

Pls add to the documentation "GUI Control Styles" the $WS_EX_LAYOUTRTL style. I was developing a gui with hebrew text, and was searching this for a long time...

Brgrds, Yaron Munz

#2300 Rejected $WS_EX_MDICHILD style affects all childs created after it so they act like MDI childs AoRaToS
Description

I have noticed a weird behavior when using $WS_EX_MDICHILD.

I create a main GUI with 2 buttons. Each button creates a new GUI. The first one without $WS_EX_MDICHILD. The second one with $WS_EX_MDICHILD.

I click the first one and the other GUI is created (without $WS_EX_MDICHILD): If I drag the main GUI the other GUI is separate and doesn't move, which is expected.

Then I click the second one for the next GUI to be created (with $WS_EX_MDICHILD): If I now drag the main GUI, both of the other GUIs move with it.

If I close the second GUI, the first one still moves if I drag the main one. If I close the first one and re-open it, it still moves in relation to the Main GUI (if I drag the main GUI it follows)

Is this how it's supposed to be? Does the style affect all GUIs created even without the style?

Here is a script to try it out:

(Follow the instructions above)

#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>

Opt("GUIOnEventMode", 1)
Opt("GUICloseOnESC", 0)

Global $Main

MainGUI()


Func MainGUI()
    $Main = GUICreate("Main", 350, 350)
    GUISetOnEvent($GUI_EVENT_CLOSE, "WindowClose")
    $button1 = GUICtrlCreateButton("Child 1 - no MDI_CHILD", 75, 100, 150, 20)
    GUICtrlSetOnEvent($button1, "Child1")
    $button2 = GUICtrlCreateButton("Child 2 - with MDI", 75, 150, 150, 20)
    GUICtrlSetOnEvent($button2, "Child2")
    GUISetState(@SW_SHOW, $Main)
EndFunc

Func Child1()
    $ChildGUI1 = GUICreate("Child 1 - no MDI_CHILD", 180, 180, 100, 100, Default, Default, $Main)
    GUISetOnEvent($GUI_EVENT_CLOSE, "WindowClose")
    GUISetState(@SW_SHOW, $ChildGUI1)
EndFunc

Func Child2()
    $ChildGUI2 = GUICreate("Child 2 - with MDI", 180, 180, 100, 100, Default, $WS_EX_MDICHILD, $Main)
    GUISetOnEvent($GUI_EVENT_CLOSE, "WindowClose")
    GUISetState(@SW_SHOW, $ChildGUI2)
EndFunc


Func WindowClose()
    GUIDelete(@GUI_WinHandle)
    If @GUI_WinHandle = $Main Then
        Exit
    EndIf
EndFunc


While 1
    Sleep(100)
WEnd

http://www.autoitscript.com/forum/topic/147406-weird-behavior-with-ws-ex-mdichild/

Note: See TracQuery for help on using queries.