English
C ++ Forum

TTM_UpdateTipText not working

 

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.
CompileMarkSeparation
Declare 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  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

3.290 Views

Untitledvor 0 min.

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie