Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (208 - 210 of 3883)

Ticket Resolution Summary Owner Reporter
#765 No Bug Tip Text for label not shown after using GUICtrlSetStyle() on that label MrCreatoR <mscreator@…>
Description

Hi,

First please check this thread, where the bug(?) is found.

It seems that when we using GUICtrlSetStyle on Label control (i checked only few more, such as button, checkbox, radio etc.), the tip that was/is set by GUICtrlSetTip() before/after using SetStyle function is not shown (destroyed?).

Reproducing example:

#include <GUIConstants.au3>
#include <StaticConstants.au3>

GUICreate("Test GUI", 250, 150)

$Label = GUICtrlCreateLabel("Test", 70, 45, 53, 15)

GUICtrlSetTip($Label, "My TIP")
GUICtrlSetStyle($Label, BitOr($GUI_SS_DEFAULT_LABEL, $SS_CENTER)) ;That's it, tip is not shown

GUISetState()

While 1
    Switch GUIGetMsg()
        Case $GUI_EVENT_CLOSE
            Exit
    EndSwitch
WEnd

P.S

There is a workaround for this issue:

#include <GUIConstants.au3>
#include <Constants.au3>
#include <StaticConstants.au3>
#include <WinAPI.au3>

GUICreate("Test GUI", 250, 150)

$Label = GUICtrlCreateLabel("Test", 70, 45, 53, 15)
GUICtrlSetTip($Label, "My TIP")

$iStyle = _WinAPI_GetWindowLong(GUICtrlGetHandle($Label), $GWL_STYLE)
GUICtrlSetStyle($Label, BitOr($iStyle, $SS_CENTER))

GUISetState()

While 1
    Switch GUIGetMsg()
        Case $GUI_EVENT_CLOSE
            Exit
    EndSwitch
WEnd

So my geuss that it's f problem in GUICtrlSetStyle()... Any way, the function should not affect on the Tip creation for the control.

#768 No Bug Help for FileInstall needs to be updated HeidiR
Description

Help for FileInstall needs to be updated to allow a variable for the source path as the statement below works correctly in 3.3.0.0.

FileInstall($src, $dest)

#776 No Bug $LVM_GETITEM missing in ListViewConstants.au3 Gary Zedna
Description

There is

Global Const $LVM_GETITEMA = ($LVM_FIRST + 5)
Global Const $LVM_GETITEMW = ($LVM_FIRST + 75)

but in TreeViewConstants.au3 there is

Global Const $TVM_GETITEMA = $TV_FIRST + 12
Global Const $TVM_GETITEM = $TVM_GETITEMA

So I think it should be in the same way in all UDFs.

so add to ListViewConstants.au3

Global Const $LVM_GETITEM = $LVM_GETITEMA

In the same way should be corrected also other constants.

Note: See TracQuery for help on using queries.