English
SKControl.DLL

ToolTip on SKCtrl's

 

Georg
Hovenbitzer
Hello together,

there a Possibility on The with the DLL begot Controls one ToolTip To link ?
by me works it unfortunately not.
CompileMarkSeparation
 $I SKControl.inc
Def GetSysColor(1) !USER32.DLL,GetSysColor
Declare SKDLL&
Declare Test1&
Declare Test2&
Declare Font&
SKDLL& = @UseDLL(SKControl.dll)
WindowStyle 2 + 8 + 16 + 128 + 256 + 512
Window 0,0-800,600
Cls GetSysColor($0F)
SKCtrl_InitDll()
Font& = @Create(Font,Arinal Narrow,14,0,1,0,0)
Test1& = @Create(Edit,%hWnd,,50,50,220,18)
Test2& = SKCtrl_CreateColorEdit(%hWnd,dfsghshsh,@RGB(0,0,0),@RGB(255,255,255),50,80,220,18,%hInstance)
@Create(ToolTip,%hWnd,Test2&,Hallo)
SetFont Test1&,Font&
SetFont Test2&,Font&

WhileNot %Key = 2

    WaitInput
    SKCtrl_SetColor(Test2&,2,@RGB(213,214,145))
    SKCtrl_SetReadOnly(Test2&,1)

EndWhile

DeleteObject font&
SKCtrl_DeInitDll()
FreeDLL SKDLL&
End
 
Viele Grüsse, Georg Hovenbitzer(Windows XP Pro, XProfan 11.2, Profan2Cpp 1.6a)
04/13/07  
 




Sebastian
König
Hello Georg,

the trouble lying in the internen construction the ColorEdits (normales Edit on weiterem Window). whom ToolTip ought to the normal Edit receive, which lever You with GetWindow(handle&,GW_CHILD) get. I have your Sourcecode time properly adjusted:
CompileMarkSeparation
 $H windows.ph
 $I SKControl.inc
Def GetSysColor(1) !USER32.DLL,GetSysColor
Declare SKDLL&
Declare Test1&
Declare Test2&
Declare Font&
SKDLL& = @UseDLL(SKControl.dll)
WindowStyle 2 + 8 + 16 + 128 + 256 + 512
Window 0,0-800,600
Cls GetSysColor($0F)
SKCtrl_InitDll()
Font& = @Create(Font,Arinal Narrow,14,0,1,0,0)
Test1& = @Create(Edit,%hWnd,,50,50,220,18)
Test2& = SKCtrl_CreateColorEdit(%hWnd,dfsghshsh,@RGB(0,0,0),@RGB(255,255,255),50,80,220,18,%hInstance)
@Create(ToolTip,%hWnd,~GetWindow(Test2&,~GW_CHILD),Hallo)
SetFont Test1&,Font&
SetFont Test2&,Font&

WhileNot %Key = 2

    WaitInput
    SKCtrl_SetColor(Test2&,2,@RGB(213,214,145))
    SKCtrl_SetReadOnly(Test2&,1)

EndWhile

DeleteObject font&
SKCtrl_DeInitDll()
FreeDLL SKDLL&
End

MfG

Sebastian
 
Windows XP, XProfan/Profan² 4.5 bis 11
Profan2Cpp-Homepage:  [...] 
Alte Profan²-Seite:  [...] 
04/14/07  
 




Georg
Hovenbitzer
super works class, many Thanks for speedy response.
 
Viele Grüsse, Georg Hovenbitzer(Windows XP Pro, XProfan 11.2, Profan2Cpp 1.6a)
04/16/07  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

2.702 Views

Untitledvor 0 min.
Erfurt08/04/20
Stephan Sonneborn10/21/19
H.Brill12/30/18
Ernst05/15/16
More...

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