The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: ToutEnMasm on March 06, 2008, 05:14:54 PM

Title: syslink
Post by: ToutEnMasm on March 06, 2008, 05:14:54 PM

I try to made a syslink control.Is someone have a sample (in c++ or masm) that work ?
Microsoft one don't want to compile.
Title: Re: syslink
Post by: ragdog on March 06, 2008, 05:32:17 PM
hi

mean you this???
http://mariusbancila.ro/blog/?p=57

ragdog
Title: Re: syslink
Post by: ToutEnMasm on March 06, 2008, 06:06:32 PM
Hello,
Yes it is,but it used mfc and i haven't it with the vc++ express and the SDK.
Title: Re: syslink
Post by: ragdog on March 06, 2008, 07:38:38 PM
hi

i hope it is correct :8)

greets
ragdog

[attachment deleted by admin]
Title: Re: syslink
Post by: ToutEnMasm on March 06, 2008, 08:13:38 PM

Very good samples,Many thanks
Title: Re: syslink
Post by: ragdog on March 06, 2008, 08:30:08 PM
here is a link with underline


greets
ragdog

edit:

2 example with Cursor

[attachment deleted by admin]
Title: Re: syslink
Post by: ToutEnMasm on March 10, 2008, 09:45:47 AM
Hello,
The following sample is a real syslink control.
When clic the control send the NM_CLICK message but informations on the NMLINK structure are not returned,stay null.
The sample have all the needed definitions to work.

Answered ,SAMPLE IS UNDER





[attachment deleted by admin]
Title: Re: syslink
Post by: ToutEnMasm on March 10, 2008, 07:09:22 PM
Nobodies reply,so i am the first to find an answer.
The createwindowex use the lpWindowName parameter to pass the text to the syslink control.
This text must be in html format:
Quote
<a href="http://www.microsoft.com/msj/1298/controlspy3/controlspy3.aspx">common controls</a>
begin in data
Quote
example db "<a href=",34,"http://www.microsoft.com/msj/1298/controlspy3/controlspy3.aspx/",34,">common controls</a>",13,10
in the control,we see only "common controls" as in an html page.
clicking the control send a WM_NOTIFY NM_CLICK message,url is passed in UNICODE format.
The control can display any number of url mixed with text.
Sample (corrected) is in the upperĀ  post









Title: Re: syslink
Post by: ragdog on April 30, 2008, 04:59:23 PM
hi ToutEnMasm

i have found a syslink example in masm i hope this is correct


greets
ragdog

[attachment deleted by admin]