Jump to content

GUICtrlCreateListView


layer
 Share

Recommended Posts

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
Link to comment
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:)

Link to comment
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!
Link to comment
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:)
Link to comment
Share on other sites

(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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...