From: Alexander S.K. <al...@be...> - 2004-05-17 11:10:35
|
On 14.05.2004 9:09, Marcos Antonio Gambeta <mar...@uo...> wrote: MAG> Hi all, MAG> I am working in the class HTrackBar (slider), but there are some bugs to MAG> resolve: MAG> 1. If the control trackbar is created in main window: show the ticks. MAG> 2. If the control trackbar is created in a dialog window: don't show the MAG> ticks. MAG> 3. If the control trackbar is created after the command ACTIVATE DIALOG: MAG> show the ticks. The TBM_SETRANGE message should be sent from ::Init() method. Dialog creation differs from the window's, it doesn't call the InitTrackBar() function, using the template technique instead. MAG> 4. The event ON CHANGE dont' work. The doc says that a trackbar sends the notification message not with the usual WM_NOTIFY, but with the WM_HSCROLL and WM_VSCROLL, so it is needed to add these messages handling in window and dialog processing procedures. Regards, Alexander http://kresin.belgorod.su |