Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Massimo Germi
|
Sep 15, 2005 - 1:56 AM
|
Hi, I have to implement a new class derived to CExtButton with a AutoRepeat function. This function shuld enable the button to send a message continuously when its pressed and stops when its released. I use this function in a program that controls and modify the colors of a bitmap, I use AutoReapet function to allow the users to modify the property of a bitmap (RGB colors, contrast, ecc...). Is there a simple way to implement it in your tools? thanks for the answer and congratulation for the tool and the forum. Massimo Germi
|
|
Technical Support
|
Sep 16, 2005 - 5:24 AM
|
Thank you for the interesting question. Neither standard button common control nor our CExtButton extension provides ready-to-use support for continuously pressed button events similar to the up-down control attached to the numeric edit control. If you want this kind of button, then it should be implemented in the CExtButton -derived class where the mouse/keyboard processing is written from scratch. We can help you to code this button. Or we will just add this feature to our TO-DO list. We also wonder how the color value would be changed when the user keeps this kind of button pressed? Typically the color parameters can be changed using up-down controls like up-down grid cells in the following sample application: http://www.prof-uis.com/download/samples/CompoundProperties-m.zip
|
|