Home
Virtual Image Printer DriverMiraplacid Publisher converts documents to images
Virtual Text Printer DriverMiraplacid Text Driver extracts text from documents
PostScript Printer DriverMiraplacid PostScript Driver prints documents with your content inserted
Miraplacid Binary and Text DOM SDKMiraplacid Binary and Text DOM SDK - access to internal structure of a binary and text files
Common:   Login | Rules of forum | Register
Management:  New topic | Close topic | Move topic | Delete topic
  

Miraplacid Forum >> Software Development >> Trackbar msctls_trackbar32 events MFCModerator:XMan

Author Topic:  Trackbar msctls_trackbar32 events MFC
Angus
Member

From: AU
posted 2004-07-02 04:38:14 Reply -Delete

I have added a trackbar control to my form.
Class Wizard allows me to handle 3 events, the only useful one is NM_RELEASEDCAPLTURE.
It works good when I move the slider with mouse.
But how do I wire an event handler to keyboard slider movement? Should I capture WM_KEYUP
or something like that?

solo
Member

From: Argentina
Email
posted 2004-07-05 05:00:26 Reply -Delete

The only event handler you need is WM_HSCROLL (WM_VSCROLL if your tackbar is vertical)
Choose dialog in cless wizard to make it available.

Angus
Member

From: AU
posted 2004-07-05 07:49:42 Reply -Delete

It works, but it calls the same handler for all my trackbar controls.
How do I figure which control was changed? How can I get control ID from the CScrollBar
I'm getting as a handler argument?

Your message:
Name, password:
Go to category:  

Technical Support

Copyright © Miraplacid, 2003 - 2024