News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

Trasparent Clock

Started by PushPop, June 26, 2020, 05:12:17 PM

Previous topic - Next topic

Adamanteus

#15
 Looks excellent, but unproperly setled icons for tray - such better :
Code (asm) Select

.if eax==WM_INITDIALOG
push hWin
pop hWnd
invoke GetWindowLong, hWnd, GWL_EXSTYLE
or eax, WS_EX_TOOLWINDOW
invoke SetWindowLong, hWnd, GWL_EXSTYLE, eax
...
invoke  SendMessage, hWnd, WM_SETICON, ICON_BIG, node.hIcon
invoke  SendMessage, hWnd, WM_SETICON, ICON_SMALL, node.hIcon



And background in setup dialog, no need to all views. ClockSetup :
Code (asm) Select


.elseif eax==IDC_HORS
mov eax, hPEN_H
ret
.else
mov eax, FALSE
ret
.endif


P. S.
And save/load parameters - profile module, as and configuration dialog - config module, better to have in special files as it could later became very big in size, for example as this :