Click here to Skip to main content
15,897,371 members
Home / Discussions / C#
   

C#

 
GeneralRe: Xml Deserialization Pin
VCsamir4-Apr-10 20:21
VCsamir4-Apr-10 20:21 
QuestionPassing Value From One Form To Another! [modified] Pin
Sr...Frank30-Mar-10 18:22
Sr...Frank30-Mar-10 18:22 
AnswerRe: Passing Value From One Form To Another! Pin
Anubhava Dimri30-Mar-10 18:27
Anubhava Dimri30-Mar-10 18:27 
AnswerRe: Passing Value From One Form To Another! Pin
Praveen Raghuvanshi30-Mar-10 18:45
professionalPraveen Raghuvanshi30-Mar-10 18:45 
GeneralRe: Passing Value From One Form To Another! Pin
Sr...Frank30-Mar-10 18:56
Sr...Frank30-Mar-10 18:56 
GeneralRe: Passing Value From One Form To Another! Pin
Praveen Raghuvanshi30-Mar-10 21:43
professionalPraveen Raghuvanshi30-Mar-10 21:43 
AnswerRe: Passing Value From One Form To Another! Pin
DaveyM6931-Mar-10 0:43
professionalDaveyM6931-Mar-10 0:43 
QuestionRepositioning the cursor Pin
skhan1730-Mar-10 12:49
skhan1730-Mar-10 12:49 
Hello,
I am looking for ways to reposition the cursor when I am clicked on the first menu item from a form menu. It should create a jumping effect so the user doesn't have to scroll through the other menus which don't have a child menu.

for example.... one file menu has 4 items. Namely 1, 2, 3, 4 now only item 2 has child menu items. namely 2.1, 2.2, 2.3. I want the cursor to be on 2.1 when the user brings the mouse on 2.

Please let me know how to do that. I am trying the following:


private void toolStripMenuItem2_MouseHover(object sender, EventArgs e)
        {
            toolStripMenuItem2.ShowDropDown();
            Point LocalMousePosition_1 = this.PointToClient(Cursor.Position);
            System.Windows.Forms.Cursor.Position = new Point(500, 500);  //This just repositions the cursor to 500,500 position but not in the net child menu. This is where I am stuck.

            //Point LocalMousePosition_2 = toolStripMenuItem2_1.PointToClient(Cursor.Position);
            MessageBox.Show(LocalMousePosition_1+"Happy New Year to DOTNETSPIDER.COM guys");        
        } 

AnswerRe: Repositioning the cursor Pin
PIEBALDconsult30-Mar-10 12:56
mvePIEBALDconsult30-Mar-10 12:56 
AnswerRe: Repositioning the cursor Pin
skhan1730-Mar-10 13:11
skhan1730-Mar-10 13:11 
AnswerRe: Repositioning the cursor Pin
Paw Jershauge30-Mar-10 13:24
Paw Jershauge30-Mar-10 13:24 
GeneralRe: Repositioning the cursor Pin
skhan1730-Mar-10 13:36
skhan1730-Mar-10 13:36 
GeneralRe: Repositioning the cursor Pin
Paw Jershauge30-Mar-10 13:40
Paw Jershauge30-Mar-10 13:40 
GeneralRe: Repositioning the cursor Pin
Paw Jershauge30-Mar-10 13:53
Paw Jershauge30-Mar-10 13:53 
GeneralRe: Repositioning the cursor Pin
PIEBALDconsult30-Mar-10 14:13
mvePIEBALDconsult30-Mar-10 14:13 
GeneralRe: Repositioning the cursor Pin
skhan1730-Mar-10 14:22
skhan1730-Mar-10 14:22 
AnswerRe: Repositioning the cursor Pin
Alan N30-Mar-10 15:19
Alan N30-Mar-10 15:19 
GeneralRe: Repositioning the cursor Pin
skhan1730-Mar-10 15:38
skhan1730-Mar-10 15:38 
AnswerRe: Repositioning the cursor Pin
Som Shekhar30-Mar-10 18:38
Som Shekhar30-Mar-10 18:38 
GeneralRe: Repositioning the cursor Pin
skhan1730-Mar-10 19:47
skhan1730-Mar-10 19:47 
GeneralRe: Repositioning the cursor Pin
Som Shekhar30-Mar-10 20:01
Som Shekhar30-Mar-10 20:01 
GeneralRe: Repositioning the cursor Pin
Som Shekhar30-Mar-10 20:44
Som Shekhar30-Mar-10 20:44 
Questioncustom control properties Pin
xilefxilef30-Mar-10 10:13
xilefxilef30-Mar-10 10:13 
AnswerRe: custom control properties Pin
Paw Jershauge30-Mar-10 12:52
Paw Jershauge30-Mar-10 12:52 
GeneralRe: custom control properties Pin
xilefxilef30-Mar-10 13:18
xilefxilef30-Mar-10 13:18 

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.