Yes, it was a NCHITTEST issue, I was returning the wrong value.
Nomatter what I tried, I just cannot trap the WM_EXITSIZEMOVE.
I am going to have to take Chris' approach and set a flag on a WM_SIZE event. But since I will only recieve mouse messages when the mouse is over the window I will have to use some type of timer. Luckily for me though, I have a thread running to monitor any changes required in the bitmap.
how can i load the pixels from the file and process the pixels without loading them into memory?
Here[^] or here[^] you can find how it is stored an image into a BMP file. i.e. how it is writed the file header.
Writing some lines of code you can load a pixel from the source image and then store into the output image...to let the processing be faster work row per row.
Probally you can find some code ready somewhere (also on CP) to access to the file.