Thanks Vlad,
I already figured out that it is difficult. I found an example in code to create a button on
www.planetsourcecode.com http://www.planetsourcecode.com/xq/ASP/txtCodeId.11292/lngWId.1/qx/vb/scripts/ShowCode.htmThe author (Druid Developing) writes:
> This code shows you how to place an own CommandButton into
> the Titlebar of your program. Great for special commands in
> your app. Easy to implement and a cool thing that will impress
> your users. Enjoy! AND VOTE FOR ME! To users of WinNT4 or Win2k:
> I am sorry I have to tell you that this code won´t work on your
> system. That might be because NT Technology has got a higher
> security level and doesn´t allow this program to hook windows.
I tried to get it to work on NT4 and discovered that it is NOT the window hook function that causes the problem. I tried a breakpoint in the message handler and several messages triggered the breakpoint.
Can somebody explain why the buttonclick is not handled in NT ?
BE CAREFUL:
Never close the program using the end button in the IDE, it will cause a crash of the IDE. This program hooks in the message handler, the form unload event restores the original handler.
============================================================
'C' is shorthand for Confusion, 'C++' much more confusion...