E
Elisa
Hi,
If have an application where all of my main forms are fullscreen (e.g.
without any close buttons, titles, etc.). From these screens, I'd like
at times to pop-up a smaller non-fullscreen form (sort of like a message
box form, but with completely different content).
I tried creating a small form in the designer, and then calling
ShowDialog, but the Compact Framework automatically makes that form
fullscreen as well. Setting the FormBorderStyle to None seems a step in
the right direction, it allows for non-fullscreen forms, but as the
setting suggests, it indeed doesn't have a border (ugly), and more
importantly, if I show this form using ShowDialog, I can still click on
buttons on the underlying (calling) form, so it the ShowDialog method
doesn't seem to make my form act as a modal form!?
Two questions:
1. How do I get the border back (and preferably a title)?
2. Why doesn't ShowDialog make this form act as a modal form?
I know it must be possible somehow, because the File Explorer show a
similar form when you try to overwrite an existing file...
Regards,
Elisa
If have an application where all of my main forms are fullscreen (e.g.
without any close buttons, titles, etc.). From these screens, I'd like
at times to pop-up a smaller non-fullscreen form (sort of like a message
box form, but with completely different content).
I tried creating a small form in the designer, and then calling
ShowDialog, but the Compact Framework automatically makes that form
fullscreen as well. Setting the FormBorderStyle to None seems a step in
the right direction, it allows for non-fullscreen forms, but as the
setting suggests, it indeed doesn't have a border (ugly), and more
importantly, if I show this form using ShowDialog, I can still click on
buttons on the underlying (calling) form, so it the ShowDialog method
doesn't seem to make my form act as a modal form!?
Two questions:
1. How do I get the border back (and preferably a title)?
2. Why doesn't ShowDialog make this form act as a modal form?
I know it must be possible somehow, because the File Explorer show a
similar form when you try to overwrite an existing file...
Regards,
Elisa