Hello!!!
i am facing some problem with my mouse over menu which will change colour whenever the user mouse over on it. my menu consist of 2 main option and when u mouse over 1 of the main option it has a sub menu which consist of 2 sub option which enable user to click on it. Another main option don't have sub menu, it just allow user to click on it.
but the problem is the sub menu always appear whenever i mouse over the sub menu coordinate(x,y) without mouse over the main menu, which is annoying, for example i set the sub menu will appear when x = 30, y = 5, then it will appear when i mouse over (30,5).
the sub menu should appear after i mouse over the main option, then hold to let the user choose n click on it, and disappear when the mouse moved leave the range of the main option .
here i attach my cpp file, hope that u guys can have a look on it and help me to solve my problem!!
thanks a lot!!
os:winxp
compiler:MinGW
this program should run under win32console mode.
thankyou....