Advertisement
adnan360

Show/Hide Taskbar - Lazarus FPC

Feb 16th, 2014
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.66 KB | None | 0 0
  1. How to Show and Hide the Taskbar along with the Start Orb:
  2.  
  3. http://embarcadero.newsgroups.archived.at/public.delphi.nativeapi/201008/1008113955.html
  4.  
  5. #Lazarus #Tips #FreePascal #Taskbar #ShowHide #Snippet
  6.  
  7. -----------------
  8. Yes, this works for me:
  9.  
  10.   ShowWindow(
  11.     FindWindowEx(0, 0, MAKEINTATOM($C017), 'Start'),
  12.     SW_HIDE);
  13.   ShowWindow(FindWindow('Shell_TrayWnd', nil), SW_HIDE);
  14.  
  15. Showing again is the reverse procedure:
  16.  
  17.   ShowWindow(FindWindow('Shell_TrayWnd', nil), SW_SHOW);
  18.   ShowWindow(
  19.     FindWindowEx(0, 0, MAKEINTATOM($C017), 'Start'),
  20.     SW_SHOW);
  21.  
  22.  
  23. See here: http://lazplanet.blogspot.com/2014/02/show-hide-windows-taskbar-lazarus.html
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement