×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Active Form losing focus to a maximised app running behind it..

Active Form losing focus to a maximised app running behind it..

Active Form losing focus to a maximised app running behind it..

(OP)
I KNOW this is a common problem, coz Ive had it happen in other VB apps. Especially when using a C coded plugin and then going back to the vb app main form.

So if this is a VB5 bug of some sort, Id love to know! Just release me from this merry-go-round of painful focus-loss! PLEASE!

So to explain it in detail :

- Clicking 'yes' or 'cancel' on a custom message box form. To return to the MDI form
- If another app is maximised behind it, the app im working - in minimizes itself, showing the unwanted maximised - app that is behind it?

- I have used "frmMDI.ActiveForm.ZOrder 0" to release the focus back to the main form, but the flicker is still very noticeable and looks shitty.

PLEASE HELP ME!

RE: Active Form losing focus to a maximised app running behind it..

Have you tried giving focus to the MDI form from the text box form when a user clicks on Yes or Cancel; THEN closing the text box form from the DMI form after it recieves focus?

(i.e. the text box form disappears BEHIND the DMI for, then is closed silently in the background)


-Robherc
robherc@netzero.net

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close