-
Reading keyboard events
BlitzPlus Forums/BlitzPlus Programming/Reading keyboard events * Disregard the code below. I misunderstood... you said taskbar, I think you mean system tray. I dont think anyone's got the Shell_NotifyIcon API working in B+ yet, so the answer is no.*
On q #2
Program & Taskbar Icon Curtosey of Binary Moon:
On q #2
Program & Taskbar Icon Curtosey of Binary Moon:
; Userlib .lib "user32.dll" GetActiveWindow%():"GetActiveWindow" SetClassLong%( hWnd, nIndex, dwNewLong ):"SetClassLongA" .lib "shell32.dll" LoadIcon%(hWND%,File$,Index%) : "ExtractIconA" ; Code (Put right after parent window is created) hWnd=GetActiveWindow() icon=LoadIcon(hWnd,"x.ico", 0) SetClassLong(hwnd,-14,icon)
See the "win32api and getting hotkeys problem" thread in the Blitz3D forum.
-
-