A1VBCode Forums

Subclassing window (URGENT!!!)


http://www.a1vbcode.com/vbforums/Topic15589.aspx

By omicronlab - 12/26/2005

Hi all,

For my client I have to build a onscreen keyboard just like the onscreen keyboard of win2000/xp.



For this, I need implement the following features in a form/window-

*Form will not be activated by mouse click in the client area (Below the title bar)

Here, I also need to know on which button user clicked

*But form can be activated by mouse click on the titlebar and can be moved

*Form can be activated by alt/tab focusing



I know this can be done by subclassing form, but never did that before. Can anybody tell me which



window messages I need to check for and how to supress/block certain of them?Plz?



***Code examples will be most helpful for me.***



Thanks in advance for your kind help.



Regards,

MHasan