| |
|
|
Georg Hovenbitzer | Hello together,
directly another thing The to the Übersetzen not runs. under Profan becomes the ToolTip Text changed, under the Übersezten Version unfortunately not. CompileMarkSeparationDeclare Button&
Declare ToolTip&
Declare ToolInfobutton#
Declare Text#
WindowStyle 512 + 16 + 8 + 2
WindowTitle Test
Window 100,100-400,300
Cls
Proc UpdateToolTipText
Parameters FeldHandle&,ToolTipHandle&,Text$
Declare ToolInfoButton#
Dim ToolInfoButton#,40
Clear ToolInfoButton#
Declare Text#
Dim Text#,255
Clear Text#
String Text#,0 = Text$ + @Chr$(0)
Long ToolInfoButton#,0 = 40
Long ToolInfoButton#,4 = $0011
Long ToolInfoButton#,8 = FeldHandle&
Long ToolInfoButton#,12 = FeldHandle&
Long ToolInfoButton#,36 = Text#
~TTF_SUBCLASS $0010
~TTF_IDISHWND $0001
~TTM_UpdateTipText $040C
@SendMessage(ToolTipHandle&,$040C,0,ToolInfoButton#)
Dispose ToolInfoButton#
Dispose Text#
EndProc
Button& = @Create(Button,%hWnd,Klick Me,100,100,200,100)
ToolTip& = @Create(ToolTip,%hWnd,Button&,vor dem Klick)
WhileNot %Key = 2
WaitInput
If %GetFocus = Button&
UpdateToolTipText Button&,ToolTip&,nach dem Klick
EndIf
@SendMessage(ToolTip&,1052,0,0)
TTM_POP
EndWhile
/../Function-References/XProfan/end/'>End
|
|
|
| Viele Grüsse, Georg Hovenbitzer(Windows XP Pro, XProfan 11.2, Profan2Cpp 1.6a) | 11/10/05 ▲ |
|
|
|
|
Michael Wodrich | only on the Rande: Char filling a area with String without Nullbyte-conclusion. String filling a area with String incl. Nullbyte-conclusion. |
|
|
| Programmieren, das spannendste Detektivspiel der Welt. | 11/10/05 ▲ |
|
|
|
|
Georg Hovenbitzer | Hello Michael,
this is The power the habit, ought to I me really time cure |
|
|
| Viele Grüsse, Georg Hovenbitzer(Windows XP Pro, XProfan 11.2, Profan2Cpp 1.6a) | 11/10/05 ▲ |
|
|
|
|
Sebastian König | Hello Georg,
I can whom Error Schonmal confirm . unfortunately I had today yet no Time, to the cause to search - probably login I tommorrow evening again...
To then,
Sebastian |
|
|
| Windows XP, XProfan/Profan² 4.5 bis 11 Profan2Cpp-Homepage: [...] Alte Profan²-Seite: [...] | 11/10/05 ▲ |
|
|
|
|
Sebastian König | Hello Georg,
so, i think, I have it now it was well one small trouble in the function to that create the Tooltips, the itself seltsamerweise only at Changing the Textes noticeable made... I mail you same again a new Lib to that testing.
MfG
Sebastian |
|
|
| Windows XP, XProfan/Profan² 4.5 bis 11 Profan2Cpp-Homepage: [...] Alte Profan²-Seite: [...] | 11/11/05 ▲ |
|
|
|
|
Georg Hovenbitzer | Hello Sebastian,
it works everything, many Thanks, the demonstration as well as the code in the program walk now very well. I have of course yet what other found, aer for make I a new Posting on.
over again many Thanks |
|
|
| Viele Grüsse, Georg Hovenbitzer(Windows XP Pro, XProfan 11.2, Profan2Cpp 1.6a) | 11/12/05 ▲ |
|
|
|