Skip to content
⌘ NSIS Forum Archive

Handle main HWND Windows Messages

2 posts

gretty#

Handle main HWND Windows Messages

Hi, is it possible handle main HWND windows messages in NSIS?

For example; I want to handle the WM_DRAWITEM or WM_NOTIFY messages and paint the 'Next', 'Prev', etc. buttons backgrounds and text. It would be much easier than to to create or use existing dll's to do this (imo).

Is something like this possible? Maybe I could even create my own WNDPROC in NSIS and call the main windows default WNDPROC (subclass it)?
Anders#
There are some button skin plug-ins you can try. There is also a WndSubclass plug-in but I would perhaps recommend that you make you own plug-in if you are going to do a lot of GDI calls...