So I have a custom CSliderCtrl in which I do all the drawing for it. The problem is that my custom drawn thumb is slightly bigger then the standard thumb so when you move the thumb it leaves graphics artifacts since the entire thumb area is not getting invalidated.
I need to get a message (within the CSliderCtrl itself and not its parent) everytime the thumb moves so I can invalidate the appropriate areas. I have tried OnChildNotify() and ON_WM_VSCROLL_REFLECT(), neither seems to get regular messages as the thumb moves. I have even tried catching WM_VSCROLL and WM_HSCROLL in PreTranslateMessage. Obviously I am not aware of what messages are truly sent by a CSliderCtrl.
So how can I have the CSliderCtrl know when it's thumb has moved?
Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!
Ownerdraw of the grid button. A singleton class implentation and usage.
Continuing from the fifth article about sudoku.
Open the project in visual studio.
Go to the class view – CGridButton should be visible as a class. R…
Dialogs (1) modal - maintaining the database.
Continuing from the ninth article about sudoku.
You might have heard of modal and modeless dialogs. Here with this Sudoku application will we use one of each type: a modal dialog …
This Micro Tutorial hows how you can integrate Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease.
The following video show how to bind OSX Mavericks to …