Tool Plugin

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 22/07/2005 at 23:30, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   9 
Platform:   Windows  ;   
Language(s) :     C++  ;

---------
Hello ...

Can I use mouse and kyeboard combination in Tool Plugin ...
If so .. how can I do it?

I mean
I want an action when I freely click the mouse ...
... and then I want anothe action when I click the mouse pressing Alt key ...
.... pressing Ctrl ... I want another action ...

I use the QATL ... but it's not OK ...
When I use Alt + 'Q' (eg) ... I can catch it ...

But when I only press Alt ... I think it's not calling the KeyboardInput function ...
So do me a favor ...

Wishing all all the best ...
ZawMinTun

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 27/07/2005 at 07:03, xxxxxxxx wrote:

I don't think there's a way to detect when the user presses the modifier Alt. However, you can always get the current status of the modifiers with:

    
    
    BaseContainer state;  
    GetInputState(BFM_INPUT_MOUSE, BFM_INPUT_MOUSELEFT, state);  
    LONG qual = state.GetLong([CODE]BFM_INPUT_QUALIFIER);  
    Bool alt = qual & QALT;

[/CODE]

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 28/07/2005 at 20:55, xxxxxxxx wrote:

So good to hear from you Mikael ...
It may help my problem ...

Thank you ... I really do ...

With all my respects ...
ZawMinTun