Author Topic: Trasparent Clock  (Read 973 times)

Adamanteus

  • Member
  • **
  • Posts: 239
    • LLC "AMS"
Re: Trasparent Clock
« Reply #15 on: July 31, 2020, 04:37:07 AM »
 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 :
« Last Edit: August 23, 2020, 01:49:02 AM by Adamanteus »