Creating a screen without a title bar and positioning it on monitor - Printable Version +- QB64 Phoenix Edition (https://qb64phoenix.com/forum) +-- Forum: Chatting and Socializing (https://qb64phoenix.com/forum/forumdisplay.php?fid=11) +--- Forum: General Discussion (https://qb64phoenix.com/forum/forumdisplay.php?fid=2) +--- Thread: Creating a screen without a title bar and positioning it on monitor (/showthread.php?tid=329) |
Creating a screen without a title bar and positioning it on monitor - hanness - 05-04-2022 I hope you will excuse me, I'm trying to figure out as much of this on my own as I can, but I'll likely still have several questions on this topic. Let's say that I have a screen with a resolution of 2560 x 1440. I want to create a screen that occupies the entire screen, preferably without a title bar. I know that I could these commands: handle& = _NewImage(2560, 1440, 256) Screen handle& This will create a 2560 x 1440 screen, but is it possible to somehow remove the title bar and to force this screen to be opened with the upper left corner located at the upper left of the actual screen? RE: Creating a screen without a title bar and positioning it on monitor - Pete - 05-04-2022 Here's a start. Window without border example: Code: (Select All) DECLARE DYNAMIC LIBRARY "User32" Pete RE: Creating a screen without a title bar and positioning it on monitor - OldMoses - 05-04-2022 Something like the following? Of course there is no task bar visible either. handle& = _NEWIMAGE(_DESKTOPWIDTH, _DESKTOPHEIGHT, 256) SCREEN handle& _FULLSCREEN RE: Creating a screen without a title bar and positioning it on monitor - Pete - 05-04-2022 Another example: Code: (Select All) CONST HWND_TOPMOST%& = -1 RE: Creating a screen without a title bar and positioning it on monitor - Pete - 05-04-2022 Oh, and similar to what OldMoses posted... Let's play hide the task bar! _screenmove 0, -27 -------------------------- Just shoves the window up far enough to hide the task bar. Pete RE: Creating a screen without a title bar and positioning it on monitor - hanness - 05-04-2022 Thanks guys, that helps immensely. |