I'm using the Window Message Queue library that NI provides, and I'm trying to get the WM_DISPLAYCHANGE message. It's included in the List of windows message, I modified the example with the correct number (0x007E) but when I change the resolution (by using the property of screen) the Vi doesn't get the message. Does anybody know how to do this?
the WM_DISPLAYCHANGE message is coded as 0x007E. This is equal to 126 in decimal representation. What you need to do is to handle the event corresponding to 126 as shown in the attached example.
Many thanks ! I had already tried to modify the provided example, but without success. Instead your example works correctly.I'm looking for the differences. Regards