Jump to content
Sign in to follow this  
SkellySoul

GU List Image

Recommended Posts

SkellySoul

Hello :huh2:

I have been trying for awhile to figure this out but I haven't yet, and was wondering if I could please get some help ;)

What I would like is to have a GUI list view with a image on the right side of the text, I have managed to get a tree view with a image except that the image was on the left side of the text, but I don't want a tree view and need a list view.

Like this :alien:

Thanks

List View.bmp

Share this post


Link to post
Share on other sites
UEZ

I used something similar in The images will be loaded from a binary string.

Br,

UEZ


Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites
SkellySoul

I used something similar in The images will be loaded from a binary string.

Br,

UEZ

Thanks that is cool, but can I get rid of the column in the tree view so that it isn't draggable and also have it sort alphabetically, if so that is exactly what I am looking for :huh2:

Share this post


Link to post
Share on other sites
UEZ

Post your code and we will see...

Br,

UEZ


Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites
SkellySoul

Post your code and we will see...

Br,

UEZ

#include <GUIConstantsEx.au3>
#include <TreeViewConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 625, 443, 192, 124)
$TreeView1 = GUICtrlCreateTreeView(112, 40, 121, 97)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit

    EndSwitch
WEnd

untitled.bmp

Share this post


Link to post
Share on other sites
SkellySoul

Hmm, :huh2:

List, Sorts Alphabetically and doesn't have dragging columns.

List View & Tree View, Supports Icons, but doesn't sort alphabetically and has dragging columns which may not even be able to get rid of ;)

So I definably seem to have a situation that I am stuck in.

All I am really looking for is any kind of List, that can sort alphabetically, no dragging columns or titles, and is able to have a icon/image on the right hand side of the text...I was sure I seen something like this on the forum before but I guess I was wrong :ph34r:

Appreciate any help :alien:

Share this post


Link to post
Share on other sites
UEZ

Look in the help file for _GUICtrlListView_RegisterSortCallBack but I don't know how to get the icons to the right. :huh2:

Br,

UEZ

Edited by UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

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  

×