Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by bob2553

  1. bob2553

    Right click notification from TaskBar button

    It seems to be more simple. Application.HookMainWindow(AppHookFunc); function XX.AppHookFunc(var Msg: TMessage): boolean; begin If Msg.Msg = WM_INITMENU then Result:= false; end; Now, if I click with the right button, no more popup menu is displayed. But I still don't know how to get...
  2. bob2553

    Right click notification from TaskBar button

    Thanks. So, I can get the handle of the taskbar var AppData: TAppBarData; begin // 'Shell_TrayWnd' is the name of the task bar's window AppData.Hwnd := FindWindow('Shell_TrayWnd', nil); But how can i detect a click on the button corresponding to my application ?
  3. bob2553

    Right click notification from TaskBar button

    Thanks anyway, As you can see, applications developped with Delphi have a shorter popup menu than other applications. Normally, you can access this button using the application handle : - to hide it: ShowWindow(Application.handle, SW_HIDE) - to add more items...
  4. bob2553

    Right click notification from TaskBar button

    Hi, I'd like to know which message are send to the application when the user right click on the application button located in the TaskBar (or AppBar). I'd like to replace the default windows popup by my own popup menu. ATT: I don't want to add more items to the system menu but completely...

Part and Inventory Search

Back
Top