Click here to Skip to main content
16,004,890 members
Home / Discussions / C#
   

C#

 
QuestionMenuItem MouseOver Event? Pin
Pikebu18-May-05 23:55
Pikebu18-May-05 23:55 
AnswerRe: MenuItem MouseOver Event? Pin
Ashok Dhamija19-May-05 0:43
Ashok Dhamija19-May-05 0:43 
AnswerRe: MenuItem MouseOver Event? Pin
Gary Perkin19-May-05 1:18
Gary Perkin19-May-05 1:18 
GeneralRe: MenuItem MouseOver Event? Pin
Pikebu19-May-05 1:46
Pikebu19-May-05 1:46 
GeneralRe: MenuItem MouseOver Event? Pin
Gary Perkin19-May-05 2:29
Gary Perkin19-May-05 2:29 
GeneralRe: MenuItem MouseOver Event? Pin
Pikebu19-May-05 2:45
Pikebu19-May-05 2:45 
GeneralRe: MenuItem MouseOver Event? Pin
Gary Perkin19-May-05 2:50
Gary Perkin19-May-05 2:50 
GeneralRe: MenuItem MouseOver Event? Pin
Gary Perkin19-May-05 2:47
Gary Perkin19-May-05 2:47 
Hello again,

Just did a bit of experimenting...
I set OwnerDraw = true on a MainMenu MenuItem, and in the DrawItem handler I output e.State to a listbox. When the mouse entered the menuitem, the state was "HotLight, NoAccelerator", but when it left, it was "NoAccelerator" This will let you determine if the mouse is entering or leaving, and nobody needs to click anything.

Not sure if this helps or not - you'll have to draw your own MainMenu items (you may already be doing this).

Good luck!
Gary.
AnswerRe: MenuItem MouseOver Event? Pin
Anonymous19-May-05 3:17
Anonymous19-May-05 3:17 
Generalfunction InternetDial Pin
mikica1718-May-05 23:40
mikica1718-May-05 23:40 
GeneralType of project Pin
rathishps18-May-05 23:03
rathishps18-May-05 23:03 
GeneralRe: Type of project Pin
MoustafaS18-May-05 23:06
MoustafaS18-May-05 23:06 
GeneralRe: Type of project Pin
rathishps19-May-05 0:06
rathishps19-May-05 0:06 
GeneralRe: Type of project Pin
Ali Iqbal Khan18-May-05 23:21
Ali Iqbal Khan18-May-05 23:21 
GeneralRe: Type of project Pin
rathishps19-May-05 0:10
rathishps19-May-05 0:10 
GeneralRe: Type of project Pin
MoustafaS19-May-05 3:57
MoustafaS19-May-05 3:57 
GeneralRe: Type of project Pin
rathishps19-May-05 18:07
rathishps19-May-05 18:07 
GeneralRe: Type of project Pin
MoustafaS20-May-05 1:34
MoustafaS20-May-05 1:34 
QuestionHow to select data from dataset in to single value control Pin
shashank veerkar18-May-05 22:51
shashank veerkar18-May-05 22:51 
AnswerRe: How to select data from dataset in to single value control Pin
Ali Iqbal Khan18-May-05 23:27
Ali Iqbal Khan18-May-05 23:27 
AnswerRe: How to select data from dataset in to single value control Pin
Vinayaka Krishna Shenoy19-May-05 23:40
Vinayaka Krishna Shenoy19-May-05 23:40 
QuestionHow to insert NULL value into database? Pin
oohungoo18-May-05 22:26
oohungoo18-May-05 22:26 
AnswerRe: How to insert NULL value into database? Pin
mav.northwind18-May-05 23:06
mav.northwind18-May-05 23:06 
GeneralSerializing a class with member object[ ] Pin
Anonymous18-May-05 22:13
Anonymous18-May-05 22:13 
GeneralRe: Serializing a class with member object[ ] Pin
Marc Clifton19-May-05 1:21
mvaMarc Clifton19-May-05 1:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.