Achilles Posted June 23, 2007 Share Posted June 23, 2007 I have a label that has a context menu... The context menu is working fine, the problem is that I want the label to change colors as soon as you right click on it. Any ideas? My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
Josbe Posted June 23, 2007 Share Posted June 23, 2007 I guess that you want: AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Link to comment Share on other sites More sharing options...
Generator Posted June 23, 2007 Share Posted June 23, 2007 Dang I was late, this is what i did but it didn't work, and his method works the best so use his #include <GUIConstants.au3> #include<misc.au3> $gui=GuiCX]J ÌÎNÕÝ[ÉÌÎNËL BÌÍÛX[HÝZPÝÜX]SX[ ÌÎNÉ3²ÂRÂRÂÂÂb33cµ55õ5Tä´Tâ¢wV7G&Å6WD&´6öÆ÷"ÓÂC3s¢ÀÌØíµ¹ÔôÕ¥ Ñɱ ÉÑ ½¹ÑáÑ5¹Ô ÀÌØí±°¤(ÀÌØí±±5¹Õ%Ñ´ôÕCtrlCreateMenuItem('Test me!', $menu) GuiSetState() WhilHBWÐÚXÚÊ BÝÚ]ÚÝZQÙ]ÙÊ BØÙHLÂ^]66Rb33c¶Æ&VÄÖVçTFVТ×6v&÷Âb33²b33²Âb33µ4Bââââb3äì¤((¹MÝ¥Ñ (%}%ÍAÉÍÍ ÅÕ½ÐìÀÈÅÕ½Ð줹} ¡¬ ¤ô Then GuiCtrlSetBkColor(-1, 0x00ff00) WEnd Func _Check() Local $WinPoÏUÚ[Ù]ÜÊ ÌÍÙÝZK ][ÝÉ][ÝÊBSØØ[ ÌÍÓ[ÝÙTÜÏS[ÝÙQÙ]ÜÊ BRYäõBvä7FfRb33c¶wVÂgV÷C²gV÷C²FVâ&WGW&â bb33c´Ö÷W6U÷5³ÒfwìôÀÌØí]¥¹A½ÍlÁt¬Ô¹ÀÌØí5½ÕÍA½ÍlÁt±ÐìôÀÌØí]¥¹A½ÍlÁt¬äÔQ¡¸($%%#036;MousePos[1]>=$WinPos[1]+20 AND $MousePos[0]<=$WinÜÖÌWJÌNMH[]BQ[ÙBBT]Q[Y[[ Link to comment Share on other sites More sharing options...
Achilles Posted June 23, 2007 Author Share Posted June 23, 2007 (edited) I guess that you want:some autoit code that got garbled (if that's a word...)Hmm, how to describe this best... maybe: d'Oh (or however Homer would say it...). Thanks for that, I should of thought of that... Edited June 23, 2007 by Piano_Man My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now