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
ldragos
NA
12
0
Subclassing a control who's parent has to be the Desktop
Jun 2 2004 5:17 AM
Hello, I am trying to subclass a control which has to be floating over the form's boundaries. I found that this kind of behaviour can be achieved by setting the control's parent the Desktop. I did that, however, the control even if responds to mouse events, doesn't have focus (ie. for a ListViewControl, I can click, doubleclick an Item and it responds to that, however, the Item is never focused - I mean never has a FocusRectangle; or considering a ComboBox control, I can never type into it's EditArea, even if the mouse Cursor changes whenever moving over it). Also, I noticed that the Control is shown in the taskbar, which I also am not satisfied with, and recieves proper focus only when I click on it's taskbar tab. So, my problem is that I cannot activate the control without clicking on it's tab (I tried using every WinAPI function I could think of such as SetActiveWindow, Set Focus, BringWindowToFront etc - none helped). Thanks for the help!
Reply
Answers (
0
)
HIGHLIGHTED Text Focus problem
multiple windows