Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Pocket Pc Forms issue... probably something very simple

Posted on 2007-07-22
Medium Priority
Last Modified: 2013-11-17
Hello, I have a pocket pc program that has developed some bugs while in storage for a few months.  Everytime I open a form, even a simple about form.  It is showing up behind the main form.  You can verify this in the "running programs" menu.  The forms are opening, but they aren't showing up on the screen for some reason.  The main form just sits there always.  There is a little blink like it is trying to come up, but the main form is getting focus again somehow.  

Anybody have any good ideas of common places for this problem, etc.

Question by:picsnet
  • 2
  • 2
LVL 10

Expert Comment

ID: 19545494
hmm.. repainting the main form too often? or from the client form?

could you show some relevant code?

Author Comment

ID: 19546748
i would, but i don't know what part of the code would be useful.  if i did, then i would have gone there already to fix it.  not trying to be a smart-ass, thats just the honest truth...
LVL 10

Accepted Solution

dkloeck earned 2000 total points
ID: 19548532
Well..I would try to enable and disable painting and similar events of your forms.
Also try to create something like an messagebox to see if it goes to the backround as well.
But the flicking is a sign that there is something wrong with the painting.

Maybe try to use another drawing mode in your paint function, like doublebuffer to see how it behaves (maybe it tells you something about what the problem is)

Author Comment

ID: 19548610
i figured it out.  it was something odd.  thanks, tony

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question