PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → Scrollbar - Planning
Scrollbar - Planning
Débuté par Eduard, 20 sep. 2018 23:12 - Aucune réponse
Posté le 20 septembre 2018 - 23:12
Hello, I have 2 planning in one window, and I want to sincronize the 2 scroolls bars, In the first planning in the event of horizantal scrollbar I put this


hwndbarh is int = CallDLL32( "user32" , "FindWindowExA" , Handle(SCH_RESERVAS_PLANNING) , Null , "WDSCROLLBAR" , Null )
IF hwndbarh THEN
SendMessage( Handle(SCH_RESERVAS_PLANNING_SINASIGNAR) , _EVE.wMessage , _EVE.wParam , hwndbarh)
END

the problem is if you click in the scrollbar and move it the event not start, How can I do to execute a event moving the scrollbar? If you click in the arrow of the scrollbar or click in one position of the scrollbart is not positioned the event starts.

thanks