Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: WSH Panel Mod (Read 801546 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

WSH Panel Mod

Reply #225
2 crashes today when closing foobar, check this dump

Call path:
entry=>user_interface::shutdown=>destroy panel=>destroy child panel

Crash location:
Module: foo_uie_wsh_panel_mod
Offset: 84C1h

...

Code: [Select]

Illegal operation:
Code: C0000005h, flags: 00000000h, address: 6BE984C1h
Access violation, operation: read, address: 0379E3ACh

Call path:
entry=>user_interface::shutdown=>destroy panel=>destroy child panel

Code bytes (6BE984C1h):
6BE98481h:  04 56 C7 44 24 18 FF FF FF FF E8 E0 F2 FF FF 8B
6BE98491h:  4C 24 0C 5F 5E 64 89 0D 00 00 00 00 83 C4 10 C3
6BE984A1h:  CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC 8B
6BE984B1h:  86 B0 00 00 00 53 8B 1D 84 64 EF 6B 85 C0 74 17
6BE984C1h:  8B 40 04 50 FF D3 85 C0 74 0D 57 8B BE B0 00 00
6BE984D1h:  00 E8 B9 41 01 00 5F 8B 86 B4 00 00 00 85 C0 74
6BE984E1h:  24 8B 48 04 51 FF D3 85 C0 74 1A 8B 96 B4 00 00
6BE984F1h:  00 8B 42 04 50 FF 15 C0 64 EF 6B C7 86 B4 00 00

Stack (0029EE00h):
0029EDE0h:  00000000 86D8DB00 FFFFFD34 000002E4
0029EDF0h:  FFFFFD34 000002CC 00000018 00000000
0029EE00h:  00000000 6BE993FB 000C075E 033688E4
0029EE10h:  00000000 0029EF2C 75D062DD E7B8C4C4
0029EE20h:  FFFFFFFE 75CB526F 0413899D 001702EC
0029EE30h:  00000210 00000002 000C075E 95BBEDE5
0029EE40h:  001702EC 046E2770 041389BD 046E2770
0029EE50h:  033688E4 75CB630C 00000000 00000002
0029EE60h:  053918E8 0530B230 001702EC 00020017
0029EE70h:  000C075E 05306028 00000001 FFFF0000
0029EE80h:  746172A7 0029EE20 00000000 0147D508
0029EE90h:  052C0BF8 0147DD78 0147D7FC 00000017
0029EEA0h:  00000000 0029EF40 00000000 053918E8
0029EEB0h:  000000B0 000001FC 778A3FF7 00180412
0029EEC0h:  00000002 747AA970 75CB553E 925A7844
0029EED0h:  FFFFFFFF 75CB57C9 75CB60D9 00180412
0029EEE0h:  001702EC 000C075E 006E7378 0029EF08
0029EEF0h:  75CB42F0 006E7378 FFFFFFEB 00000000
0029EF00h:  000C075E 00000002 0029EF44 75CB630C
0029EF10h:  006E7378 FFFFFFEB 75CB6318 925A79F8

Registers:
EAX: 0379E3A8, EBX: 75CB54FE, ECX: 033688E4, EDX: 6BE991F0
ESI: 03368860, EDI: 033688E4, EBP: 0029EF3C, ESP: 0029EE00

Crash location:
Module: foo_uie_wsh_panel_mod
Offset: 84C1h

Loaded modules:
foobar2000                      loaded at 01320000h - 014B9000h
ntdll                            loaded at 77850000h - 7798C000h
kernel32                        loaded at 768F0000h - 769C4000h
KERNELBASE                      loaded at 75A20000h - 75A68000h
COMCTL32                        loaded at 74920000h - 74ABC000h
msvcrt                          loaded at 75E60000h - 75F0C000h
GDI32                            loaded at 75D80000h - 75DCE000h
USER32                          loaded at 75CA0000h - 75D69000h
LPK                              loaded at 77990000h - 7799A000h
USP10                            loaded at 77620000h - 776BD000h
SHLWAPI                          loaded at 779A0000h - 779F7000h
DSOUND                          loaded at 683D0000h - 68442000h
ADVAPI32                        loaded at 76600000h - 766A0000h
sechost                          loaded at 76800000h - 76819000h
RPCRT4                          loaded at 76290000h - 76332000h
ole32                            loaded at 766A0000h - 767FB000h
WINMM                            loaded at 73ED0000h - 73F02000h
POWRPROF                        loaded at 74260000h - 74285000h
SETUPAPI                        loaded at 763D0000h - 7656D000h
CFGMGR32                        loaded at 75B20000h - 75B47000h
OLEAUT32                        loaded at 777C0000h - 7784F000h
DEVOBJ                          loaded at 75B00000h - 75B12000h
SHELL32                          loaded at 769D0000h - 77616000h
shared                          loaded at 10000000h - 1002B000h
imagehlp                        loaded at 75DD0000h - 75DFA000h
UxTheme                          loaded at 74770000h - 747B0000h
dbghelp                          loaded at 6F5E0000h - 6F6CC000h
COMDLG32                        loaded at 77A00000h - 77A7B000h
IMM32                            loaded at 76270000h - 7628F000h
MSCTF                            loaded at 76820000h - 768EC000h
CRYPTBASE                        loaded at 75920000h - 7592C000h
CLBCatQ                          loaded at 76570000h - 765F3000h
MMDevApi                        loaded at 74460000h - 74499000h
PROPSYS                          loaded at 747E0000h - 748D5000h
dwmapi                          loaded at 74440000h - 74453000h
foo_covers                      loaded at 738D0000h - 738F7000h
foo_input_std                    loaded at 02980000h - 02AC0000h
foo_uie_library_tree            loaded at 018C0000h - 01917000h
gdiplus                          loaded at 745E0000h - 74770000h
foo_ui_std                      loaded at 02D30000h - 02E3E000h
MSIMG32                          loaded at 74210000h - 74215000h
foo_playcount                    loaded at 01920000h - 01950000h
foo_exvar                        loaded at 01BC0000h - 01BE8000h
foo_dsp_std                      loaded at 01BF0000h - 01C39000h
foo_abx                          loaded at 01C60000h - 01C92000h
foo_masstag                      loaded at 02E40000h - 02E94000h
foo_uie_elplaylist              loaded at 03050000h - 030BE000h
foo_burninate                    loaded at 02EE0000h - 02F20000h
foo_uie_vis_channel_spectrum    loaded at 030D0000h - 0310D000h
foo_converter                    loaded at 03180000h - 031ED000h
foo_uie_lyrics                  loaded at 03110000h - 0316D000h
WININET                          loaded at 776C0000h - 777B2000h
Normaliz                        loaded at 75D70000h - 75D73000h
urlmon                          loaded at 75F10000h - 76045000h
CRYPT32                          loaded at 75B50000h - 75C6C000h
MSASN1                          loaded at 75A10000h - 75A1C000h
iertutil                        loaded at 76070000h - 76268000h
foo_uie_quicksearch              loaded at 03220000h - 03266000h
foo_uie_wsh_panel_mod            loaded at 6BE90000h - 6BF1E000h
foo_dop                          loaded at 03B40000h - 03C90000h
WS2_32                          loaded at 76340000h - 76375000h
NSI                              loaded at 76060000h - 76066000h
QUARTZ                          loaded at 66F80000h - 670F7000h
foo_fileops                      loaded at 032C0000h - 03306000h
foo_playback_custom              loaded at 03490000h - 034D7000h
WINSPOOL                        loaded at 6FB30000h - 6FB81000h
foo_ui_columns                  loaded at 03F00000h - 0406E000h
foo_chronflow                    loaded at 04070000h - 040D1000h
OPENGL32                        loaded at 6BDC0000h - 6BE88000h
GLU32                            loaded at 73920000h - 73942000h
DDRAW                            loaded at 69760000h - 69847000h
DCIMAN32                        loaded at 69F40000h - 69F46000h
foo_audioscrobbler              loaded at 034E0000h - 03510000h
foo_menu_addons                  loaded at 03E90000h - 03ECC000h
foo_uie_panel_splitter          loaded at 04100000h - 04158000h
foo_cdda                        loaded at 04500000h - 04541000h
foo_uie_biography                loaded at 04590000h - 045E0000h
foo_rgscan                      loaded at 045E0000h - 0462E000h
foo_utils                        loaded at 71130000h - 71174000h
foo_albumlist                    loaded at 04670000h - 046CB000h
foo_vis_shpeck                  loaded at 6D5A0000h - 6D5DF000h
foo_unpack                      loaded at 04170000h - 0419E000h
foo_convolve                    loaded at 047F0000h - 04841000h
foo_uie_graphical_browser        loaded at 68330000h - 683C4000h
foo_freedb2                      loaded at 04A10000h - 04A51000h
mscms                            loaded at 69E10000h - 69E89000h
USERENV                          loaded at 75000000h - 75017000h
profapi                          loaded at 759A0000h - 759AB000h
icm32                            loaded at 6C0F0000h - 6C128000h
SXS                              loaded at 75930000h - 7598F000h
jscript                          loaded at 69C40000h - 69CF1000h
VERSION                          loaded at 74EA0000h - 74EA9000h
CRYPTSP                          loaded at 75450000h - 75466000h
rsaenh                          loaded at 751C0000h - 751FB000h
RpcRtRemote                      loaded at 75990000h - 7599E000h
WindowsCodecs                    loaded at 74310000h - 74409000h
wshom                            loaded at 74150000h - 74171000h
MPR                              loaded at 6D720000h - 6D732000h
ScrRun                          loaded at 69C00000h - 69C2A000h
nvoglv32                        loaded at 0A390000h - 0AD8C000h
windowscodecsext                loaded at 69EA0000h - 69ED3000h
msxml6                          loaded at 712C0000h - 71407000h
mswsock                          loaded at 75410000h - 7544C000h
DNSAPI                          loaded at 752A0000h - 752E4000h
mdnsNSP                          loaded at 16080000h - 160A5000h
Iphlpapi                        loaded at 73A20000h - 73A3C000h
WINNSI                          loaded at 73A10000h - 73A17000h
WINTRUST                        loaded at 75C70000h - 75C9D000h
QuickTime                        loaded at 64A60000h - 6571E000h
wshtcpip                        loaded at 74F30000h - 74F35000h
fwpuclnt                        loaded at 73640000h - 73678000h
rasadhlp                        loaded at 70F40000h - 70F46000h
wship6                          loaded at 75400000h - 75406000h
explorerframe                    loaded at 6B070000h - 6B1DE000h
DUser                            loaded at 744F0000h - 7451F000h
DUI70                            loaded at 74520000h - 745D1000h
AUDIOSES                        loaded at 73B90000h - 73BC6000h
SspiCli                          loaded at 758A0000h - 758BA000h
RASAPI32                        loaded at 73FA0000h - 73FF2000h
rasman                          loaded at 74240000h - 74255000h
rtutils                          loaded at 74220000h - 7422D000h
sensapi                          loaded at 741F0000h - 741F6000h
NLAapi                          loaded at 74200000h - 74210000h
ntmarta                          loaded at 73C50000h - 73C71000h
WLDAP32                          loaded at 76380000h - 763C5000h
winrnr                          loaded at 70A10000h - 70A18000h
napinsp                          loaded at 70A00000h - 70A10000h
pnrpnsp                          loaded at 709E0000h - 709F2000h
peerdist                        loaded at 73E00000h - 73E25000h
AUTHZ                            loaded at 755C0000h - 755DB000h
apphelp                          loaded at 758D0000h - 7591B000h
EhStorShell                      loaded at 6B3C0000h - 6B3F1000h
cscui                            loaded at 6B350000h - 6B3BA000h
CSCDLL                          loaded at 6B340000h - 6B349000h
CSCAPI                          loaded at 6F990000h - 6F99B000h
ntshrui                          loaded at 6CB20000h - 6CB8F000h
srvcli                          loaded at 75640000h - 75659000h
slc                              loaded at 73BD0000h - 73BDA000h
msls31                          loaded at 6ACF0000h - 6AD19000h
tiptsf                          loaded at 6AC90000h - 6ACE8000h
xmllite                          loaded at 74410000h - 7443F000h
StructuredQuery                  loaded at 6D510000h - 6D56C000h
Secur32                          loaded at 756E0000h - 756E8000h
actxprxy                        loaded at 6B260000h - 6B2AF000h
ieproxy                          loaded at 6DB70000h - 6DB9B000h
thumbcache                      loaded at 6D5E0000h - 6D5F6000h
PSAPI                            loaded at 76050000h - 76055000h
SHDOCVW                          loaded at 6B040000h - 6B06D000h
ieframe                          loaded at 69FD0000h - 6AA4C000h
OLEACC                          loaded at 73D90000h - 73DCC000h
SearchFolder                    loaded at 6D470000h - 6D50E000h
samcli                          loaded at 740A0000h - 740AF000h
SAMLIB                          loaded at 748E0000h - 748F2000h
netutils                        loaded at 740C0000h - 740C9000h
NaturalLanguage6                loaded at 6CA50000h - 6CB16000h
NLSData000c                      loaded at 6C7C0000h - 6CA4F000h
NLSLexicons000c                  loaded at 6C1C0000h - 6C7B4000h
NetworkExplorer                  loaded at 6D2D0000h - 6D468000h
LINKINFO                        loaded at 6D740000h - 6D749000h
d3d9                            loaded at 725C0000h - 72783000h
d3d8thk                          loaded at 725B0000h - 725B6000h

Stack dump analysis:
Address: 6BE993FBh (foo_uie_wsh_panel_mod+93FBh)
Address: 75D062DDh (USER32+662DDh), symbol: "IsWow64Message" (+49h)
Address: 75CB526Fh (USER32+1526Fh), symbol: "DefWindowProcW" (+6Bh)
Address: 0413899Dh (foo_uie_panel_splitter+3899Dh), symbol: "foobar2000_get_interface" (+2616Dh)
Address: 041389BDh (foo_uie_panel_splitter+389BDh), symbol: "foobar2000_get_interface" (+2618Dh)
Address: 75CB630Ch (USER32+1630Ch), symbol: "GetWindowLongW" (+2Bh)
Address: 746172A7h (gdiplus+372A7h), symbol: "GdipBitmapApplyEffect" (+Fh)
Address: 0147D508h (foobar2000+15D508h)
Address: 0147DD78h (foobar2000+15DD78h)
Address: 0147D7FCh (foobar2000+15D7FCh)
Address: 778A3FF7h (ntdll+53FF7h), symbol: "RtlAllocateHeap" (+211h)
Address: 747AA970h (UxTheme+3A970h), symbol: "Ordinal74" (+73FCh)
Address: 75CB553Eh (USER32+1553Eh), symbol: "IsWindow" (+40h)
Address: 75CB57C9h (USER32+157C9h), symbol: "IsRectEmpty" (+5Bh)
Address: 75CB60D9h (USER32+160D9h), symbol: "SetPropW" (+B3h)
Address: 75CB42F0h (USER32+142F0h), symbol: "wsprintfA" (+306h)
Address: 75CB630Ch (USER32+1630Ch), symbol: "GetWindowLongW" (+2Bh)
Address: 75CB6318h (USER32+16318h), symbol: "GetWindowLongW" (+37h)
Address: 6BEF4DC3h (foo_uie_wsh_panel_mod+64DC3h), symbol: "foobar2000_get_interface" (+3FDF3h)
Address: 75D062DDh (USER32+662DDh), symbol: "IsWow64Message" (+49h)
Address: 6BEDC325h (foo_uie_wsh_panel_mod+4C325h), symbol: "foobar2000_get_interface" (+27355h)
Address: 75CBC6C2h (USER32+1C6C2h), symbol: "gapfnScSendMessage" (+1FAh)
Address: 75CBC79Ah (USER32+1C79Ah), symbol: "gapfnScSendMessage" (+2D2h)
Address: 6BEDC190h (foo_uie_wsh_panel_mod+4C190h), symbol: "foobar2000_get_interface" (+271C0h)
Address: 75CBC743h (USER32+1C743h), symbol: "gapfnScSendMessage" (+27Bh)
Address: 75D062DDh (USER32+662DDh), symbol: "IsWow64Message" (+49h)
Address: 75CB502Ch (USER32+1502Ch), symbol: "IsDialogMessageW" (+13Dh)
Address: 6BEDC190h (foo_uie_wsh_panel_mod+4C190h), symbol: "foobar2000_get_interface" (+271C0h)
Address: 75D062DDh (USER32+662DDh), symbol: "IsWow64Message" (+49h)
Address: 75CB5089h (USER32+15089h), symbol: "IsDialogMessageW" (+19Ah)
Address: 6BEDC190h (foo_uie_wsh_panel_mod+4C190h), symbol: "foobar2000_get_interface" (+271C0h)
Address: 7789817Eh (ntdll+4817Eh), symbol: "KiUserCallbackDispatcher" (+2Eh)
Address: 77898130h (ntdll+48130h), symbol: "KiUserApcDispatcher" (+48h)
Address: 6BEDC190h (foo_uie_wsh_panel_mod+4C190h), symbol: "foobar2000_get_interface" (+271C0h)
Address: 75CB4FE1h (USER32+14FE1h), symbol: "IsDialogMessageW" (+F2h)
Address: 75CAC661h (USER32+C661h), symbol: "DestroyWindow" (+Ch)
Address: 6BEDC17Dh (foo_uie_wsh_panel_mod+4C17Dh), symbol: "foobar2000_get_interface" (+271ADh)
Address: 6BE9B6DBh (foo_uie_wsh_panel_mod+B6DBh)
Address: 04136E5Ch (foo_uie_panel_splitter+36E5Ch), symbol: "foobar2000_get_interface" (+2462Ch)
Address: 7788172Ah (ntdll+3172Ah), symbol: "RtlpUnWaitCriticalSection" (+1DDh)
Address: 778A89D9h (ntdll+589D9h), symbol: "RtlSizeHeap" (+686h)
Address: 778A8A8Ah (ntdll+58A8Ah), symbol: "RtlSizeHeap" (+737h)
Address: 75CB42F0h (USER32+142F0h), symbol: "wsprintfA" (+306h)
Address: 75CB630Ch (USER32+1630Ch), symbol: "GetWindowLongW" (+2Bh)
Address: 75CB6318h (USER32+16318h), symbol: "GetWindowLongW" (+37h)
Address: 0413E9C3h (foo_uie_panel_splitter+3E9C3h), symbol: "foobar2000_get_interface" (+2C193h)
Address: 75D062DDh (USER32+662DDh), symbol: "IsWow64Message" (+49h)
Address: 04112268h (foo_uie_panel_splitter+12268h)
Address: 0A80FC2Dh (nvoglv32+47FC2Dh), symbol: "DrvCopyContext" (+5D3Dh)
Address: 0A85BE41h (nvoglv32+4CBE41h), symbol: "DrvPresentBuffers" (+36861h)
Address: 75CBC6C2h (USER32+1C6C2h), symbol: "gapfnScSendMessage" (+1FAh)
Address: 75CBC79Ah (USER32+1C79Ah), symbol: "gapfnScSendMessage" (+2D2h)
Address: 041120D0h (foo_uie_panel_splitter+120D0h)
Address: 75CBC743h (USER32+1C743h), symbol: "gapfnScSendMessage" (+27Bh)
Address: 75D062DDh (USER32+662DDh), symbol: "IsWow64Message" (+49h)
Address: 75CB502Ch (USER32+1502Ch), symbol: "IsDialogMessageW" (+13Dh)
Address: 041120D0h (foo_uie_panel_splitter+120D0h)
Address: 0A80CAB0h (nvoglv32+47CAB0h), symbol: "DrvCopyContext" (+2BC0h)
Address: 75D062DDh (USER32+662DDh), symbol: "IsWow64Message" (+49h)
Address: 75CB5089h (USER32+15089h), symbol: "IsDialogMessageW" (+19Ah)
Address: 041120D0h (foo_uie_panel_splitter+120D0h)
Address: 7789817Eh (ntdll+4817Eh), symbol: "KiUserCallbackDispatcher" (+2Eh)
Address: 77898130h (ntdll+48130h), symbol: "KiUserApcDispatcher" (+48h)
Address: 041120D0h (foo_uie_panel_splitter+120D0h)
Address: 75CB4FE1h (USER32+14FE1h), symbol: "IsDialogMessageW" (+F2h)
Address: 75CAC661h (USER32+C661h), symbol: "DestroyWindow" (+Ch)
Address: 04104F0Dh (foo_uie_panel_splitter+4F0Dh)
Address: 0413242Bh (foo_uie_panel_splitter+3242Bh), symbol: "foobar2000_get_interface" (+1FBFBh)
Address: 0413D409h (foo_uie_panel_splitter+3D409h), symbol: "foobar2000_get_interface" (+2ABD9h)
Address: 03F518D1h (foo_ui_columns+518D1h)
Address: 03FDD5F8h (foo_ui_columns+DD5F8h), symbol: "foobar2000_get_interface" (+2DC98h)
Address: 03F53015h (foo_ui_columns+53015h)
Address: 75CB42F0h (USER32+142F0h), symbol: "wsprintfA" (+306h)
Address: 75CB630Ch (USER32+1630Ch), symbol: "GetWindowLongW" (+2Bh)
Address: 75CB6318h (USER32+16318h), symbol: "GetWindowLongW" (+37h)
Address: 778AF392h (ntdll+5F392h), symbol: "LdrUnlockLoaderLock" (+5Eh)
Address: 75D062DDh (USER32+662DDh), symbol: "IsWow64Message" (+49h)
Address: 03FAE242h (foo_ui_columns+AE242h)
Address: 0A80FC2Dh (nvoglv32+47FC2Dh), symbol: "DrvCopyContext" (+5D3Dh)
Address: 0A85BE41h (nvoglv32+4CBE41h), symbol: "DrvPresentBuffers" (+36861h)
Address: 75CBC6C2h (USER32+1C6C2h), symbol: "gapfnScSendMessage" (+1FAh)
Address: 75CBC79Ah (USER32+1C79Ah), symbol: "gapfnScSendMessage" (+2D2h)
Address: 03FAE0A0h (foo_ui_columns+AE0A0h)
Address: 0401C750h (foo_ui_columns+11C750h), symbol: "foobar2000_get_interface" (+6CDF0h)
Address: 75CBC743h (USER32+1C743h), symbol: "gapfnScSendMessage" (+27Bh)
Address: 75D062DDh (USER32+662DDh), symbol: "IsWow64Message" (+49h)
Address: 75CB502Ch (USER32+1502Ch), symbol: "IsDialogMessageW" (+13Dh)
Address: 03FAE0A0h (foo_ui_columns+AE0A0h)
Address: 0401C750h (foo_ui_columns+11C750h), symbol: "foobar2000_get_interface" (+6CDF0h)
Address: 0A80CAB0h (nvoglv32+47CAB0h), symbol: "DrvCopyContext" (+2BC0h)
Address: 75D062DDh (USER32+662DDh), symbol: "IsWow64Message" (+49h)
Address: 75CB5089h (USER32+15089h), symbol: "IsDialogMessageW" (+19Ah)
Address: 03FAE0A0h (foo_ui_columns+AE0A0h)
Address: 7789817Eh (ntdll+4817Eh), symbol: "KiUserCallbackDispatcher" (+2Eh)
Address: 77898130h (ntdll+48130h), symbol: "KiUserApcDispatcher" (+48h)
Address: 03FAE0A0h (foo_ui_columns+AE0A0h)
Address: 75CB4FE1h (USER32+14FE1h), symbol: "IsDialogMessageW" (+F2h)
Address: 75CAC661h (USER32+C661h), symbol: "DestroyWindow" (+Ch)
Address: 03F2E381h (foo_ui_columns+2E381h)
Address: 03F6E342h (foo_ui_columns+6E342h)
Address: 0401C750h (foo_ui_columns+11C750h), symbol: "foobar2000_get_interface" (+6CDF0h)
Address: 03FF822Ch (foo_ui_columns+F822Ch), symbol: "foobar2000_get_interface" (+488CCh)
Address: 0401C77Ch (foo_ui_columns+11C77Ch), symbol: "foobar2000_get_interface" (+6CE1Ch)
Address: 03FF621Ch (foo_ui_columns+F621Ch), symbol: "foobar2000_get_interface" (+468BCh)
Address: 75CB6300h (USER32+16300h), symbol: "GetWindowLongW" (+1Fh)
Address: 03FE3548h (foo_ui_columns+E3548h), symbol: "foobar2000_get_interface" (+33BE8h)
Address: 03F6FD5Ch (foo_ui_columns+6FD5Ch)
Address: 0401C750h (foo_ui_columns+11C750h), symbol: "foobar2000_get_interface" (+6CDF0h)
Address: 778AF392h (ntdll+5F392h), symbol: "LdrUnlockLoaderLock" (+5Eh)
Address: 75D062DDh (USER32+662DDh), symbol: "IsWow64Message" (+49h)
Address: 03FAE242h (foo_ui_columns+AE242h)
Address: 0A80FC2Dh (nvoglv32+47FC2Dh), symbol: "DrvCopyContext" (+5D3Dh)
Address: 0A85BE41h (nvoglv32+4CBE41h), symbol: "DrvPresentBuffers" (+36861h)
Address: 75CBC6C2h (USER32+1C6C2h), symbol: "gapfnScSendMessage" (+1FAh)
Address: 75CBC79Ah (USER32+1C79Ah), symbol: "gapfnScSendMessage" (+2D2h)
Address: 03FAE0A0h (foo_ui_columns+AE0A0h)
Address: 75CB6490h (USER32+16490h), symbol: "GetSystemMetrics" (+0h)
Address: 75CBC743h (USER32+1C743h), symbol: "gapfnScSendMessage" (+27Bh)
Address: 75D062DDh (USER32+662DDh), symbol: "IsWow64Message" (+49h)
Address: 75CB502Ch (USER32+1502Ch), symbol: "IsDialogMessageW" (+13Dh)
Address: 03FAE0A0h (foo_ui_columns+AE0A0h)
Address: 0401C750h (foo_ui_columns+11C750h), symbol: "foobar2000_get_interface" (+6CDF0h)
Address: 75CB6490h (USER32+16490h), symbol: "GetSystemMetrics" (+0h)
Address: 0A80CAB0h (nvoglv32+47CAB0h), symbol: "DrvCopyContext" (+2BC0h)
Address: 75D062DDh (USER32+662DDh), symbol: "IsWow64Message" (+49h)
Address: 75CB5089h (USER32+15089h), symbol: "IsDialogMessageW" (+19Ah)
Address: 03FAE0A0h (foo_ui_columns+AE0A0h)
Address: 7789817Eh (ntdll+4817Eh), symbol: "KiUserCallbackDispatcher" (+2Eh)
Address: 77898130h (ntdll+48130h), symbol: "KiUserApcDispatcher" (+48h)
Address: 03FAE0A0h (foo_ui_columns+AE0A0h)
Address: 75CB4FE1h (USER32+14FE1h), symbol: "IsDialogMessageW" (+F2h)
Address: 75CAC661h (USER32+C661h), symbol: "DestroyWindow" (+Ch)
Address: 03FAE08Dh (foo_ui_columns+AE08Dh)
Address: 03F63910h (foo_ui_columns+63910h)
Address: 75CB553Eh (USER32+1553Eh), symbol: "IsWindow" (+40h)
Address: 75DC9140h (GDI32+49140h), symbol: "DdQueryVisRgnUniqueness" (+1D91h)
Address: 69C5417Bh (jscript+1417Bh)
Address: 69C4A8C7h (jscript+A8C7h)
Address: 75CB51FBh (USER32+151FBh), symbol: "IsDialogMessageW" (+30Ch)
Address: 75CBCE73h (USER32+1CE73h), symbol: "OffsetRect" (+62h)
Address: 75D098D8h (USER32+698D8h), symbol: "gSharedInfo" (+498h)
Address: 75CB52A4h (USER32+152A4h), symbol: "DefWindowProcW" (+A0h)
Address: 75CB526Fh (USER32+1526Fh), symbol: "DefWindowProcW" (+6Bh)
Address: 75D062DDh (USER32+662DDh), symbol: "IsWow64Message" (+49h)
Address: 75CB526Fh (USER32+1526Fh), symbol: "DefWindowProcW" (+6Bh)
Address: 6BE993D9h (foo_uie_wsh_panel_mod+93D9h)
Address: 7494EC37h (COMCTL32+2EC37h), symbol: "Ordinal393" (+238h)
Address: 74771AB1h (UxTheme+1AB1h)
Address: 747AA970h (UxTheme+3A970h), symbol: "Ordinal74" (+73FCh)
Address: 75CB553Eh (USER32+1553Eh), symbol: "IsWindow" (+40h)
Address: 75CB54FEh (USER32+154FEh), symbol: "IsWindow" (+0h)
Address: 75D062DDh (USER32+662DDh), symbol: "IsWow64Message" (+49h)
Address: 75CB51FBh (USER32+151FBh), symbol: "IsDialogMessageW" (+30Ch)
Address: 75CB51FBh (USER32+151FBh), symbol: "IsDialogMessageW" (+30Ch)
Address: 7787DD8Fh (ntdll+2DD8Fh), symbol: "RtlLoadString" (+197h)
Address: 778AF32Ch (ntdll+5F32Ch), symbol: "LdrLockLoaderLock" (+9Fh)
Address: 7751D380h (SHELL32+B4D380h), symbol: "StrStrW" (+7A0FFFh)
Address: 7787DD26h (ntdll+2DD26h), symbol: "RtlLoadString" (+12Eh)
Address: 778AF392h (ntdll+5F392h), symbol: "LdrUnlockLoaderLock" (+5Eh)
Address: 7751D39Ch (SHELL32+B4D39Ch), symbol: "StrStrW" (+7A101Bh)
Address: 7787DD8Fh (ntdll+2DD8Fh), symbol: "RtlLoadString" (+197h)
Address: 778AF32Ch (ntdll+5F32Ch), symbol: "LdrLockLoaderLock" (+9Fh)
Address: 7751D070h (SHELL32+B4D070h), symbol: "StrStrW" (+7A0CEFh)
Address: 7787DD26h (ntdll+2DD26h), symbol: "RtlLoadString" (+12Eh)
Address: 778AF392h (ntdll+5F392h), symbol: "LdrUnlockLoaderLock" (+5Eh)
Address: 7751D04Ch (SHELL32+B4D04Ch), symbol: "StrStrW" (+7A0CCBh)
Address: 778AF32Ch (ntdll+5F32Ch), symbol: "LdrLockLoaderLock" (+9Fh)
Address: 778AF392h (ntdll+5F392h), symbol: "LdrUnlockLoaderLock" (+5Eh)
Address: 03FE74A7h (foo_ui_columns+E74A7h), symbol: "foobar2000_get_interface" (+37B47h)
Address: 75CBC6C2h (USER32+1C6C2h), symbol: "gapfnScSendMessage" (+1FAh)
Address: 75CBC79Ah (USER32+1C79Ah), symbol: "gapfnScSendMessage" (+2D2h)
Address: 03F62A60h (foo_ui_columns+62A60h)
Address: 75CBC743h (USER32+1C743h), symbol: "gapfnScSendMessage" (+27Bh)
Address: 75D062DDh (USER32+662DDh), symbol: "IsWow64Message" (+49h)
Address: 75CB502Ch (USER32+1502Ch), symbol: "IsDialogMessageW" (+13Dh)
Address: 03F62A60h (foo_ui_columns+62A60h)
Address: 0A80CAB0h (nvoglv32+47CAB0h), symbol: "DrvCopyContext" (+2BC0h)
Address: 75D062DDh (USER32+662DDh), symbol: "IsWow64Message" (+49h)
Address: 75CB5089h (USER32+15089h), symbol: "IsDialogMessageW" (+19Ah)
Address: 03F62A60h (foo_ui_columns+62A60h)
Address: 7789817Eh (ntdll+4817Eh), symbol: "KiUserCallbackDispatcher" (+2Eh)
Address: 77898130h (ntdll+48130h), symbol: "KiUserApcDispatcher" (+48h)
Address: 03F62A60h (foo_ui_columns+62A60h)
Address: 75CB4FE1h (USER32+14FE1h), symbol: "IsDialogMessageW" (+F2h)
Address: 75CAC661h (USER32+C661h), symbol: "DestroyWindow" (+Ch)
Address: 03F6504Eh (foo_ui_columns+6504Eh)
Address: 013DD2E3h (foobar2000+BD2E3h)
Address: 0143C219h (foobar2000+11C219h)
Address: 0137DA13h (foobar2000+5DA13h)
Address: 778A3DE6h (ntdll+53DE6h), symbol: "RtlAllocateHeap" (+0h)
Address: 01450604h (foobar2000+130604h)
Address: 0146139Ch (foobar2000+14139Ch)
Address: 0146139Ch (foobar2000+14139Ch)
Address: 01320000h (foobar2000+0h)
Address: 01461380h (foobar2000+141380h)
Address: 7786F1A5h (ntdll+1F1A5h), symbol: "DbgPrint" (+408h)
Address: 778A3FF7h (ntdll+53FF7h), symbol: "RtlAllocateHeap" (+211h)
Address: 778A3E92h (ntdll+53E92h), symbol: "RtlAllocateHeap" (+ACh)
Address: 778A3DE6h (ntdll+53DE6h), symbol: "RtlAllocateHeap" (+0h)
Address: 01482CA0h (foobar2000+162CA0h)
Address: 01421BABh (foobar2000+101BABh)
Address: 01428E64h (foobar2000+108E64h)
Address: 01424E00h (foobar2000+104E00h)
Address: 01428E64h (foobar2000+108E64h)
Address: 0142735Ch (foobar2000+10735Ch)
Address: 014407B2h (foobar2000+1207B2h)
Address: 10002657h (shared+2657h), symbol: "uPrintCrashInfo_OnEvent" (+B0h)
Address: 01457644h (foobar2000+137644h)
Address: 1000269Ah (shared+269Ah), symbol: "uCallStackTracker::uCallStackTracker" (+2Fh)
Address: 01457644h (foobar2000+137644h)
Address: 0137DB9Eh (foobar2000+5DB9Eh)
Address: 01320000h (foobar2000+0h)
Address: 01482CA0h (foobar2000+162CA0h)
Address: 01448000h (foobar2000+128000h)
Address: 01330136h (foobar2000+10136h)
Address: 01424E00h (foobar2000+104E00h)
Address: 014220F6h (foobar2000+1020F6h)
Address: 0142210Ah (foobar2000+10210Ah)
Address: 01448000h (foobar2000+128000h)
Address: 01440A35h (foobar2000+120A35h)
Address: 01422C5Ch (foobar2000+102C5Ch)
Address: 01320000h (foobar2000+0h)

Environment:
App: foobar2000 v0.9.6.8
OS: Windows 6.1.7100 x86
CPU: Intel® Core™2 Duo CPU    E6850  @ 3.00GHz, features: MMX SSE SSE2 SSE3
Audio: Haut-parleurs (Périphérique High Definition Audio); Audio numérique (SPDIF) (Périphérique High Definition Audio)
UI: Columns UI 0.3.7.8

Components:
Core (2009-06-07 14:28:34)
    foobar2000 core 0.9.6.8
foo_abx.dll (2009-05-21 16:57:38)
    ABX Comparator 1.3.4
foo_albumlist.dll (2009-05-21 16:59:10)
    Album List 4.3.1
foo_audioscrobbler.dll (2008-03-09 20:08:02)
    Audioscrobbler 1.3.16
foo_burninate.dll (2009-06-21 23:17:14)
    Audio CD Writer 3.0
foo_cdda.dll (2009-05-21 16:58:54)
    CD Audio Decoder 2.1.4
foo_chronflow.dll (2008-04-14 00:16:00)
    Chronial's Coverflow 0.3.0
foo_converter.dll (2009-05-21 16:58:58)
    Converter 1.2.1
foo_convolve.dll (2006-08-04 21:57:26)
    Convolver 0.3
foo_covers.dll (2009-04-27 14:19:56)
    Locate Covers 0.03
foo_dop.dll (2009-07-25 23:35:04)
    iPod manager 0.6.5.0
foo_dsp_std.dll (2009-05-21 16:59:10)
    Standard DSP Array 1.0
foo_exvar.dll (2008-06-14 00:42:56)
    Extended Variables 0.3.1
foo_fileops.dll (2009-05-21 16:57:42)
    File Operations 2.1.2
foo_freedb2.dll (2009-05-21 16:58:00)
    freedb Tagger 0.6.1
foo_input_std.dll (2009-05-21 16:58:46)
    Standard Input Array 1.0
foo_masstag.dll (2009-06-21 23:04:00)
    Masstagger 1.8.2
foo_menu_addons.dll (2009-01-05 21:44:56)
    Menu Addons 0.4.1 (SSE)
foo_playback_custom.dll (2009-04-27 18:35:24)
    Playback Statistics Custom 1.5.1
foo_playcount.dll (2009-04-29 20:09:32)
    Playback Statistics 2.1.9
foo_rgscan.dll (2009-05-21 16:58:30)
    ReplayGain Scanner 2.0.8
foo_ui_columns.dll (2009-06-15 00:18:06)
    Columns UI 0.3.7.8
foo_ui_std.dll (2009-05-21 16:59:16)
    Default User Interface 0.9.5
foo_uie_biography.dll (2009-07-25 01:41:42)
    Biography View 0.3.2.2
foo_uie_elplaylist.dll (2009-06-05 22:01:32)
    ELPlaylist 0.6.5.3.3(beta)
foo_uie_graphical_browser.dll (2008-04-19 21:37:54)
    Graphical Browser rev015
foo_uie_library_tree.dll (2009-07-25 01:18:14)
    Library Tree 0.3.2.5b
foo_uie_lyrics.dll (2008-12-12 11:39:22)
    Lyric Show Panel 0.3.3.9 [Dec 12 2008 - 17:39:01]
foo_uie_panel_splitter.dll (2009-06-07 22:36:54)
    Panel Stack Splitter 0.3.8(alpha)
foo_uie_quicksearch.dll (2007-05-18 14:31:10)
    Quick Search Toolbar 2.8l
foo_uie_vis_channel_spectrum.dll (2008-05-18 04:02:12)
    Channel Spectrum panel 0.17.2
foo_uie_wsh_panel_mod.dll (2009-07-12 05:44:54)
    WSH Panel Mod 1.1.9
foo_unpack.dll (2009-05-21 16:57:34)
    RAR reader 1.2
    ZIP/GZIP reader 1.0
foo_utils.dll (2008-02-08 23:26:58)
    Playlist Tools 0.6.2 beta 6
foo_vis_shpeck.dll (2009-05-21 00:18:26)
    Shpeck - Winamp vis plugins wrapper 0.3.5

Recent events:
Audioscrobbler: Submission succeeded.
itm focus changed
itm focus changed
itm focus changed
itm focus changed
WSH Panel Mod (HWND: 0xc075e): initliased in 0.0000073 s
WSH Panel Mod (HWND: 0xc075e): initliased in 0.0000071 s
Reopening played file after update: "Z:\MP3\V\VARIOUS ARTISTS\Various Artists - Nova Tunes 1.9 (2009)\The Bamboos Feat. Megan Washington - King of the Rodeo.mp3"
Audioscrobbler: Submitting track...
Audioscrobbler: Submission succeeded.



WSH Panel Mod

Reply #226
@hydrotester:
As soon as you first got on_mouse_move() called, it's "on_mouse_in", really.

@Falstaff:
1. flicking
I don't know when the flicking happen, have you tried overlapping another panel with wsh panel, or using repaint functions in on_size() ?
And the fcl layout file will much help for debugging.

2. crashing
I'll fix that later, thanks for reporting.

WSH Panel Mod

Reply #227
@Falstaff:
1. flicking
I don't know when the flicking happen, have you tried overlapping another panel with wsh panel, or using repaint functions in on_size() ?
And the fcl layout file will much help for debugging.

2. crashing
I'll fix that later, thanks for reporting.


1. it happens on playback changes, mainly on new track when in playing mode or when i start playing a track.
=> my WSH panel is in a Panel Stack Splitter panel. Pb is only when WSH panel is transparent.

FYI, a pause/play make a flicker, but it's normal, just 1 flick. in the pb i'm discribing, it flickers 4/5 times in a row... no window.Repaint(); abuse at all, none in on_size(), just on mouse_lbt_down or mouse_lbt_up, that's all.

weird.

i'll send you more info and .fcl (a light one, none the whole Xchange config) to show you for testing.

Thanx for your help and for this good component!

WSH Panel Mod

Reply #228
@Falstaff:
1. flicking
I don't know when the flicking happen, have you tried overlapping another panel with wsh panel, or using repaint functions in on_size() ?
And the fcl layout file will much help for debugging.

2. crashing
I'll fix that later, thanks for reporting.

1. it happens on playback changes, mainly on new track when in playing mode or when i start playing a track.
=> my WSH panel is in a Panel Stack Splitter panel. Pb is only when WSH panel is transparent.

FYI, a pause/play make a flicker, but it's normal, just 1 flick. in the pb i'm discribing, it flickers 4/5 times in a row... no window.Repaint(); abuse at all, none in on_size(), just on mouse_lbt_down or mouse_lbt_up, that's all.

weird.

i'll send you more info and .fcl (a light one, none the whole Xchange config) to show you for testing.

Thanx for your help and for this good component!


OK, i've found the problem, it's not a WSH pb but a PSS one

in the settings of the PSS that contains the WSH panel, Behaviour tab, the option "evaluate scripts on track info changes" was activated and was causing the flicker

unticked and now, all is fine, the WSH panel only flick one time (normal refresh for transparency support i think)



WSH Panel Mod

Reply #229
another crash when draging an item in a wsh panel mod, i hope that will help you to fix these crashes problem (using Seven build 7100, WSH panel mod 1.1.9)

Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 00000000h
Access violation, operation: write, address: 00000000h

Call path:
entry=>app_mainloop

Stack (0028E4F8h):
0028E4D8h:  FFFFFFFF 8BC225E6 FFFFFD34 000002E4
0028E4E8h:  FFFFFD34 000002CC 00000018 00000000
0028E4F8h:  76CE00BE 03E9FCD0 0028E5B4 004AEB64
0028E508h:  00000000 00CA46C8 00000000 76CD3AC8
0028E518h:  00000009 00000000 0028E5C8 76CD3F57
0028E528h:  00CA46C8 76590009 04070002 0028E5B4
0028E538h:  00000000 004AEB3C 00000000 00000002
0028E548h:  00000000 0359D974 0028E784 0028E640
0028E558h:  0359D98C 00000009 04070002 0028E610
0028E568h:  0048000C 0028E794 0028E64C FFFFFFFF
0028E578h:  00000000 00479560 00000009 0000000B
0028E588h:  00000001 0028E784 0359D9C0 00000000
0028E598h:  FFFFFFFF 00000008 00000000 00000000
0028E5A8h:  00000000 76590009 004AEB3C 7EFBD443
0028E5B8h:  4CB24F6F 2B88EE9E F6CB199B 5E53D216
0028E5C8h:  0028E65C 76CD3727 0359D974 00478F78
0028E5D8h:  00000001 0028E784 0028E640 0028E610
0028E5E8h:  0028E64C 0028E794 00000000 0028E6B4
0028E5F8h:  00000000 03E9CA10 00000000 00000000
0028E608h:  00CA5478 00C60048 00C601A0 00CA4648

Registers:
EAX: 03E9FCD0, EBX: 00CA46C8, ECX: 69260029, EDX: 004AEB64
ESI: 004AEB5C, EDI: 004AEB3C, EBP: 0028E520, ESP: 0028E4F8

Unable to identify crash location!

Loaded modules:
foobar2000                      loaded at 01000000h - 01199000h
ntdll                            loaded at 77C00000h - 77D3C000h
kernel32                        loaded at 76550000h - 76624000h
KERNELBASE                      loaded at 76000000h - 76048000h
COMCTL32                        loaded at 74CA0000h - 74E3C000h
msvcrt                          loaded at 76740000h - 767EC000h
GDI32                            loaded at 76D50000h - 76D9E000h
USER32                          loaded at 77D50000h - 77E19000h
LPK                              loaded at 77E20000h - 77E2A000h
USP10                            loaded at 760D0000h - 7616D000h
SHLWAPI                          loaded at 76C00000h - 76C57000h
DSOUND                          loaded at 69160000h - 691D2000h
ADVAPI32                        loaded at 763A0000h - 76440000h
sechost                          loaded at 77BE0000h - 77BF9000h
RPCRT4                          loaded at 76DA0000h - 76E42000h
ole32                            loaded at 767F0000h - 7694B000h
WINMM                            loaded at 741A0000h - 741D2000h
POWRPROF                        loaded at 75110000h - 75135000h
SETUPAPI                        loaded at 76200000h - 7639D000h
CFGMGR32                        loaded at 75E00000h - 75E27000h
OLEAUT32                        loaded at 76CC0000h - 76D4F000h
DEVOBJ                          loaded at 75F50000h - 75F62000h
SHELL32                          loaded at 76E50000h - 77A96000h
shared                          loaded at 10000000h - 1002B000h
imagehlp                        loaded at 76520000h - 7654A000h
UxTheme                          loaded at 74AF0000h - 74B30000h
dbghelp                          loaded at 6F9A0000h - 6FA8C000h
COMDLG32                        loaded at 76050000h - 760CB000h
IMM32                            loaded at 76C60000h - 76C7F000h
MSCTF                            loaded at 76450000h - 7651C000h
CRYPTBASE                        loaded at 75CD0000h - 75CDC000h
CLBCatQ                          loaded at 76170000h - 761F3000h
MMDevApi                        loaded at 747E0000h - 74819000h
PROPSYS                          loaded at 74B60000h - 74C55000h
dwmapi                          loaded at 74750000h - 74763000h
foo_fileops                      loaded at 00360000h - 003A6000h
foo_rgscan                      loaded at 003B0000h - 003FE000h
foo_menu_addons                  loaded at 00A40000h - 00A7C000h
foo_convolve                    loaded at 00A80000h - 00AD1000h
foo_uie_graphical_browser        loaded at 71120000h - 711B4000h
MSIMG32                          loaded at 742A0000h - 742A5000h
gdiplus                          loaded at 74960000h - 74AF0000h
foo_playback_custom              loaded at 00B50000h - 00B97000h
WINSPOOL                        loaded at 6FE90000h - 6FEE1000h
foo_unpack                      loaded at 00D60000h - 00D8E000h
foo_freedb2                      loaded at 00DA0000h - 00DE1000h
foo_exvar                        loaded at 00F80000h - 00FA8000h
foo_dsp_std                      loaded at 02B50000h - 02B99000h
foo_albumlist                    loaded at 02BA0000h - 02BFB000h
foo_uie_library_tree            loaded at 02D60000h - 02DB7000h
foo_masstag                      loaded at 02ED0000h - 02F24000h
foo_input_std                    loaded at 035C0000h - 03700000h
foo_uie_biography                loaded at 03080000h - 030D0000h
foo_abx                          loaded at 030D0000h - 03102000h
foo_cdda                        loaded at 033B0000h - 033F1000h
foo_burninate                    loaded at 03240000h - 03280000h
foo_chronflow                    loaded at 03400000h - 03461000h
OPENGL32                        loaded at 69290000h - 69358000h
GLU32                            loaded at 73E10000h - 73E32000h
DDRAW                            loaded at 6B9D0000h - 6BAB7000h
DCIMAN32                        loaded at 6CC90000h - 6CC96000h
foo_uie_vis_channel_spectrum    loaded at 03700000h - 0373D000h
foo_converter                    loaded at 03A40000h - 03AAD000h
foo_vis_shpeck                  loaded at 73DD0000h - 73E0F000h
foo_uie_wsh_panel_mod            loaded at 69200000h - 6928E000h
foo_playcount                    loaded at 03740000h - 03770000h
foo_covers                      loaded at 710F0000h - 71117000h
foo_ui_std                      loaded at 04390000h - 0449E000h
foo_uie_elplaylist              loaded at 03AC0000h - 03B2E000h
foo_ui_columns                  loaded at 044A0000h - 0460E000h
foo_utils                        loaded at 6D6C0000h - 6D704000h
foo_uie_panel_splitter          loaded at 03BA0000h - 03BF8000h
foo_uie_quicksearch              loaded at 03D60000h - 03DA6000h
foo_audioscrobbler              loaded at 03B30000h - 03B60000h
WS2_32                          loaded at 76C80000h - 76CB5000h
NSI                              loaded at 76630000h - 76636000h
foo_uie_lyrics                  loaded at 03E10000h - 03E6D000h
WININET                          loaded at 76640000h - 76732000h
Normaliz                        loaded at 76440000h - 76443000h
urlmon                          loaded at 77AA0000h - 77BD5000h
CRYPT32                          loaded at 75E30000h - 75F4C000h
MSASN1                          loaded at 75DC0000h - 75DCC000h
iertutil                        loaded at 76A00000h - 76BF8000h
foo_dop                          loaded at 04E70000h - 04FC0000h
QUARTZ                          loaded at 68EE0000h - 69057000h
mscms                            loaded at 6BAC0000h - 6BB39000h
USERENV                          loaded at 753B0000h - 753C7000h
profapi                          loaded at 75D50000h - 75D5B000h
icm32                            loaded at 6DA00000h - 6DA38000h
SXS                              loaded at 75CE0000h - 75D3F000h
jscript                          loaded at 6B3B0000h - 6B461000h
VERSION                          loaded at 75250000h - 75259000h
CRYPTSP                          loaded at 75800000h - 75816000h
rsaenh                          loaded at 755A0000h - 755DB000h
RpcRtRemote                      loaded at 75D40000h - 75D4E000h
WindowsCodecs                    loaded at 74600000h - 746F9000h
wshom                            loaded at 6D630000h - 6D651000h
MPR                              loaded at 6DE00000h - 6DE12000h
ScrRun                          loaded at 69E10000h - 69E3A000h
nvoglv32                        loaded at 0A5C0000h - 0AFBC000h
mswsock                          loaded at 757C0000h - 757FC000h
DNSAPI                          loaded at 75680000h - 756C4000h
mdnsNSP                          loaded at 16080000h - 160A5000h
Iphlpapi                        loaded at 73EC0000h - 73EDC000h
WINNSI                          loaded at 73EB0000h - 73EB7000h
WINTRUST                        loaded at 75DD0000h - 75DFD000h
QTMLClient                      loaded at 69100000h - 69151000h
iTunesMobileDevice              loaded at 0FA90000h - 0FBDC000h
WSOCK32                          loaded at 72180000h - 72187000h
QuickTime                        loaded at 649E0000h - 6569E000h
wshtcpip                        loaded at 752E0000h - 752E5000h
fwpuclnt                        loaded at 73960000h - 73998000h
rasadhlp                        loaded at 73A20000h - 73A26000h
wship6                          loaded at 757B0000h - 757B6000h
explorerframe                    loaded at 6CD00000h - 6CE6E000h
DUser                            loaded at 747B0000h - 747DF000h
DUI70                            loaded at 748A0000h - 74951000h
tiptsf                          loaded at 6CCA0000h - 6CCF8000h
apphelp                          loaded at 75C80000h - 75CCB000h
EhStorShell                      loaded at 6D3C0000h - 6D3F1000h
cscui                            loaded at 6D350000h - 6D3BA000h
CSCDLL                          loaded at 6D760000h - 6D769000h
CSCAPI                          loaded at 6FCF0000h - 6FCFB000h
ntshrui                          loaded at 6D2E0000h - 6D34F000h
srvcli                          loaded at 759A0000h - 759B9000h
slc                              loaded at 73F40000h - 73F4A000h
msls31                          loaded at 6D160000h - 6D189000h
xmllite                          loaded at 74720000h - 7474F000h
StructuredQuery                  loaded at 68040000h - 6809C000h
Secur32                          loaded at 75A60000h - 75A68000h
SSPICLI                          loaded at 75C60000h - 75C7A000h
actxprxy                        loaded at 711C0000h - 7120F000h
ieproxy                          loaded at 6DE60000h - 6DE8B000h
ntmarta                          loaded at 74270000h - 74291000h
WLDAP32                          loaded at 76950000h - 76995000h
thumbcache                      loaded at 6D240000h - 6D256000h
PSAPI                            loaded at 77D40000h - 77D45000h
SearchFolder                    loaded at 656A0000h - 6573E000h
SHDOCVW                          loaded at 6D770000h - 6D79D000h
ieframe                          loaded at 6BE10000h - 6C88C000h
OLEACC                          loaded at 74340000h - 7437C000h
NaturalLanguage6                loaded at 69C80000h - 69D46000h
NLSData000c                      loaded at 699F0000h - 69C7F000h
NLSLexicons000c                  loaded at 693F0000h - 699E4000h
samcli                          loaded at 744B0000h - 744BF000h
SAMLIB                          loaded at 74C60000h - 74C72000h
netutils                        loaded at 744D0000h - 744D9000h
LINKINFO                        loaded at 6DE20000h - 6DE29000h
NetworkExplorer                  loaded at 6D830000h - 6D9C8000h
avrt                            loaded at 74B50000h - 74B57000h
AUDIOSES                        loaded at 73D50000h - 73D86000h
RASAPI32                        loaded at 743B0000h - 74402000h
rasman                          loaded at 74390000h - 743A5000h
rtutils                          loaded at 74380000h - 7438D000h
sensapi                          loaded at 6B940000h - 6B946000h
NLAapi                          loaded at 740F0000h - 74100000h
winrnr                          loaded at 70E90000h - 70E98000h
napinsp                          loaded at 70E80000h - 70E90000h
pnrpnsp                          loaded at 70E60000h - 70E72000h
peerdist                        loaded at 740C0000h - 740E5000h
AUTHZ                            loaded at 75970000h - 7598B000h
drprov                          loaded at 6DDF0000h - 6DDF8000h
WINSTA                          loaded at 754B0000h - 754D9000h
ntlanman                        loaded at 6DDD0000h - 6DDE3000h
davclnt                          loaded at 6D810000h - 6D826000h
DAVHLPR                          loaded at 6DDC0000h - 6DDC8000h
wkscli                          loaded at 744C0000h - 744CF000h
PortableDeviceApi                loaded at 71050000h - 710D9000h
PortableDeviceTypes              loaded at 70A90000h - 70ABB000h
EhStorAPI                        loaded at 69080000h - 690A2000h
MediaLibraryNSE                  loaded at 0FC50000h - 0FCA9000h
MSVCR71                          loaded at 7C340000h - 7C396000h
MFC71U                          loaded at 13CF0000h - 13DF2000h
MSVCP71                          loaded at 7C3A0000h - 7C41B000h
vis_milk2                        loaded at 16BC0000h - 170DF000h
d3d9                            loaded at 72D40000h - 72F03000h
d3d8thk                          loaded at 74420000h - 74426000h
nvd3dum                          loaded at 730C0000h - 7381C000h

Stack dump analysis:
Address: 76CE00BEh (OLEAUT32+200BEh), symbol: "VarBstrFromUI4" (+A2h)
Address: 76CD3AC8h (OLEAUT32+13AC8h), symbol: "DispCallFunc" (+263h)
Address: 76CD3F57h (OLEAUT32+13F57h), symbol: "DispCallFunc" (+6F2h)
Address: 76590009h (kernel32+40009h), symbol: "SetFileInformationByHandle" (+16F4h)
Address: 76590009h (kernel32+40009h), symbol: "SetFileInformationByHandle" (+16F4h)
Address: 76CD3727h (OLEAUT32+13727h), symbol: "LoadRegTypeLib" (+76A7h)
Address: 77C1F1A5h (ntdll+1F1A5h), symbol: "DbgPrint" (+408h)
Address: 77C53FF7h (ntdll+53FF7h), symbol: "RtlAllocateHeap" (+211h)
Address: 77C53E92h (ntdll+53E92h), symbol: "RtlAllocateHeap" (+ACh)
Address: 6920AA5Ch (foo_uie_wsh_panel_mod+AA5Ch)
Address: 6B3D4F86h (jscript+24F86h), symbol: "DllGetClassObject" (+D02Fh)
Address: 6B3D2190h (jscript+22190h), symbol: "DllGetClassObject" (+A239h)
Address: 6B3D4EDAh (jscript+24EDAh), symbol: "DllGetClassObject" (+CF83h)
Address: 6B3D4E4Dh (jscript+24E4Dh), symbol: "DllGetClassObject" (+CEF6h)
Address: 76CD5973h (OLEAUT32+15973h), symbol: "LHashValOfNameSysA" (+35Eh)
Address: 0308031Fh (foo_uie_biography+31Fh)
Address: 6B3D223Eh (jscript+2223Eh), symbol: "DllGetClassObject" (+A2E7h)
Address: 6B3D5900h (jscript+25900h), symbol: "DllGetClassObject" (+D9A9h)
Address: 6B3D2489h (jscript+22489h), symbol: "DllGetClassObject" (+A532h)
Address: 6B3D44CFh (jscript+244CFh), symbol: "DllGetClassObject" (+C578h)
Address: 6B3B0001h (jscript+1h)
Address: 6B3D4DA3h (jscript+24DA3h), symbol: "DllGetClassObject" (+CE4Ch)
Address: 6B3D5942h (jscript+25942h), symbol: "DllGetClassObject" (+D9EBh)
Address: 6B3C456Bh (jscript+1456Bh)
Address: 77C53FF7h (ntdll+53FF7h), symbol: "RtlAllocateHeap" (+211h)
Address: 7711B87Ah (SHELL32+2CB87Ah), symbol: "StgMakeUniqueName" (+628F2h)
Address: 7711B80Ah (SHELL32+2CB80Ah), symbol: "StgMakeUniqueName" (+62882h)
Address: 77C53DE6h (ntdll+53DE6h), symbol: "RtlAllocateHeap" (+0h)
Address: 749D59E2h (gdiplus+759E2h), symbol: "GdipCreateSolidFill" (+2E9CEh)
Address: 74A274DEh (gdiplus+C74DEh), symbol: "GdipCreateSolidFill" (+804CAh)
Address: 749BAA01h (gdiplus+5AA01h), symbol: "GdipCreateSolidFill" (+139EDh)
Address: 74AD3480h (gdiplus+173480h), symbol: "GdipCreateSolidFill" (+12C46Ch)
Address: 749BB661h (gdiplus+5B661h), symbol: "GdipCreateSolidFill" (+1464Dh)
Address: 76D56AC3h (GDI32+6AC3h), symbol: "DeleteObject" (+1FDh)
Address: 76D99100h (GDI32+49100h), symbol: "DdQueryVisRgnUniqueness" (+1D51h)
Address: 76D5698Ch (GDI32+698Ch), symbol: "DeleteObject" (+C6h)
Address: 76D56A4Fh (GDI32+6A4Fh), symbol: "DeleteObject" (+189h)
Address: 749FA0AAh (gdiplus+9A0AAh), symbol: "GdipCreateSolidFill" (+53096h)
Address: 6B3C0001h (jscript+10001h)
Address: 6B3C57C3h (jscript+157C3h)
Address: 6B4468E4h (jscript+968E4h), symbol: "DllRegisterServer" (+1A223h)
Address: 6B3D441Eh (jscript+2441Eh), symbol: "DllGetClassObject" (+C4C7h)
Address: 6B3C4D16h (jscript+14D16h)
Address: 76835641h (ole32+45641h), symbol: "CoSetState" (+904h)
Address: 6B3D437Ch (jscript+2437Ch), symbol: "DllGetClassObject" (+C425h)
Address: 76843749h (ole32+53749h), symbol: "CoRevokeInitializeSpy" (+80D0h)
Address: 76835669h (ole32+45669h), symbol: "CoSetState" (+92Ch)
Address: 6B3C643Bh (jscript+1643Bh)
Address: 6B3D71CCh (jscript+271CCh), symbol: "DllGetClassObject" (+F275h)
Address: 6B4468E4h (jscript+968E4h), symbol: "DllRegisterServer" (+1A223h)
Address: 6B3C3CF8h (jscript+13CF8h)
Address: 749BAA9Ch (gdiplus+5AA9Ch), symbol: "GdipCreateSolidFill" (+13A88h)
Address: 749D596Eh (gdiplus+7596Eh), symbol: "GdipCreateSolidFill" (+2E95Ah)
Address: 749D59E2h (gdiplus+759E2h), symbol: "GdipCreateSolidFill" (+2E9CEh)
Address: 6B3D5B4Dh (jscript+25B4Dh), symbol: "DllGetClassObject" (+DBF6h)
Address: 6B4468E4h (jscript+968E4h), symbol: "DllRegisterServer" (+1A223h)
Address: 6B4468E4h (jscript+968E4h), symbol: "DllRegisterServer" (+1A223h)
Address: 6B3C3B65h (jscript+13B65h)
Address: 00AA000Ah (foo_convolve+2000Ah), symbol: "foobar2000_get_interface" (+1AE2Ah)
Address: 6B4468E4h (jscript+968E4h), symbol: "DllRegisterServer" (+1A223h)
Address: 6B3BF9FFh (jscript+F9FFh)
Address: 6B3BF94Ah (jscript+F94Ah)
Address: 6B3C3F55h (jscript+13F55h)
Address: 6B3C417Bh (jscript+1417Bh)
Address: 6B4468E4h (jscript+968E4h), symbol: "DllRegisterServer" (+1A223h)
Address: 6B3BD5E6h (jscript+D5E6h)
Address: 69208ED8h (foo_uie_wsh_panel_mod+8ED8h)
Address: 6926788Ch (foo_uie_wsh_panel_mod+6788Ch), symbol: "foobar2000_get_interface" (+428BCh)
Address: 6920A3B5h (foo_uie_wsh_panel_mod+A3B5h)
Address: 6926A7FCh (foo_uie_wsh_panel_mod+6A7FCh), symbol: "foobar2000_get_interface" (+4582Ch)
Address: 77D642F0h (USER32+142F0h), symbol: "wsprintfA" (+306h)
Address: 69263868h (foo_uie_wsh_panel_mod+63868h), symbol: "foobar2000_get_interface" (+3E898h)
Address: 692095B5h (foo_uie_wsh_panel_mod+95B5h)
Address: 77DB62DDh (USER32+662DDh), symbol: "IsWow64Message" (+49h)
Address: 77D66318h (USER32+16318h), symbol: "GetWindowLongW" (+37h)
Address: 74AF714Dh (UxTheme+714Dh), symbol: "Ordinal45" (+104h)
Address: 74AF7115h (UxTheme+7115h), symbol: "Ordinal45" (+CCh)
Address: 74AF70F6h (UxTheme+70F6h), symbol: "Ordinal45" (+ADh)
Address: 74AF7174h (UxTheme+7174h), symbol: "Ordinal45" (+12Bh)
Address: 74AF1FC1h (UxTheme+1FC1h)
Address: 003D4D00h (foo_rgscan+24D00h), symbol: "foobar2000_get_interface" (+FEC0h)
Address: 77D642F0h (USER32+142F0h), symbol: "wsprintfA" (+306h)
Address: 77D6630Ch (USER32+1630Ch), symbol: "GetWindowLongW" (+2Bh)
Address: 77D66318h (USER32+16318h), symbol: "GetWindowLongW" (+37h)
Address: 69264DC3h (foo_uie_wsh_panel_mod+64DC3h), symbol: "foobar2000_get_interface" (+3FDF3h)
Address: 77DB62DDh (USER32+662DDh), symbol: "IsWow64Message" (+49h)
Address: 6924C325h (foo_uie_wsh_panel_mod+4C325h), symbol: "foobar2000_get_interface" (+27355h)
Address: 77D6C6C2h (USER32+1C6C2h), symbol: "gapfnScSendMessage" (+1FAh)
Address: 77D66101h (USER32+16101h), symbol: "SetPropW" (+DBh)
Address: 6924C190h (foo_uie_wsh_panel_mod+4C190h), symbol: "foobar2000_get_interface" (+271C0h)
Address: 77D6C743h (USER32+1C743h), symbol: "gapfnScSendMessage" (+27Bh)
Address: 77DB62DDh (USER32+662DDh), symbol: "IsWow64Message" (+49h)
Address: 77D6502Ch (USER32+1502Ch), symbol: "IsDialogMessageW" (+13Dh)
Address: 6924C190h (foo_uie_wsh_panel_mod+4C190h), symbol: "foobar2000_get_interface" (+271C0h)
Address: 74AF7454h (UxTheme+7454h), symbol: "BufferedPaintClear" (+AEh)
Address: 77DB62DDh (USER32+662DDh), symbol: "IsWow64Message" (+49h)
Address: 77D65089h (USER32+15089h), symbol: "IsDialogMessageW" (+19Ah)
Address: 6924C190h (foo_uie_wsh_panel_mod+4C190h), symbol: "foobar2000_get_interface" (+271C0h)
Address: 76D568C6h (GDI32+68C6h), symbol: "DeleteObject" (+0h)
Address: 77C4817Eh (ntdll+4817Eh), symbol: "KiUserCallbackDispatcher" (+2Eh)
Address: 77C48130h (ntdll+48130h), symbol: "KiUserApcDispatcher" (+48h)
Address: 6924C190h (foo_uie_wsh_panel_mod+4C190h), symbol: "foobar2000_get_interface" (+271C0h)
Address: 77D64FE1h (USER32+14FE1h), symbol: "IsDialogMessageW" (+F2h)
Address: 77D62821h (USER32+12821h), symbol: "RedrawWindow" (+Ch)
Address: 692079C3h (foo_uie_wsh_panel_mod+79C3h)
Address: 6920956Fh (foo_uie_wsh_panel_mod+956Fh)
Address: 6B3C3D82h (jscript+13D82h)
Address: 6B3D5B4Dh (jscript+25B4Dh), symbol: "DllGetClassObject" (+DBF6h)
Address: 6B3C3B78h (jscript+13B78h)
Address: 77D642F0h (USER32+142F0h), symbol: "wsprintfA" (+306h)
Address: 77D6630Ch (USER32+1630Ch), symbol: "GetWindowLongW" (+2Bh)
Address: 77D66318h (USER32+16318h), symbol: "GetWindowLongW" (+37h)
Address: 69264DC3h (foo_uie_wsh_panel_mod+64DC3h), symbol: "foobar2000_get_interface" (+3FDF3h)
Address: 77DB62DDh (USER32+662DDh), symbol: "IsWow64Message" (+49h)
Address: 6924C325h (foo_uie_wsh_panel_mod+4C325h), symbol: "foobar2000_get_interface" (+27355h)
Address: 77D6C6C2h (USER32+1C6C2h), symbol: "gapfnScSendMessage" (+1FAh)
Address: 77D66101h (USER32+16101h), symbol: "SetPropW" (+DBh)
Address: 6924C190h (foo_uie_wsh_panel_mod+4C190h), symbol: "foobar2000_get_interface" (+271C0h)
Address: 77D6C743h (USER32+1C743h), symbol: "gapfnScSendMessage" (+27Bh)
Address: 77DB62DDh (USER32+662DDh), symbol: "IsWow64Message" (+49h)
Address: 77D6502Ch (USER32+1502Ch), symbol: "IsDialogMessageW" (+13Dh)
Address: 6924C190h (foo_uie_wsh_panel_mod+4C190h), symbol: "foobar2000_get_interface" (+271C0h)
Address: 6B4468E4h (jscript+968E4h), symbol: "DllRegisterServer" (+1A223h)
Address: 77DB62DDh (USER32+662DDh), symbol: "IsWow64Message" (+49h)
Address: 77D65089h (USER32+15089h), symbol: "IsDialogMessageW" (+19Ah)
Address: 6924C190h (foo_uie_wsh_panel_mod+4C190h), symbol: "foobar2000_get_interface" (+271C0h)
Address: 77C4817Eh (ntdll+4817Eh), symbol: "KiUserCallbackDispatcher" (+2Eh)
Address: 77C48130h (ntdll+48130h), symbol: "KiUserApcDispatcher" (+48h)
Address: 6924C190h (foo_uie_wsh_panel_mod+4C190h), symbol: "foobar2000_get_interface" (+271C0h)
Address: 77D64FE1h (USER32+14FE1h), symbol: "IsDialogMessageW" (+F2h)
Address: 77D62821h (USER32+12821h), symbol: "RedrawWindow" (+Ch)
Address: 69209B66h (foo_uie_wsh_panel_mod+9B66h)

Environment:
App: foobar2000 v0.9.6.8
OS: Windows 6.1.7100 x86
CPU: Intel® Core™2 Duo CPU    E6850  @ 3.00GHz, features: MMX SSE SSE2 SSE3
Audio: Haut-parleurs (Périphérique High Definition Audio); Audio numérique (SPDIF) (Périphérique High Definition Audio)
UI: Columns UI 0.3.7.8

Components:
Core (2009-06-07 14:28:34)
    foobar2000 core 0.9.6.8
foo_abx.dll (2009-05-21 16:57:38)
    ABX Comparator 1.3.4
foo_albumlist.dll (2009-05-21 16:59:10)
    Album List 4.3.1
foo_audioscrobbler.dll (2008-03-09 20:08:02)
    Audioscrobbler 1.3.16
foo_burninate.dll (2009-06-21 23:17:14)
    Audio CD Writer 3.0
foo_cdda.dll (2009-05-21 16:58:54)
    CD Audio Decoder 2.1.4
foo_chronflow.dll (2008-04-14 00:16:00)
    Chronial's Coverflow 0.3.0
foo_converter.dll (2009-05-21 16:58:58)
    Converter 1.2.1
foo_convolve.dll (2006-08-04 21:57:26)
    Convolver 0.3
foo_covers.dll (2009-04-27 14:19:56)
    Locate Covers 0.03
foo_dop.dll (2009-07-25 23:35:04)
    iPod manager 0.6.5.0
foo_dsp_std.dll (2009-05-21 16:59:10)
    Standard DSP Array 1.0
foo_exvar.dll (2008-06-14 00:42:56)
    Extended Variables 0.3.1
foo_fileops.dll (2009-05-21 16:57:42)
    File Operations 2.1.2
foo_freedb2.dll (2009-05-21 16:58:00)
    freedb Tagger 0.6.1
foo_input_std.dll (2009-05-21 16:58:46)
    Standard Input Array 1.0
foo_masstag.dll (2009-06-21 23:04:00)
    Masstagger 1.8.2
foo_menu_addons.dll (2009-01-05 21:44:56)
    Menu Addons 0.4.1 (SSE)
foo_playback_custom.dll (2009-04-27 18:35:24)
    Playback Statistics Custom 1.5.1
foo_playcount.dll (2009-04-29 20:09:32)
    Playback Statistics 2.1.9
foo_rgscan.dll (2009-05-21 16:58:30)
    ReplayGain Scanner 2.0.8
foo_ui_columns.dll (2009-06-15 00:18:06)
    Columns UI 0.3.7.8
foo_ui_std.dll (2009-05-21 16:59:16)
    Default User Interface 0.9.5
foo_uie_biography.dll (2009-07-25 01:41:42)
    Biography View 0.3.2.2
foo_uie_elplaylist.dll (2009-06-05 22:01:32)
    ELPlaylist 0.6.5.3.3(beta)
foo_uie_graphical_browser.dll (2008-04-19 21:37:54)
    Graphical Browser rev015
foo_uie_library_tree.dll (2009-07-25 01:18:14)
    Library Tree 0.3.2.5b
foo_uie_lyrics.dll (2008-12-12 11:39:22)
    Lyric Show Panel 0.3.3.9 [Dec 12 2008 - 17:39:01]
foo_uie_panel_splitter.dll (2009-06-07 22:36:54)
    Panel Stack Splitter 0.3.8(alpha)
foo_uie_quicksearch.dll (2007-05-18 14:31:10)
    Quick Search Toolbar 2.8l
foo_uie_vis_channel_spectrum.dll (2008-05-18 04:02:12)
    Channel Spectrum panel 0.17.2
foo_uie_wsh_panel_mod.dll (2009-07-12 05:44:54)
    WSH Panel Mod 1.1.9
foo_unpack.dll (2009-05-21 16:57:34)
    RAR reader 1.2
    ZIP/GZIP reader 1.0
foo_utils.dll (2008-02-08 23:26:58)
    Playlist Tools 0.6.2 beta 6
foo_vis_shpeck.dll (2009-05-21 00:18:26)
    Shpeck - Winamp vis plugins wrapper 0.3.5

Recent events:
itm focus changed
itm focus changed
itm focus changed
itm focus changed
itm focus changed
itm focus changed
Opening track for playback: "Z:\MP3\T\The Bird And The Bee\The Bird And The Bee (2007)\The Bird and the Bee - 06 - My Fair Lady.mp3"
itm focus changed
itm focus changed
Reopening played file after update: "Z:\MP3\T\The Bird And The Bee\The Bird And The Bee (2007)\The Bird and the Bee - 06 - My Fair Lady.mp3"


WSH Panel Mod

Reply #230
T.P Wang
on_mouse_in isn't work
This is my WSH script:
Code: [Select]
var g_drag = 0;
var hofset = 15;
var is = 32;
var wh = 0;
var vofset;
var length;
var grad;
var img = gdi.image(fb.FoobarPath + "components\\bitmaps\\seekcursor_normal.png");
function on_paint(gr){
vofset = (window.Height-wh)/2;
ww = window.Width - 2*hofset;
length = fb.PlaybackLength;
grad = 0;
if (length > 0) grad = fb.PlaybackTime/fb.PlaybackLength;
gr.DrawImage(img, hofset+ww*grad-is/2, (window.Height-14)/2, 32, 14, 0, 0,32, 14);
}
function on_mouse_lbtn_down(x,y){
g_drag = 1;
on_mouse_move(x,y);
img = gdi.image(fb.FoobarPath + "components\\bitmaps\\seekcursor_press.png");
window.Repaint();
}
function on_mouse_lbtn_up(x,y){
//on_mouse_move(x,y);
g_drag = 0;
img = gdi.image(fb.FoobarPath + "components\\bitmaps\\seekcursor_normal.png");
window.Repaint();
}
function on_mouse_move(x,y){
if(g_drag){
img = gdi.image(fb.FoobarPath + "components\\bitmaps\\seekcursor_press.png");
window.Repaint();
var v = (x-hofset)/ww;
v = (v<0) ? 0 : (v<1) ? v : 1;
fb.PlaybackTime = fb.PlaybackLength * v;
}
}
function on_mouse_wheel(delta){
if(delta>0)
fb.PlaybackTime = fb.PlaybackTime + delta;
else
fb.PlaybackTime = fb.PlaybackTime + delta;
}
function on_playback_new_track(info){
window.Repaint();
}
function on_playback_stop(){
img = gdi.image(fb.FoobarPath + "components\\bitmaps\\seekcursor_normal.png");
window.Repaint();
}
function on_playback_seek(time){
window.Repaint();
}
function on_playback_time(time){
window.Repaint();
}
function on_playback_pause(state) {
img = gdi.image(fb.FoobarPath + "components\\bitmaps\\seekcursor_normal.png");
window.Repaint();
}
function on_mouse_in(){
//fb.trace("focus " + focused);
img = gdi.image(fb.FoobarPath + "components\\bitmaps\\seekcursor_hover.png");
window.Repaint();
}
function on_mouse_leave() {
img = gdi.image(fb.FoobarPath + "components\\bitmaps\\seekcursor_normal.png");
window.Repaint();
}

It works, but when I move mouse cursor on seekbar there aren't any changes...

WSH Panel Mod

Reply #231
@hydrotester:
I mean "on_mouse_enter" (or, "on_mouse_in", whatever, just pick a name) is when "on_mouse_move" first get called:

Code: [Select]
var g_is_mouse_in = false;

function on_mouse_move(x, y) {
    // Here is how to get "on_mouse_in"
    if (!g_is_mouse_in) {
        g_is_mouse_in = true;
        on_mouse_enter();
    }

    // Your code
}

function on_mouse_enter() {
    // Add your code here
}

function on_mouse_leave() {
    g_is_mouse_in = false;
    // your code
}

WSH Panel Mod

Reply #232
@Falstaff:
Seems something is wrong in on_paint(), I'll look into it later.


 

WSH Panel Mod

Reply #234
I've quickly gone through the txt files and this thread and have a question
Is it possible to create a button in WSH panel that can hide/show other panels in PSS?
to me looks like it's not possible, but i just wanna double check with you guys!

Thanks

not possible

sorry, i was wrong 

it's possible, and works fine. i've found a way to update global variables used in PSS from a WSH panel mod 

WSH Panel Mod

Reply #235
I'm trying to code an image reflection (album cover) that fades. I want it to be independent of the background (i.e. no image or gradient rectangle overlay which merges with the background colour).

My code (below) works but it is quite slow, especially when the the reflection being drawn is large or the album art image is large. (I'm making the reflection by cropping the reflected image to 1 pixel height slices and then applying decreasing alpha to the slices)

Is there a way of improving the code so its faster? (or a different way of coding it??)

Code: [Select]
var g_img = null;
var g_rotate_img = null;
var img_size;
var ref_h;
var ww;
var wh;

//album art

function get_album_art(metadb) {
if (metadb)
return utils.GetAlbumArt(metadb.RawPath, 0);
}

//on_paint

function on_paint(gr){
if (g_img){
var i;
var ix;
img_size = (ww>wh)?3/4*wh:3/4*ww;
img_x = (ww/2) - (img_size/2);
ref_h = (wh>img_size*5/4)?img_size/4:wh-img_size;
gr.SetInterpolationMode(7);
gr.DrawImage(g_img, img_x, 0, img_size, img_size, 0, 0, g_img.Width, g_img.Height);
ix = (g_img.Height/img_size);

for (i=0;i<ref_h;i++){
g_rotate_img && gr.DrawImage(g_rotate_img, img_x, i+ img_size+1, img_size, 1, 0, i*ix, g_img.Width,1,0,ref_h-i);
}
}

}

//on_size

function on_size (){
ww = window.Width;
wh = window.Height;
}

//new track

function on_playback_new_track(metadb) {
if (!metadb) return;
g_img = get_album_art(metadb);
g_rotate_img = g_img.Clone(0, 0, g_img.Width, g_img.Height);
g_rotate_img.RotateFlip(6);
window.Repaint();
}

WSH Panel Mod

Reply #236
i've just tried to add a "time remaining" counter to my wsh panel seekbar. but the counting is quite buggy. i know it's more a mathematical problem but i just can't fix it in javascript. right now the code looks like that:

Code: [Select]
var counterLeft = function(numberLeft)
{
    return numberLeft < 10 ? "0" + numberLeft : numberLeft;
};

function on_paint(e)
{
    [...]    

    var minutesLeft = Math.floor(fb.PlaybackLength / 60 - fb.PlaybackTime / 60);
    var secondsLeft = Math.floor(fb.PlaybackLength % 60 - fb.PlaybackTime % 60);

    var secondColon = seconds % 2;
    var text3 = "-" + counterLeft(minutesLeft) + (secondColon ? ":" : " ") + counterLeft(secondsLeft);

    e.DrawString(text3,g_font,RGB(255,128,0),-30,0,ww*2,wh,0x11005000);
}

WSH Panel Mod

Reply #237
why not just use %playback_time_remaining% ?

Code: [Select]
var time_r = fb.TitleFormat("%playback_time_remaining%");

function on_paint(gr) {
// use it here to display it ...
}

function on_playback_time(time)
{
time_r.Eval();
window.Repaint();
}

WSH Panel Mod

Reply #238
thx! i didn't know the fb.TitleFormat function.

EDIT: ok there's the problem. fb.TitleFormat doesn't work. All i get is a script error.

WSH Panel Mod

Reply #239
thx! i didn't know the fb.TitleFormat function.

EDIT: ok there's the problem. fb.TitleFormat doesn't work. All i get is a script error.


my bad, try this :

Code: [Select]
var time_r = fb.TitleFormat("%playback_time_remaining%");
var tr;

function on_paint(gr) {

// use tr variable

}

function on_playback_time(time)
{

tr = time_r.Eval();

window.Repaint();

}

WSH Panel Mod

Reply #240
works perfectly. thx a lot!

WSH Panel Mod

Reply #241
hey all, im wondering if someone could help me out here with a minor question.

im using the script for the "stop after current" button as seen in this thread & slightly modified for my images, positions etc.
basicly, im just wondering if its possible to have a seperate image on mouse over?
(ie, at the moment it has 2 images for "on" & "off" but id like to use 4 images eg. "1.png" for off, "2.png" for mouse over on, "3.png" for on & "4.png" for mouse over off)

thanks for your time

WSH Panel Mod

Reply #242
@Jack Schmaltz:

i've created an object "button" that handle the image, the states, position and drawing

1. put this in the global code section:
Code: [Select]
//=================================================// OBJECT button
button = function () {
this._attrb = {};

this.create = function (path_normal, path_hover, path_down) {
  this._attrb.normal = gdi.Image(path_normal);
  this._attrb.hover = gdi.Image(path_hover);
  this._attrb.down= gdi.Image(path_down);
  if (typeof this._attrb.x == "undefined") this._attrb.x= 0;
  if (typeof this._attrb.y == "undefined") this._attrb.y= 0;
  this._attrb.w = this._attrb.normal.Width;
  this._attrb.h= this._attrb.normal.Height;
  if (typeof this._attrb.state == "undefined") this._attrb.state=0;
}

this.draw = function (gr, bx, by, alpha, label) {
  var image;
  this._attrb.x = bx;
  this._attrb.y = by;
  switch(this._attrb.state)
 {
    case 0:
      image = this._attrb.normal;
      break;
    case 1:
      image = this._attrb.hover;
      break;
    case 2:
      image = this._attrb.down;
      break;
  }
  gr.DrawImage(image, bx, by, this._attrb.w, this._attrb.h, 0, 0, this._attrb.w, this._attrb.h, 0, alpha);
}

this.checkstate = function (action, x, y) {
  switch(action)
  {
    case "down":
      if (x>this._attrb.x && x<this._attrb.x+this._attrb.w && y>this._attrb.y && y<this._attrb.y+this._attrb.h)
      {
        this._attrb.state=2;
window.Repaint();
      } else if (this._attrb.state==2){
        this._attrb.state=0;     
        window.Repaint();
      }
      break;
    case "move":
      if (x>this._attrb.x && x<this._attrb.x+this._attrb.w && y>this._attrb.y && y<this._attrb.y+this._attrb.h)
      {
        this._attrb.state=1;
window.Repaint();
      } else if (this._attrb.state==1){
        this._attrb.state=0;
        window.Repaint();   
      }
      break;
    case "up":
      this._attrb.state=0;
      break;
  }
  return this._attrb.state;
}

}

var ButtonStates = {normal: 0,hover: 1,down: 2};


2. always in global code section, declare a new button instance, for example : button01 :
Code: [Select]
var bouton01 = new button;

3. in on_paint() function, call the draw method for the button01 just created
Code: [Select]
//draw button 01 at position x,y with alpha transparency level
bouton01.draw(gr,[x],[y],[alpha]);

4. in on_size() function, set the button images (for the 3 possible states : normal, down, hover)
Code: [Select]
bouton01.create(my_img_directory+"button_normal.png", my_img_directory+"button_down.png", my_img_directory+"button_hover.png");

5. in on_lbtn_down() function, call checkstate method for this event "down"
Code: [Select]
if (bouton01.checkstate("down",x,y)==ButtonStates.down) {
// code ... actions ... here
}

6. in on_mouse_move() function, call checkstate method for this event "move" to display hover image
Code: [Select]
bouton01.checkstate("move",x,y);

7. in on_mouse_lbtn_up() function, restore the normal state and so the normal button image
Code: [Select]
bouton01.checkstate("up",x,y);
window.Repaint(); // repaint needed after the check state in this function

8. in on_mouse_leave() function, restore the normal state and so the normal button image
Code: [Select]
bouton01.checkstate("up",0,0);
window.Repaint(); // repaint needed after the check state in this function

now, add any buttons you want easily

WSH Panel Mod

Reply #243
crikey, thanks for the extensive explanation Falstaff, its greatly appreciated.

this should keep me busy for a few hours as iv never touched jscript before, only the little mods iv done on the said button.
but part of the fun is figuring it out.

thanks again, i'll report back once i get my noggin around it haha!

WSH Panel Mod

Reply #244
any chance this could be used to access the media library DB to pull statistics and stuff?

WSH Panel Mod

Reply #245
Is there any way to distinguish between lower and upper case using on_key_down callback? It seems to send separate codes for shift and the other key, but I can not test whether the shift is still down.

WSH Panel Mod

Reply #246
Forget about my previous question: I already found out how to do this.

But now I have a very different question: what am I doing wrong using gr.MeasureString?
I have this code:
Code: [Select]
gfont = gdi.Font("Arial Unicode MS", 16, 0);
info = gr.MeasureString("test", gfont, 0, 0, 1000, 100, 0);

info.Width returns 25,7890625 - that can not be correct... what am I doing wrong?

WSH Panel Mod

Reply #247
@Harm:
It's 25.7890625(dot not comma), I don't see any problem.
FYI: GDI+ as well as DirectX and OpenGL, supports float coordinates.

WSH Panel Mod

Reply #248
It's 25.7890625(dot not comma), I don't see any problem.
FYI: GDI+ as well as DirectX and OpenGL, supports float coordinates.


How do I convert them into 'normal' coordinates? I want to compare the string length tot a certain length is pixels.

PS: at my computer it shows comma not dot, but I guess that is based on some kind of regional settings (in the Netherlands we use a comma where in the English speaking world a dot is used and visa versa)

WSH Panel Mod

Reply #249
Math.round(value) or Math.floor(") or Math.ceil(") ... depends on how you want to convert it to integer