TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Hayden Fisher
NA
3
9.8k
How to test if form is on top or the active window.
Sep 27 2010 9:23 AM
Hi all,
I have created a form with a custom border, on selecting another program it calls a deactivate event that preforms the shading to make it look unselected, and the opposite when it is selected.
If however I run the program and while it is loading I chose another program so that it sits on top, my form has not actually loaded in this time and doesn't fire off a deactivate event making it look like an active window.
Basically I'm having trouble finding a way to test if my program is the active one and if so force the deactivate event.
Any help would be greatly appreciated,
Hayden
Reply
Answers (
3
)
Export multiple dataGridViews to Excel
how to realize a visiting card like outlook 2007