Search the Community
Showing results for tags 'WM_SIZE'.
Added WM_NOTIFY to my code to handle events from a couple controls (Toolbar button clicks and Treeview events) Simply defining WM_NOTIFY and putting in the function makes my GUI go crazy when I resize it, more so when I maximize. If I comment out all the WM_NOTIFY code - it resizes and runs correctly. Any advice? (The code below runs correctly, to see the problem uncomment the WM_NOTIFY function.) Edit**** I have verified that this isn't anything inside of the WM_NOTIFY function. It is simply the function itself. If you uncomment only the function, the force ref, the return
Hello everyone. I want to run a function when a GUI window is resized. However, when I click to resize the GUI, before I actually drag the corner of the GUI it runs and prevents me from resizing the GUI. I was hoping that I would be able to make this message run once the GUI has finished running. Would this be possible? Thanks Edit I have solved it. The answer: GUISetOnEvent($GUI_EVENT_RESIZED, 'WM_SIZE', $hWnd)