Click here to Skip to main content
16,008,719 members
Home / Discussions / Mobile
   

Mobile

 
QuestionC++ Getting Current Time for smartphone Pin
Lou7624-Jul-08 2:57
Lou7624-Jul-08 2:57 
AnswerRe: C++ Getting Current Time for smartphone Pin
tapan.x.bansal25-Jul-08 6:09
tapan.x.bansal25-Jul-08 6:09 
QuestionConnecting a WindowsCE devic to wireless router and transfering data to application server. [modified] Pin
bilal haider23-Jul-08 20:22
bilal haider23-Jul-08 20:22 
QuestionDeploying in a real device? Pin
Ian Uy23-Jul-08 18:50
Ian Uy23-Jul-08 18:50 
AnswerRe: Deploying in a real device? Pin
Parasmani Swamy29-Jul-08 0:32
Parasmani Swamy29-Jul-08 0:32 
Question.Net C.F. 2.0: Sent SMS don't get stored in the PocketOutlook "SMS\Sent Items" container Pin
Marco [Stinger]23-Jul-08 4:05
Marco [Stinger]23-Jul-08 4:05 
Questionfull gdi+ on .NET CF 2.0; how to p/invoke ImageCodecInfo? Pin
kacper8623-Jul-08 1:35
kacper8623-Jul-08 1:35 
QuestionMenuItem.Click event stops working Pin
Mark Lison17-Jul-08 5:57
Mark Lison17-Jul-08 5:57 
I have a WM5 .NetCF 2 C# application written in VS2005.

It has alot of menus and at runtime I change which ones are displayed depending on which screen is being shown to the user. After a while the MenuItem.Click event stops working, strangly the MenuItem.Popup event still works. I've trimmed back to test appliction to reproduce the problem:

Create a new application, add a button with the following Click code:
private void button_Click( object sender, EventArgs e )
{
  for ( int i = 0; i < 5000; i++ )
  {
    // next two line to show progress around the loop
    button1.Text = i.ToString();
    Application.DoEvents();
    // these two eventualy cause the problem
    mainMenu1.MenuItems.Clear();
    mainMenu1.MenuItems.Add(menuItem1);
  }
}


Create a menu structure with 20 items like the following:

MyMenu
|
1--1A
|  1B
|  1C
|
2--2A
   2B--2BX
   |   2BY
   |   2BZ
   2C
...


Add the following code to some of the menu items:

private void menuItem_Click( object sender, EventArgs e )
{
  MessageBox.Show("Click");
}


Run the application, test the linked up menuItem to check the message is shown, press the button, wait for it to finish, try to press the menuItem, nothing happens. Please help.

Mark
AnswerRe: MenuItem.Click event stops working Pin
Mark Lison31-Jul-08 0:14
Mark Lison31-Jul-08 0:14 
QuestionTransparent Controls in WM 5.0 Pin
akirilov15-Jul-08 5:02
akirilov15-Jul-08 5:02 
QuestionInvalidProgramException: When running the WM6.0 application on the WM5.0 device even after the Platform is changed Pin
kaushik_Manoj15-Jul-08 0:35
kaushik_Manoj15-Jul-08 0:35 
QuestionP/Invoke can not find dll Pin
xibeifeijian14-Jul-08 20:51
xibeifeijian14-Jul-08 20:51 
AnswerRe: P/Invoke can not find dll Pin
Luc Pattyn16-Jul-08 2:00
sitebuilderLuc Pattyn16-Jul-08 2:00 
GeneralRe: P/Invoke can not find dll Pin
xibeifeijian20-Jul-08 15:21
xibeifeijian20-Jul-08 15:21 
Questionopening, reading, and writing to a file (text or otherwise) on a pocket pc using visual basic net 2003 Pin
linuxskater13-Jul-08 17:13
linuxskater13-Jul-08 17:13 
AnswerRe: opening, reading, and writing to a file (text or otherwise) on a pocket pc using visual basic net 2003 Pin
Rupesh Kumar Swami14-Jul-08 20:27
Rupesh Kumar Swami14-Jul-08 20:27 
GeneralRe: opening, reading, and writing to a file (text or otherwise) on a pocket pc using visual basic net 2003 Pin
linuxskater15-Jul-08 4:21
linuxskater15-Jul-08 4:21 
QuestionSending a string from a PDA using the serial port Pin
Alin T13-Jul-08 7:51
Alin T13-Jul-08 7:51 
AnswerRe: Sending a string from a PDA using the serial port Pin
akirilov13-Jul-08 21:31
akirilov13-Jul-08 21:31 
QuestionSetup & related for EVC application Pin
Trupti Mehta11-Jul-08 0:28
Trupti Mehta11-Jul-08 0:28 
QuestionTransparent image problem in Compact Framework 3.5 Pin
Subasish_CodeProject10-Jul-08 20:51
Subasish_CodeProject10-Jul-08 20:51 
QuestionAdd animated gif image to Smart Device Application Pin
Dushan12310-Jul-08 19:00
Dushan12310-Jul-08 19:00 
AnswerRe: Add animated gif image to Smart Device Application Pin
Iain Clarke, Warrior Programmer1-Aug-08 0:18
Iain Clarke, Warrior Programmer1-Aug-08 0:18 
Questionproblem with java webservice and WM5 Pin
Newbie_Toy7-Jul-08 21:36
Newbie_Toy7-Jul-08 21:36 
QuestionGDI+ for WM5.0 with C++ (native) [modified] Pin
akirilov7-Jul-08 20:43
akirilov7-Jul-08 20:43 

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.