2013-02-07 3 views
0

WPF 응용 프로그램이 있고 버튼 클릭시 새 Win32 창을 만들려고합니다 (C++로 작성된 창을 만듭니다). 그리고, 문제가 있습니다. 버튼으로 커서를 이동하면 툴팁이 표시됩니다. 그리고 단추를 클릭 한 후 툴팁에 사라질 시간이 없습니다.현재 UI를 차단하지 않고 Win32 창 만들기

이 상황을 어떻게 방지 할 수 있습니까? 감사

툴팁 '는 다음과 같이 애니메이션을 비활성화하면 툴팁의 부모 자원을 대체 할 수 있습니다 dissapearing을 가진 경우

답변

0

:

<Page 
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
xmlns:sys="clr-namespace:System;assembly=mscorlib" 
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
> 
<Page.Resources> 
    <PopupAnimation x:Key="{x:Static SystemParameters.ToolTipPopupAnimationKey}">None</PopupAnimation> 
</Page.Resources> 

<Button ToolTip="My ToolTip Content" Content="My Button Content" /> 

관련 문제