QB64.org Forum
Active Forums => QB64 Discussion => Topic started by: Craz1000 on November 11, 2018, 10:12:59 am
-
I am trying to play a prank on a friend. I have the program running on a 1x1 size window. Now i need to figure out how to move that window somewhere else and if possible remove the icon on the task bar
-
_SCREENMOVE will move the window, but I don't know of anyway to easily hide the task bar icon at all.
ITaskbarList and DECLARE LIBRARY may be able to remove the icon from the taskbar, if you're in Windows. https://docs.microsoft.com/en-us/windows/desktop/api/shobjidl_core/nn-shobjidl_core-itaskbarlist
-
Failing an ability to remove an icon from the taskbar, perhaps it would be possible to use $EXEICON to point to a .ico file that is the same color as the taskbar. It might not hide it, but it would make it harder to see. That could be problematic depending on display themes.
-
Failing an ability to remove an icon from the taskbar, perhaps it would be possible to use $EXEICON to point to a .ico file that is the same color as the taskbar. It might not hide it, but it would make it harder to see. That could be problematic depending on display themes.
hmm or point it to a 100% transparent icon perhaps? I will try that approach if i can't figure out the ITaskbarList option.
-
Is $screenhide not on the order of what the OP is looking for? (As much as I disapprove of their motivations).
-
Is $screenhide not on the order of what the OP is looking for? (As much as I disapprove of their motivations).
I don't think he's trying to hide the window; he just wants to remove the icon from the taskbar. If I had to guess, it'll probably be a case of "Chase the Button" where the point is to click on the screen, as it moves away from the mouse pointer, similar to: https://www.newgrounds.com/portal/view/111044