PDA

View Full Version : Invalid Message error with cimagecontainer



Mark Powers
25-Sep-2013, 10:46 AM
This is kind of weird. I've test it with VDF 17.0 and VDF 17.1 and stumbled onto this happening. I have a view that displays an image using the CIMAGECONTAINER class and the view works great. I was testing my 17.1 recompile and happened to go to the menu and "Help" - "About", and when I do that I get an unhandled program error. Not sure how the "about" is connected to the view I am using but it is complaining about the "SET PSImage" line. Here is a copy of the error:

Q:\VDFProjects\VDF17.1\POS2005\Programs\BigPOS.exe
Invalid message. SET_PSIMAGE


Error: 98


MSG_DOABOUT (19751) - oClientArea (248) - at address 218147
MSG_ACTIVATE_ABOUT (5241) - oClientArea (248) - at address 219986
MSG_ONEXECUTE (8914) - oAboutMenuItem (185) - at address 73563
MSG_EXECUTE (8913) - oAboutMenuItem (185) - at address 52995
MSG_ONCOMEXECUTE (8023) - oCommandBarSystem (99) - at address 52001
[start] - at address 220007


If I comment out the view, the "help-About" works fine. This happens in 17 & 17.1. I've looked over the view and do not see a problem with it.

Any suggestions?
Thanks
Mark

Mark Powers
25-Sep-2013, 01:27 PM
Off course it turned out not to be a cimagecontainer problem, but my programming error. I had a little to much code in it for my own good.