MSDOTnet.org Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How do show main menus programmatically?

 
Post new topic   Reply to topic    MSDOTnet.org Forum Index -> Compact Framework
Author Message
RobC



Joined: 17 Dec 2007
Posts: 4

PostPosted: Fri Feb 01, 2008 6:45 am    Post subject: How do show main menus programmatically? Reply with quote

I need to get a main menu to expand, via code, as thought clicked by the
user. Any ideas has how to achieve this?

Archived from group: microsoft>public>dotnet>framework>compactframework
Back to top
View user's profile Send private message
Peter Foot



Joined: 01 Sep 2007
Posts: 14

PostPosted: Fri Feb 01, 2008 8:22 pm    Post subject: Re: How do show main menus programmatically? Reply with quote

You can simulate a screen tap by P/Invoking the mouse_event function.
Simulate a left button down and the left button up to represent a tap.
See here for details:-
http://www.peterfoot.net/EmulateScreenTaps.aspx

Peter

--
Peter Foot
Microsoft Device Application Development MVP
www.peterfoot.net | www.inthehand.com
In The Hand Ltd - .NET Solutions for Mobility


"RobC" wrote in message @microsoft.com...
>I need to get a main menu to expand, via code, as thought clicked by the
> user. Any ideas has how to achieve this?
Back to top
View user's profile Send private message
RobC



Joined: 17 Dec 2007
Posts: 4

PostPosted: Sat Feb 02, 2008 5:55 am    Post subject: Re: How do show main menus programmatically? Reply with quote

Perfect - thanks Peter

"Peter Foot" wrote:

> You can simulate a screen tap by P/Invoking the mouse_event function.
> Simulate a left button down and the left button up to represent a tap.
> See here for details:-
> http://www.peterfoot.net/EmulateScreenTaps.aspx
>
> Peter
>
> --
> Peter Foot
> Microsoft Device Application Development MVP
> www.peterfoot.net | www.inthehand.com
> In The Hand Ltd - .NET Solutions for Mobility
>
>
> "RobC" wrote in message
> @microsoft.com...
> >I need to get a main menu to expand, via code, as thought clicked by the
> > user. Any ideas has how to achieve this?
>

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
References for programming skins and custom Win menus? Does anyone know of a good reference for customizing Windows menus and programming skins in CF?

chnage main window ? I want to have one main window at a time (better display in running app screen), however I didn't to change it. I try code like where old form is the one I used to start the application (Application.

Menus and MasterPages I have 3 master pages. The second has a contents object that contains the horizontal menu, the third a contents object that contains the vertical menus and all WebForms use master3 as their Master Page. The content of any WebForms is below the horizontal

English Language Menus Greetings! I have a German version of .NET VC++ with German menus. Is there an way to change them to English? My system is W2K (English). I tried the option of changing the menus to the same language as Word (that is also an English version) in the option

SetMenuItemInfo/GetMenuItemInfo - OwnerDraw Menus Hi Does anyone have an example of using to create owner draw menus (I need to do it this way because I'm owner drawing all the menus, including the system menu). Thanks Paul
Post new topic   Reply to topic    MSDOTnet.org Forum Index -> Compact Framework All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group