Sign in to follow this  
Followers 0
chun914

2 questions about gui

2 posts in this topic

1, my child win is always display on the top of the main windows, even if the main windows is activated. The child windows still on the top of the main windows. Any options i can make the main windows at top when it's activated ?

2. anyway to add the function when mouse pointer is over a listview item. And the width is not enough. A little boxes is displayed.

Share this post


Link to post
Share on other sites



1, my child win is always display on the top of the main windows, even if the main windows is activated. The child windows still on the top of the main windows. Any options i can make the main windows at top when it's activated ?

2. anyway to add the function when mouse pointer is over a listview item. And the width is not enough. A little boxes is displayed.

1.Show the example!

2. Use $LVS_EX_INFOTIP extended style.

Example:

#include <GuiConstants.au3>

$hGUI = GUICreate("Test GUI", 300, 200)

$hListView = GUICtrlCreateListView("Items|SubItems", 10, 10, 280, 160, -1, $LVS_EX_INFOTIP)

GUICtrlCreateListViewItem("Long lon long item|Long lon long item Long lon long item Long lon long item", $hListView)

GUISetState()

Do
Until GUIGetMsg() = $GUI_EVENT_CLOSE
:)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0