Sign in to follow this  
Followers 0
Achilles

Lets make right click do something!

4 posts in this topic

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]

Share this post


Link to post
Share on other sites



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[[Â

Share this post


Link to post
Share on other sites

#4 ·  Posted (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 by Piano_Man

My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list]

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