buzz44 1 Posted May 7, 2005 (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 WEndI 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 WEndIT 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 May 7, 2005 by Burrup qq Share this post Link to post Share on other sites
MHz 80 Posted May 7, 2005 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
buzz44 1 Posted May 7, 2005 (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 May 7, 2005 by Burrup qq Share this post Link to post Share on other sites