Click here to Skip to main content
15,867,308 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a CColorOptionsDialog I am using to select colors for a program. I have provided a custom template and hook procedure. It works well on a Windows XP machine but when I run it on a Windows 10 machine it is very slow. Not sure why. I have tried everything. BTW I am new to this forum so I apologize in advance for everything I am doing wrong.

Thanks,

MIke

What I have tried:

Changing the Paint routine and variables add a WM_MOUSEMOVE to see if it speeds up things.
Posted
Comments
Mohibur Rashid 3-Sep-18 20:31pm    
Have you recompiled it for windows 10?
Jochen Arndt 4-Sep-18 3:31am    
Be careful with WM_MOUSEMOVE handlers. They are called repeatedly with each mouse movement and should therefore not perform time consuming tasks.

If you are actually testing it with a Debug build, try a release build. That might be much faster.

For further help you should show us the relevant code.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900