My Form disapear ... (bis i roll again)

  • Thread starter Romain TAILLANDIER
  • Start date
R

Romain TAILLANDIER

Sorry i make a bad command, i restart my post ...

Hi group

I have a class wich is some kind of open file dialog, named DllManager. The
method static GetDll() show a form containing a combox box and listing few
dlls, when validating (ok button), GetDll return the full path of the
selected dll.
this static method isn't the problem.

When i call this static method from my MainForm, by clicking on a button,
after the GetDll form disappear, my MainForm disapear too, or doesn't
reappear. seems to completely disappear, and i get the windows background,
the green hill and the bleu sky . . . . ...
When i call the same GetDll method from an other form, all is working fine
....

any ideas ?
thanks for help
ROM
 
K

Katie Schaeffer [MSFT]

Hi Romain,

First ensure your main form isn' set to BorderStyle=None.

If that doesn't work, you may need to PInvoke to SetForegroundWindow.
We've fixed a number of bugs related to z-order issues, so this should work
better for you in our next version.

-Katie

This posting is provided "AS IS" with no warranties, and confers no rights.

***.Net Compact Framework Info***
Faq:
http://msdn.microsoft.com/mobility/prodtechinfo/devtools/netcf/FAQ/default.a
spx
QuickStarts: http://samples.gotdotnet.com/quickstart/CompactFramework/
Samples:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/h
tml/CompactfxTechArt.asp

--------------------
| From: "Romain TAILLANDIER" <[email protected]>
| Subject: My Form disapear ... (bis i roll again)
| Date: Thu, 8 Jan 2004 10:59:46 +0100
| Lines: 22
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
| Message-ID: <[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| NNTP-Posting-Host: dyn-81-166-220-94.ppp.tiscali.fr 81.166.220.94
| Path:
cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.
phx.gbl
| Xref: cpmsftngxa07.phx.gbl
microsoft.public.dotnet.framework.compactframework:42434
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| Sorry i make a bad command, i restart my post ...
|
| Hi group
|
| I have a class wich is some kind of open file dialog, named DllManager.
The
| method static GetDll() show a form containing a combox box and listing few
| dlls, when validating (ok button), GetDll return the full path of the
| selected dll.
| this static method isn't the problem.
|
| When i call this static method from my MainForm, by clicking on a button,
| after the GetDll form disappear, my MainForm disapear too, or doesn't
| reappear. seems to completely disappear, and i get the windows background,
| the green hill and the bleu sky . . . . ...
| When i call the same GetDll method from an other form, all is working fine
| ...
|
| any ideas ?
| thanks for help
| ROM
|
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top