11-13-2018, 11:30 PM (This post was last modified: 11-13-2018, 11:39 PM by win.)
Hello everyone, I want to know, QM how to set some additional properties of the window, I hope someone can provide some suggestions or methods, thanks in advance
For example, I want to set up a notepad window:
1.the title bar is hidden
2.the label is not displayed on the taskbar
3.and the transparency of the window is 50%.
4.After clicking the minimize button, in the lower right corner of the taskbar, a small icon is displayed.
int w run"$system$\notepad.exe"""""""0xA00win("-""Notepad") w ;code for 1.the title bar is hidden ;2.the label is not displayed on the taskbar ;3.and the transparency of the window is 50%. ;4.After clicking the minimize button, in the lower right corner of the taskbar, a small icon is displayed.
you cant do all of that at the same time easily.. If you hide title bar(aka window caption) there is no option to minimize ,maximize ect. also you won't be able to move the window either(least not by mouse dragging).
int w run"$system$\notepad.exe"""""""0xA00win("""Notepad") w ;code for ;1.the title bar is hidden ;; if you do this wont be able to move the window with the mouse SetWinStyle w WS_CAPTION2|8 ;2.the label is not displayed on the taskbar
_s=""
_s.setwintext(w) ;3.and the transparency of the window is 50%. ;value between 0 and 255 Transparent w 128 ;4.After clicking the minimize button, in the lower right corner of the taskbar, a small icon is displayed.
11-14-2018, 02:23 AM (This post was last modified: 11-14-2018, 02:26 AM by win.)
1. The ico of the notepad will still be displayed on the taskbar. I want him to disappear.
2. In addition, the most important, the fourth requirement, after the button is minimized, can be minimized to an icon in the lower right corner of the taskbar. I don't know if it can be achieved.
There are a lot of software. When I record the screen, the software can't be minimized to the bottom right corner of the taskbar. I really need this function.
int w run"$system$\notepad.exe"""""""0xA00win("""Notepad") w
_s=""
_s.setwintext(w) ;3.and the transparency of the window is 50%. Transparent w 128 ;4.After clicking the minimize button, in the lower right corner of the taskbar, a small icon is displayed.
int w run"$system$\notepad.exe"""""""0xA00win("""Notepad") w ;code for ;1.the title bar is hidden ;; if you do this wont be able to move the window with the mouse SetWinStyle w WS_CAPTION2|8 ;2.the label is not displayed on the taskbar ;_s="" ;_s.setwintext(w) TaskbarAddRemoveButton2 w
;3.and the transparency of the window is 50%. ;value between 0 and 255 Transparent w 128 ;4.After clicking the minimize button, in the lower right corner of the taskbar, a small icon is displayed.
int w run"$system$\notepad.exe"""""""0xA00win("""Notepad") w ;code for ;1.the title bar is hidden ;; if you do this wont be able to move the window with the mouse SetWinStyle w WS_CAPTION2|8 ;2.the label is not displayed on the taskbar ;_s="" ;_s.setwintext(w) SetWindowLong(w GWL_HWNDPARENTGetDesktopWindow) ;3.and the transparency of the window is 50%. ;value between 0 and 255 Transparent w 128 ;4.After clicking the minimize button, in the lower right corner of the taskbar, a small icon is displayed.
Now I can hide the button on the taskbar. How do I implement the click minimize button and display a small icon in the lower right corner of the taskbar? When I click on it, the window will recover
int w run"$system$\notepad.exe"""""""0xA00win("""Notepad") w Transparent w 128 TaskbarAddRemoveButton2 w ;4.click minimize button, a small icon in the lower right corner of the taskbar