|
-
Mar 8th, 2004, 09:12 PM
#1
Thread Starter
Member
shows new form without causing other form to lose focus [Resolved]
hi,
just wondering if its possible to display a new form (by any means, using nativewindow or create manually, ...) without causing 'lose focus' event of any other forms
thx
Last edited by Volvere; Mar 9th, 2004 at 12:02 AM.
-
Mar 8th, 2004, 09:21 PM
#2
Addicted Member
would setting the form's WindowState to minimized work?
-
Mar 8th, 2004, 09:27 PM
#3
Addicted Member
That works but then the form isn't visible.
Why is it important not to call the lostfocus event?
Maybe theres another way around this?
-
Mar 8th, 2004, 10:03 PM
#4
Thread Starter
Member
well,
actually i am writing a customizable tooltip control and it has to be a control or be 'contained' within a control which can exists outside of any form. i tried using nativewindow and create a new low-level window however it is focused when its visible.
or is there a way to provide a 'canvas' to draw instead of creating a new form.
thx
-
Mar 9th, 2004, 12:02 AM
#5
Thread Starter
Member
-
Mar 9th, 2004, 11:30 AM
#6
Sleep mode
What about this ?
PHP Code:
Form f=new Form();
f.Show();
this.Focus();
-
Mar 9th, 2004, 05:07 PM
#7
Thread Starter
Member
Thats gonna cause lost focus event of the current form just right before the new form is shown. Anyway, the article I posted has solved the issue. Thanks a lot for your helps, I do appreciate those.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|