Sign in to follow this  
Followers 0
buzz44

DEAR GOD HELP ME

3 posts in this topic

#1 ·  Posted (edited)

I am quite quite quite MAD! WTF!. WHEN I RUN THIS.

#Include <GUIConstants.au3>

$testggg = GUICreate("Media Player", 795, 220, 0, 0,-1,$WS_POPUP)

$eee = GUICtrlCreateListView("", 10, 30, 781, 150, $LVS_EDITLABELS)

$CM = GUICtrlCreateContextMenu($eee)
$Delete_CM = GUICtrlCreateMenuItem("Delete", $CM)

GUISetState()

While 1
   $msg = GUIGetMsg()
   Select
      Case $msg = $Delete_CM
         msgbox(0,"","")
   EndSelect
WEnd

I GET CONSTANT MESSAGE BOXES !!!!!!! WHY WHY WHY.

THIS IS ORIGINALLY FROM A SCRIPT 2000 LINES LONG AND I HAD TO SORT THROUGH THE WHOLE CRAPPY THING JUST TO NARROW IT DOWN TO THIS EXAMPLE.

FUNNY THIS IS IF I TRY THIS.

#Include <GUIConstants.au3>

$testggg = GUICreate("Media Player", 795, 220, 0, 0,-1);,$WS_POPUP)

$eee = GUICtrlCreateListView("", 10, 30, 781, 150, $LVS_EDITLABELS)

$CM = GUICtrlCreateContextMenu($eee)
$Delete_CM = GUICtrlCreateMenuItem("Delete", $CM)

GUISetState()

While 1
   $msg = GUIGetMsg()
   Select
      Case $msg = $Delete_CM
         msgbox(0,"","")
   EndSelect
WEnd

IT WORKS FINE. THE ABOVE EXAMPLE USES THE DEFUALT POPUP INSTEAD OF $WS_POPUP.

I HAVE REINSTALLED AUTOIT LIKE 5 TIMES WITH THE STABLE/LATEST BETA AND IT STILL WONT CHANGE. PLEASE SOMEONE TELL ME THIS IS A BUG SO I CAN STOP PULLING MY HAIR OUT.

Excuse the caps.

Edited by Burrup

[u]Old Projects:[/u]A3MORGB2Hex[u]Old Functions:[/u]_TimeAdd/_TimeSub_AddComma_BubbleSort _RippleSort "He who does not understand your silence will probably not understand your words." - Elbert Hubbard.

Share this post


Link to post
Share on other sites



I am not sure of the thread title either. Please refrain from caps and poor titles.

Question is. Why are you using $WS_POPUP as a Extended Style rather than a Style ?

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Question is. Why are you using $WS_POPUP as a Extended Style rather than a Style ?

<{POST_SNAPBACK}>

Because I'm an idiot and I fell like throwing myself of a cliff for being so stupid.

I apologise for the title and caps, I was just frustrated. Thanks.

Edited by Burrup

[u]Old Projects:[/u]A3MORGB2Hex[u]Old Functions:[/u]_TimeAdd/_TimeSub_AddComma_BubbleSort _RippleSort "He who does not understand your silence will probably not understand your words." - Elbert Hubbard.

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