Hi,
I am currently trying to capture all the Virtual Key Window Messages in my program. I noticed a few things while I was doing the programming. I have a few questions to confirm with you guys.
1. For the window message trap, it seems like I need a control in order to capture certain type of window messages. For instant, I need a button control to capture the key pressed messages, and form control for something else. Am I right to say that?
2. After everything is set up correctly, I also need the control to be in focus in order to be able to trap the messages, right?
3. I have managed to capture most of the key pressed with a focus button, except several buttons like "Tab", "Alt", "Enter", "BackSpace" and so on. How can I capture all those window msges?
4. Is there any documents on what message that certain control can accept and what message the control cannot accept?
5. I also noticed that for the form control, it can raise the KeyPress Event(Special Key). And I guess that is the trigger for the Window message, am I right to say that? If so, what are those special key that form control can accept??
Thanks heaps.
Best regards
:sign0085::sign0085::sign0085:
I am currently trying to capture all the Virtual Key Window Messages in my program. I noticed a few things while I was doing the programming. I have a few questions to confirm with you guys.
1. For the window message trap, it seems like I need a control in order to capture certain type of window messages. For instant, I need a button control to capture the key pressed messages, and form control for something else. Am I right to say that?
2. After everything is set up correctly, I also need the control to be in focus in order to be able to trap the messages, right?
3. I have managed to capture most of the key pressed with a focus button, except several buttons like "Tab", "Alt", "Enter", "BackSpace" and so on. How can I capture all those window msges?
4. Is there any documents on what message that certain control can accept and what message the control cannot accept?
5. I also noticed that for the form control, it can raise the KeyPress Event(Special Key). And I guess that is the trigger for the Window message, am I right to say that? If so, what are those special key that form control can accept??
Thanks heaps.
Best regards
:sign0085::sign0085::sign0085: