Paolo Messina

Results 43 comments of Paolo Messina

I guess I don't get it ... how can the compiler inline functions that are defined in another compilation unit? Even if I use the inline keyword, shouldn't the function...

Why don't you make a copy of CResizableFrame to CResizableFrameEx, where you replace CFrameWnd with CFrameWndEx, and use that as the parent of your main frame window? It might need...

I don't see anything wrong with making all class member functions non inline and move them to the .cpp file. However there are other classes that would need similar changes,...

I would rather add a CResizableDialogEx class, but I would also need a demo project for that.

I tried this with a background image and it does not redraw correctly, so I think it's not just a matter of changing the base class.

Flickering is not caused by the graphics card, but they way the Windows OS redraws the client area. HandleNcCalcSize() can avoid flickering, or at least reduce it considerably, if you...

What version of Windows did you test on? Does it happen also with both monitors having 100% or both 150% scaling settings? If you have Microsoft Spy++, could you check...

Not sure if the Scrollbar control has the correct position and size... it seems not. Could you capture a screenshot of the Spy++ properties window relative to the scrollbar (where...

Could you show me the Rect coordinates of both the Scrollbar child window and the parent dialog window?

It seems the sizegrip is not where it should be: for example, the rightmost coordinate is -879, while the dialog rightmost coordinate is -854. That's an offset of 25px horizontally...