Sign in to follow this  
Followers 0
layer

GUICtrlCreateListView

6 posts in this topic

yellow... im creating a media player with a playlist but i got a problem... :lmao: im using GUICtrlCreateListView and i made it list the songs from my music folder... then i have a play button.. so when you select say, "Trapt - Headstrong" then it would get the direct name of the mp3 file and play it... ok i got it, except using a msgbox, some return weird names like 68 :) some just say playlist, and some just have numbers... is this because of my music, or something wrong? some have no value... heres a few pics.. :) some also just have weird labesl :)o:)


FootbaG

Share this post


Link to post
Share on other sites



I haven't been able to test ListView yet, but as far as I see there is no need

for a Listview in your script. Why not just use List ? However there might

be something I'm missing or not seeing.

(guess I have to get home and do some coding,

now that there have come a rival mediaplayer-script.. :lmao:)

Share this post


Link to post
Share on other sites

You could possibly use Chr(51) through Chr(61) of the "Webdings" font (standard font with Windows 98 and above) for the buttons:

GuiCreate("Example", 500, 200)
For $i = 0 to 10
   GuiCtrlCreateButton(Chr(51+$i), 40*$i, 10, 40, 40)
   GuiCtrlSetFont(-1, 24, 400, 0, "Webdings")
Next
GuiSetState()
While GuiGetMsg() <> -3
Wend

Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!

Share this post


Link to post
Share on other sites

You could possibly use Chr(51) through Chr(61) of the "Webdings" font (standard font with Windows 98 and above) for the buttons:

GuiCreate("Example", 500, 200)
For $i = 0 to 10
   GuiCtrlCreateButton(Chr(51+$i), 40*$i, 10, 40, 40)
   GuiCtrlSetFont(-1, 24, 400, 0, "Webdings")
Next
GuiSetState()
While GuiGetMsg() <> -3
Wend

<{POST_SNAPBACK}>

:lmao: Nice finding o:)

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

(guess I have to get home and do some coding,

now that there have come a rival mediaplayer-script.. )

youve made one too!? awesome! :) im usre it loos much better then mine.. thats the problem with my scripts.. lol, they look bad and get the job done with minimum requirements o:)

btw, CS thanks for the idea, ill try to implement it right now :) and Helge.. the reason i didint use list, was because i couldnt get it working the first time lol :lmao:

Edited by layer

FootbaG

Share this post


Link to post
Share on other sites

but does anyone know of the other problem? :lmao: i cant figure it out..


FootbaG

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