Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8553

Get the drop-down list handle of the command line?

$
0
0

@kitjmv wrote:

Hello,

I would get the drop-down list handle of the command line.

image

I have a C# plugin to read Winapi special messages and execute some actions.

For performance and stability, I exclude all messages that are not attached to Rhino main window.


private IntPtr HookFunc (int nCode, IntPtr wParam, IntPtr lParam)
{
    if( nCode != 0 ) return CallNextHookEx (_hookId, nCode, wParam, lParam);

    if( _rhinoWinHandle != GetForegroundWindow () )
    {
        //TODO MAJ Do not go here when the drop-down list on the command line is displayed.
        return CallNextHookEx (_hookId, nCode, wParam, lParam);
    }
    ...
}

Is it possible to get the drop-down list handle ?

Thank you.
jmv.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 8553

Trending Articles